- Integrated `tailwindcss-content-visibility` version 1.0.2 into the project.
- Updated `tailwind.config.ts` to include the new plugin for improved utility management.
- Modified `package.json` files to include the new dependency in both the desktop app and renderer layer.
- Enhanced the `feeds.tsx` component to support sorting functionality for better user experience.
Signed-off-by: Innei <tukon479@gmail.com>
- Updated the ModalInternal component to center the icon within the modal.
- Refactored useFeedActions to utilize new modal hooks for confirming unsubscribe actions and category creation.
- Introduced ConfirmDestroyModalContent and ShortcutModalContent components for better modal management.
- Improved the handling of batch unsubscribe actions in the SettingFeeds component.
- Updated translations for better clarity in user prompts.
Signed-off-by: Innei <tukon479@gmail.com>
- Introduced `useTypeScriptHappyCallback` for improved tab change handling in the mobile settings modal.
- Updated the `Content` component to utilize `useLoaderData` for better data management and added a dynamic `viewportClassName`.
- Simplified the `SettingItemButtonImpl` by removing the `tab` prop and using an `isActive` flag for better clarity in active state management.
Signed-off-by: Innei <tukon479@gmail.com>
- Converted `FeedCategoryAutoHideUnread` to a memoized component for improved rendering efficiency.
- Simplified context menu handling in `FeedItem` by utilizing `useEventCallback` for event handlers.
- Enhanced double-click functionality in `FeedItem` and `ListItem` to use memoized callbacks, improving performance and reducing unnecessary re-renders.
Signed-off-by: Innei <tukon479@gmail.com>
- Replaced instances of `useGlobalFocusableScope` with `useGlobalFocusableScopeSelector` for improved focus state management.
- Updated various components including FeedColumn, Subview, EntryColumn, and FeedItem to utilize the new selector for better performance and clarity.
- Added a new `viewportClassName` property to the SettingPageConfig interface for enhanced configuration options.
Signed-off-by: Innei <tukon479@gmail.com>
- Introduced `useSetGlobalFocusableScope` hook to manage focus scope when the dropdown menu opens and closes.
- Removed the `Focusable` wrapper from the dropdown menu content to streamline rendering.
- Updated the subscription column to utilize `useGlobalFocusableScopeSelector` for better focus state management.
Signed-off-by: Innei <tukon479@gmail.com>
- Removed unused variables and simplified the useEntryActions hook.
- Refactored EntryItemImpl to use memoization for performance optimization.
- Replaced the existing rendering logic in EntryList with a new VirtualRowItem component for better structure and maintainability.
- Consolidated date item rendering into the VirtualRowItem component to enhance clarity and reduce redundancy.
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>
- Reformatted tsconfig.json for better readability.
- Removed unused exports files from internal components.
- Updated package.json files to reflect changes in exports structure and added new paths for schemas and services in the database package.
Signed-off-by: Innei <tukon479@gmail.com>
- Integrated a new button in the About section to allow users to check for application updates.
- Updated localization files to include the new button text.
- Enhanced the app's update handling by importing the checkForAppUpdates function.
Signed-off-by: Innei <tukon479@gmail.com>
- Adjusted button size and styling for improved consistency across the application.
- Modified minimum height of the settings modal for better layout adaptability.
Signed-off-by: Innei <tukon479@gmail.com>
- Introduced a new `useSmoothScroll` hook to encapsulate smooth scrolling logic, improving code reusability.
- Updated `EntryScrollArea` to utilize the new hook, replacing the previous inline smooth scroll implementation.
- Exported the `useSmoothScroll` hook from the hooks index for broader accessibility.
Signed-off-by: Innei <tukon479@gmail.com>
- Added a smooth scrolling feature to enhance user experience when navigating through content.
- Replaced the previous spring scroll implementation with a custom smooth scroll function that adapts duration based on scroll distance.
- Updated scroll event handlers to utilize the new smooth scrolling method for both upward and downward scrolling actions.
Signed-off-by: Innei <tukon479@gmail.com>
- Added double-click event to reset entry and feed column widths to default UI settings.
- Improved resizing logic by storing initial drag position for better handling of resize events.
Signed-off-by: Innei <tukon479@gmail.com>
- Updated icon class names for social media links to include color styles for better visibility in light and dark modes.
- Added a new hotkey configuration option in the Vite setup to improve user experience with customizable shortcuts.
Signed-off-by: Innei <tukon479@gmail.com>
* feat: add video support and enhance media handling in EntryNormalItem
* chore: correct reference name for video view in VideoPlayer component
* fix: remove size class