- Updated CSS for the code highlighter to improve layout and add custom scrollbar styles.
- Refined the Shiki component with a subtle glow effect and improved header layout.
- Adjusted the LoginButton icon size and color for better visibility.
Signed-off-by: Innei <tukon479@gmail.com>
- Refactored LoginModalContent to improve UI/UX with animations and layout adjustments.
- Added login state checks in FeedForm to disable actions for non-logged-in users.
- Updated EntryListHeader to utilize the new useIsLoggedIn hook for better user authentication handling.
Signed-off-by: Innei <tukon479@gmail.com>
- Introduced `requiresLogin` property for menu items and actions across multiple components to enforce user authentication.
- Added `useRequireLogin` hook to manage login checks and modal presentation.
- Updated context menus, action buttons, and settings to utilize the new login guard functionality.
- Enhanced user experience by prompting login where necessary, ensuring actions are only accessible to authenticated users.
Signed-off-by: Innei <tukon479@gmail.com>
- Introduced a new NotLoggedInNotice component to prompt users to log in for syncing subscriptions.
- Updated English, Japanese, and Chinese localization files to include the new notice message.
- Removed commented-out code related to data prefetching in SubscriptionList component for cleaner code.
Signed-off-by: Innei <tukon479@gmail.com>
- Replaced the warning icon with a sad face emoji for better visual representation.
- Removed unnecessary commented-out code in the subscription limit warning.
- Cleaned up the localization message by removing the emoji from the string.
Signed-off-by: Innei <tukon479@gmail.com>
- Updated the subscription limit warning to use the Trans component for better localization support.
- Modified the warning message in the localization file to include HTML elements for improved readability.
Signed-off-by: Innei <tukon479@gmail.com>
- Introduced CategoryUnsubscribeDialogContent for unsubscribing from feeds within a category.
- Added RenameCategoryForm for renaming categories.
- Updated FeedCategory to include options for unsubscribing and renaming categories in the context menu.
- Enhanced localization files to support new dialog messages for unsubscribe and rename actions.
Signed-off-by: Innei <tukon479@gmail.com>
- Introduced ListItemSkeleton for loading states in entry lists.
- Updated EntryList and EntryColumnContent to accept and utilize syncType ("remote" or "local") for better state management.
- Modified EntriesContext to include syncType in the context value.
- Enhanced useEntriesByView hook to determine syncType based on query readiness.
Signed-off-by: Innei <tukon479@gmail.com>
- Removed unused `useSetSettingTab` import from `UpgradePlanModalContent`.
- Updated `SettingModalContent` to improve initial tab resolution and ensure active setting is correctly managed with memoization and effects.
Signed-off-by: Innei <tukon479@gmail.com>
- Simplified the layout of the usage overview card for better visual clarity.
- Removed the `StatCompact` component as it was no longer needed.
- Adjusted the size of the `UsageProgressRing` for a more cohesive design.
- Cleaned up unused variables to streamline the code.
Signed-off-by: Innei <tukon479@gmail.com>
- Changed the `destroy` method in `ZustandChat` to be asynchronous, ensuring proper cleanup with `await`.
- Updated `newChat` and `switchToChat` actions to await the destruction of the old chat instance before creating a new one.
- Initialized `#eventEmitter`, `#status`, and `#error` in `ZustandChatState` constructor for better state management.
Signed-off-by: Innei <tukon479@gmail.com>
- Added logic to control AI panel visibility based on the current view in ChatHeader.
- Enhanced AIEnhancedTimelineLayout to automatically show the AI panel when in 'All' view.
- Refactored imports for better organization and clarity.
Signed-off-by: Innei <tukon479@gmail.com>
- Replaced mouse position tracking with spring-based intensity for smoother animations.
- Introduced multiple transform properties for layered visual effects.
- Improved event handling for pointer movements and visibility of the prompt.
- Cleaned up code for better readability and performance.
Signed-off-by: Innei <tukon479@gmail.com>
- Added a new layout component for timeline pages to handle redirection based on canonical timeline IDs.
- Updated `usePeekModal` to utilize `getTimelineIdByView` for improved URL generation in modal navigation.
- Enhanced the overall routing logic for better user experience and consistency in timeline navigation.
Signed-off-by: Innei <tukon479@gmail.com>
- Integrated subscription view retrieval in usePeekModal for improved modal routing.
- Updated AnimatedMarkdown to utilize subscription view when navigating entries.
- Cleaned up EntryContentForPreview by removing unnecessary class names for better styling consistency.
Signed-off-by: Innei <tukon479@gmail.com>