- Updated various package dependencies across the project, including @sentry/react, @tanstack/react-query, and others to their latest versions for improved performance and security.
- Enhanced type safety in several components by refining type definitions, particularly in motion-related imports.
- Adjusted transition configurations to utilize new presets for smoother animations.
Signed-off-by: Innei <tukon479@gmail.com>
- Introduced a new plugin to generate React Router routes from a file system-based structure, enhancing routing capabilities similar to Next.js.
- Updated various configurations and components to integrate the new plugin, including automatic route generation during build time.
- Refactored existing router implementations to utilize generated routes, improving maintainability and performance.
Signed-off-by: Innei <i@innei.in>
Signed-off-by: Innei <tukon479@gmail.com>
- Added a new utility function `copyToClipboard` to handle clipboard operations with error handling.
- Refactored existing clipboard interactions across various components and hooks to utilize the new utility function.
- Introduced import/export functionality for action rules, allowing users to copy rules to clipboard and import from clipboard.
- Enhanced user feedback with toast notifications for clipboard actions.
This update improves code reusability and user experience when interacting with the clipboard.
Signed-off-by: Innei <tukon479@gmail.com>
- Refactored SharePanel to retrieve the share URL directly from the entry data.
- Enhanced UrlBuilder with a new method for generating share URLs that includes view and subscription parameters.
- Updated the shareEntry method to utilize the new structure for better flexibility.
Signed-off-by: Innei <tukon479@gmail.com>
- Introduced a new method in UrlBuilder for generating share URLs for entries.
- Updated SharePanel to utilize the new share URL method for improved clarity and maintainability.
Signed-off-by: Innei <tukon479@gmail.com>
- Updated the control key naming in the SpecialKeys object for Windows, macOS, and Linux to ensure consistency.
- Modified the transformShortcut function to replace "$mod" with "Control" instead of "Ctrl" for better clarity.
- Adjusted the key sorting order to reflect the updated naming convention.
Signed-off-by: Innei <tukon479@gmail.com>
- Changed the shortcut for toggling Zen mode to use "Shift+$mod+Z".
- Removed redundant sorting functions from SettingShortcuts and moved sorting logic to utils.
- Enhanced the sorting utility for shortcut keys to ensure consistent ordering of modifier keys.
- Updated GlobalHotkeysProvider to utilize the new sorting logic and added a check for normal layer focus.
Signed-off-by: Innei <tukon479@gmail.com>
- Added new focusable presets for timeline and entry render states.
- Introduced a custom hook `useContextMenuActionShortCutTrigger` to manage context menu shortcuts based on focusable states.
- Updated various components to utilize the new focusable presets and context menu shortcuts for improved user interaction.
Signed-off-by: Innei <tukon479@gmail.com>
- Removed unnecessary requestAnimationFrame handling to simplify the scroll animation process.
- Enhanced the stopping condition for animations to ensure smoother transitions during scrolling.
These changes improve the efficiency and responsiveness of the scrolling behavior.
Signed-off-by: Innei <tukon479@gmail.com>
- Introduced a reference for scroll animations to manage their lifecycle more effectively.
- Updated the cleanup logic to stop ongoing animations when scrolling actions are triggered.
- Enhanced the scroll behavior by ensuring animations are properly halted before new scroll actions are initiated.
These changes aim to provide a smoother user experience during content transitions.
Signed-off-by: Innei <tukon479@gmail.com>
- Updated EventBus dispatch calls in layout commands to include a highlightBoundary parameter for better focus control.
- Modified EntryItemWrapper to dispatch focus command with highlightBoundary set to false after a timeout.
- Adjusted GlobalHotkeysProvider to dispatch focus commands with highlightBoundary set to true for improved user experience.
Signed-off-by: Innei <tukon479@gmail.com>
- Removed the `$mod` replacement for `Meta` in shortcut handling to ensure proper cross-platform functionality.
- Introduced new commands for "Open in Browser" and "Open Site in Browser" with corresponding shortcuts.
- Updated the `useFeedActions` and `useListActions` hooks to utilize the new command shortcuts.
- Improved the `transformShortcut` function for better platform-specific shortcut handling.
Signed-off-by: Innei <tukon479@gmail.com>
- Introduced `useCommandBinding` to streamline the registration of command hotkeys.
- Added new entry navigation commands for scrolling to the next and previous entries.
- Updated existing components to utilize the new command binding approach, improving consistency and maintainability.
- Refactored shortcut handling to support new entry render commands, enhancing user experience.
This update aims to improve the overall efficiency of command and shortcut management in the application.
Signed-off-by: Innei <tukon479@gmail.com>
- Added '@follow-app/readability' to the project and updated its import paths.
- Removed the obsolete readability utility from internal utils.
- Updated pnpm-lock.yaml to reflect new dependencies, including '@mozilla/readability' and adjustments to optional dependencies.
- Modified package.json files to include new dependencies and ensure proper workspace linking.
Signed-off-by: Innei <tukon479@gmail.com>
- Deleted obsolete configuration files and unused components across various packages.
- Updated package.json files to reflect the removal of dependencies.
- Cleaned up code by removing unnecessary exports and unused imports in multiple modules.
Signed-off-by: Innei <tukon479@gmail.com>