* fix(desktop): improve action bar's visibility logic
* feat: hide the action bar when menu is open and click outside
* chore: comment
* chore: transition
* chore: update
- Implemented a new function to check if the current focus is within an iframe or webview.
- Enhanced the FocusableGuardProvider to prevent focus management when inside an iframe or webview.
Signed-off-by: Innei <tukon479@gmail.com>
- Updated FeedIcon component to remove margin and added noMargin prop for better alignment.
- Modified description span to include padding for improved spacing.
Signed-off-by: Innei <tukon479@gmail.com>
- Added functionality to fetch and save image dimensions from entries.
- Introduced type definitions for images to improve type safety.
- Included console logging for debugging item dimensions in MasonryItemFixedDimensionWrapper.
Signed-off-by: Innei <tukon479@gmail.com>
- Modified the EntryCommandShortcutRegister component to accept a view parameter of type FeedViewType.
- Updated the EntryContent component to pass the view prop to EntryCommandShortcutRegister.
- Adjusted the StarCommand type definition to require the view parameter.
Signed-off-by: Innei <tukon479@gmail.com>
- Removed the deprecated `components.tsx` file and its associated code.
- Updated imports in `EntryContent.tsx` to reflect new component structure.
- Simplified command binding logic in `EntryHeaderActions` by removing unused hooks.
- Adjusted shortcut handling for command buttons to disable trigger shortcuts globally.
Signed-off-by: Innei <tukon479@gmail.com>
- Introduced a new setting 'dimRead' to allow users to diminish the color of read entries in the timeline.
- Updated the ListItem component to apply the dimming effect based on the new setting.
- Added corresponding translations for the new setting in the English locale.
- Set default value for 'dimRead' to false in the general settings defaults.
Signed-off-by: Innei <tukon479@gmail.com>
- Commented out console logging in the handleClick function to clean up the code and reduce unnecessary output during click events.
- This change maintains the functionality while improving the overall readability of the code.
Signed-off-by: Innei <tukon479@gmail.com>
- Introduced console logging in the handleClick function to track navigation decisions and entry details.
- This addition aids in debugging navigation logic by providing insights into the entryId and feedId during click events.
Signed-off-by: Innei <tukon479@gmail.com>
- Renamed `navigateEntry` to `getNavigateEntryPath` for better clarity on its purpose.
- Introduced a memoized `navigationPath` in `EntryItemWrapper` to optimize path generation.
- Updated the navigation logic to utilize the new function, improving code organization and readability.
Signed-off-by: Innei <tukon479@gmail.com>
- 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>
- Renamed the plugin from '@follow/vite-plugin-route-builder' to '@follow-app/vite-plugin-route-builder' for better clarity.
- Added support for synchronous loading of components with the new '.sync.tsx' file extension.
- Enhanced the route generation logic to accommodate custom segment group ordering.
- Updated package dependencies and configurations, including the addition of test scripts and improved documentation.
Signed-off-by: Innei <tukon479@gmail.com>
- Updated the Toaster component to improve styling and functionality, including new toast options and class names for better customization.
- Introduced a custom transformer for the 'tw' function to compress template strings, optimizing the handling of template literals.
Signed-off-by: Innei <tukon479@gmail.com>
- Updated the onActivate method in LifecycleManager to ensure the main window is shown and focused when activated, improving user experience.
- Added import for LifecycleManager in bootstrap.ts to support the new functionality.
Signed-off-by: Innei <tukon479@gmail.com>