- 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>
- Consolidated update decision logic into a new method for better readability and maintainability.
- Updated fallback logic to utilize the new method when distribution update info is unavailable.
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>