- Removed redundant link handling logic in the EntryItemWrapper component.
- Streamlined navigation logic to improve clarity and maintainability.
Signed-off-by: Innei <tukon479@gmail.com>
- Updated multiple components to consistently use getRouteParams() when calling markAllByRoute.
- Enhanced the markAllByRoute function to accept structured data for improved clarity and maintainability.
Signed-off-by: Innei <tukon479@gmail.com>
* 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>