Commit Graph
293 Commits
Author SHA1 Message Date
Stephen Zhou 1ad0312674 fix: remove coop & coep header, use localStorage for web for now 2025-06-13 23:42:40 +08:00
Innei 1ac1d464cf fix: mobile subview overflow, fixed #3886
- Updated the renderItem and renderValue props in the Recommendations and Trending components to improve clarity and consistency in rendering.
- Adjusted layout structure in the Trending component for better responsiveness and alignment.

Signed-off-by: Innei <tukon479@gmail.com>
2025-06-13 23:18:27 +08:00
Innei b6bccdf820 refactor: update layout structure in SubviewLayout and enhance renderValue type in ResponsiveSelect
- Modified SubviewLayout to use a div wrapper for improved layout management and added overflow handling.
- Updated the renderValue prop type in ResponsiveSelect to accept a ResponsiveSelectItem instead of a string for better type safety.

Signed-off-by: Innei <tukon479@gmail.com>
2025-06-13 23:18:27 +08:00
0-o0 3578188e02 fix(ssr):can't follow system theme switch issuse (#3917) 2025-06-13 22:59:48 +08:00
Stephen Zhou 65ebf9ef93 fix: sqlite wasm in electron production (#3920) 2025-06-13 22:12:07 +08:00
Innei d6bdcee6a9 fix: hide entry navigation button in no timeline view
- Updated import statement for FeedViewType to use a named import.
- Introduced a new constant, isInHasTimelineView, to determine if the current view supports timeline features.
- Modified rendering logic to conditionally display elements based on the new timeline view check.

Signed-off-by: Innei <tukon479@gmail.com>
2025-06-13 21:55:47 +08:00
Innei cf72753b59 feta: redesign image previewer, fixed #3884
- Removed unused response header configuration from Vite render config.
- Simplified the media preview component structure by removing unnecessary state and props.
- Enhanced the image loading experience with a new DOMImageViewer for better zoom functionality.
- Updated FeedIcon component to utilize the replaceImgUrlIfNeed utility for image URLs.
- Adjusted styles and properties for improved UI consistency and performance.

Signed-off-by: Innei <tukon479@gmail.com>
2025-06-13 21:52:54 +08:00
Innei ec0d861eb1 refactor: optimize entry selection in ListItem component
Signed-off-by: Innei <tukon479@gmail.com>
2025-06-13 19:57:21 +08:00
Stephen Zhou 24ae0655ab fix: sort entries by publishedAt and insertedAt 2025-06-13 11:31:04 +08:00
Innei 9801006cb7 refactor: electron bundle all language to fix #3909
- Introduced a new look for personal profiles with added social attribute settings.
- Enhanced AI summarization with a new animation and improved performance.
- Fixed various bugs reported by the community to enhance overall user experience.

Signed-off-by: Innei <tukon479@gmail.com>
2025-06-13 00:55:22 +08:00
Innei 70255af458 refactor(dock): implement PollingManager for unread count updates, fixed #3891
- Removed redundant polling logic from DockService and replaced it with a PollingManager class to handle polling operations more efficiently.
- Updated the setting-sync provider to utilize the new polling mechanism for managing dock badge updates.
- Cleaned up unused setDockBadge method from SettingService.

Signed-off-by: Innei <tukon479@gmail.com>
2025-06-12 21:20:46 +08:00
Innei 20d8590c58 fix(auth): add support for dark mode icons in login components
- Introduced `iconDark64` property to `AuthProvider` interface for dark mode icon support.
- Updated `LoginModalContent` and `Login` components to conditionally render dark mode icons based on the current theme.

Signed-off-by: Innei <tukon479@gmail.com>
2025-06-12 21:06:15 +08:00
Innei a42ae14278 feat(settings): add 'Hide Extra Badge' option to appearance settings and update translations
Signed-off-by: Innei <tukon479@gmail.com>
2025-06-12 21:03:45 +08:00
Konv Suu 37ec87b121 fix(discover): borken style in discover page (#3905) 2025-06-12 16:49:31 +08:00
Stephen Zhou 52dd557d3d refactor(desktop): remove old database and service (#3911) 2025-06-12 15:58:47 +08:00
Stephen Zhou f928707264 feat(desktop): export sqlite database 2025-06-12 15:33:28 +08:00
Stephen Zhou b9936b87d6 fix: bring back changes in create and update list 2025-06-12 14:03:47 +08:00
Stephen Zhou 8d6489f605 refactor: remove duplicated fetchEntryContentByStream 2025-06-11 22:55:44 +08:00
Stephen Zhou f325da0c31 fix(desktop): translate content for social media 2025-06-11 13:22:19 +08:00
Stephen Zhou d3f889a42d refactor(desktop): use translation and readability from shared store (#3902) 2025-06-11 12:36:26 +08:00
Stephen Zhou 784a95cff1 refactor(desktop): use database and store from shared package (#3897) 2025-06-11 11:36:25 +08:00
Innei d3b65ac033 fix(language-selector):remove language description label on onboarding modal
- Updated LanguageSelector component to include a showDescription prop, allowing conditional rendering of the language description.
- Modified the Intro component to set showDescription to false, streamlining the user interface in the new user guide.

Signed-off-by: Innei <tukon479@gmail.com>
2025-06-11 00:50:37 +08:00
Innei 0fd9298f20 fix(desktop): fix switch sub hotkey scope
- Renamed FeedColumn to SubscriptionColumn for consistency and clarity.
- Updated imports and component references throughout the subscription column module.
- Introduced new SubscriptionColumnHeader, SubscriptionList, and SubscriptionTabButton components to enhance functionality and organization.
- Removed the deprecated TimelineList component to streamline the codebase.

Signed-off-by: Innei <tukon479@gmail.com>
2025-06-11 00:04:04 +08:00
Innei 228b4b09ae feat(profile): redesign user profile modal
- Introduced a new ListCard component to display user-created lists with relevant details.
- Updated user data handling to include image and improved structure for user information.
- Refactored the UserProfileModalContent to streamline rendering of user info, lists, and subscriptions.
- Removed unnecessary state management and improved overall layout for better user experience.

Signed-off-by: Innei <tukon479@gmail.com>
2025-06-10 23:43:20 +08:00
Innei c7607dec09 fix: unfollow before list delete
- Replaced object key checks with direct array length checks for list and inbox subscriptions to enhance performance and readability.
- Updated components to utilize the new subscription ID variables for improved clarity in data management.
- Removed unnecessary list invalidation after deletion to simplify the mutation success flow.

Signed-off-by: Innei <tukon479@gmail.com>
2025-06-10 21:51:17 +08:00
Innei d39f95c5b3 fix(desktop): can update list after create list
- Replaced grouped data hooks with direct ID retrieval for lists and inboxes to simplify data management.
- Updated related components to utilize the new hooks for improved performance and clarity.
- Enhanced list creation and update logic to utilize centralized actions for better maintainability.

Signed-off-by: Innei <tukon479@gmail.com>
2025-06-10 21:45:56 +08:00
Cason Kervis e03d1ec872 fix(profile): fix input box not fully width (#3898)
* fix(profile): fix input box not fully width

* fix: update translate
2025-06-10 20:17:50 +08:00
huanfei ad7d191b74 fix: adjust some style (#3896)
* feat: adjust style

* fix: preview button line break
2025-06-10 20:16:50 +08:00
Innei 4d7c01c68c refactor(profile): simplify user profile modal layout and enhance user info display
- Removed unnecessary state management for header simplicity and scroll handling.
- Updated user info display to include bio, website, and social links in a more structured layout.
- Integrated follow button functionality for users to follow others directly from the profile modal.
- Improved overall styling and organization of the user profile modal for better user experience.

Signed-off-by: Innei <tukon479@gmail.com>
2025-06-10 00:28:06 +08:00
Innei b934d65a7b chore(profile): extract social media constants and functions into a separate module
- Created a new constants file for social media icons and links to improve code organization and reusability.
- Updated the user profile modal components to utilize the new constants and functions for rendering social links.
- Refactored social link handling to streamline the process of generating URLs based on user data.

Signed-off-by: Innei <tukon479@gmail.com>
2025-06-10 00:13:58 +08:00
Innei 507a525965 feat(profile): add user profile with bio, website, and social links
- Added fields for user bio, website, and social links (Twitter, GitHub, Instagram, Facebook, YouTube, Discord) in the profile settings form.
- Updated the user profile modal to display bio, website, and social links.
- Improved email management UI for better layout and user experience.
- Introduced new translations for the added fields in the settings locale.

Signed-off-by: Innei <tukon479@gmail.com>
2025-06-10 00:08:25 +08:00
Stephen Zhou f0cdcaaac0 Revert "chore: ignore type error for now"
This reverts commit 051ac49831.
2025-06-09 23:37:53 +08:00
Stephen Zhou 051ac49831 chore: ignore type error for now 2025-06-09 23:36:46 +08:00
Innei 9f63483332 feat(upgrade): add linkifyChangelog utility and update changelog rendering
- Introduced a new utility function `linkifyChangelog` to convert commit hashes, issue/PR numbers, and contributor mentions into clickable links.
- Updated the `AppNotificationContainer` to utilize the new utility for rendering the changelog in both development and production environments.
- Modified the `Paper` component styling for improved visual consistency.

Signed-off-by: Innei <tukon479@gmail.com>
2025-06-09 22:31:18 +08:00
Konv Suu 7db6dd277a refactor(desktop): update import to use shared utils module (#3892) 2025-06-09 14:34:44 +08:00
Konv Suu c578bda828 fix(desktop): update unread count labels and descriptions for appearance settings (#3893) 2025-06-09 14:34:17 +08:00
DIYgod 8f37d441f2 Merge pull request #3883 from RSSNext/sync/main-to-dev-20250608
Sync main branch to dev branch
2025-06-08 10:11:57 +08:00
Innei e0ff343ac0 feat(settings): enhance data export functionality and UI improvements
- Updated the data control settings to include a new export data feature with improved UI elements.
- Refactored the modal dialog to utilize the new `useDialog` hook for confirmation prompts.
- Enhanced localization strings for clarity and consistency in export-related descriptions.
- Added success feedback for cache cleaning actions to improve user experience.

Signed-off-by: Innei <tukon479@gmail.com>
2025-06-07 01:48:03 +08:00
Innei e05fc74ca3 feat(settings): enhance appearance settings with descriptions and layout adjustments
- Added descriptions to various appearance settings for improved user understanding.
- Refactored layout to utilize `SettingItemGroup` for better organization and visual clarity.
- Updated the `SettingTabbedSegment` to include an optional description prop.
- Introduced a new `GlobalFontSize` component to manage overall text size settings.

Signed-off-by: Innei <tukon479@gmail.com>
2025-06-07 01:37:54 +08:00
Innei 2438f072fd feat(modal): Add some settings to enable two-factor authentication when turning on
- Introduced visual style variants ("ask", "warning", "danger") for the confirmation dialog in the modal component.
- Updated the `ask` method to accept a variant option, allowing for customized icon and button styles based on the selected variant.
- Enhanced the dialog's title rendering to include variant-specific icons for better user experience.
- Updated type definitions to include the new variant option for the dialog instance.

Signed-off-by: Innei <tukon479@gmail.com>
2025-06-07 01:00:10 +08:00
Innei 02763ff8d4 chore(settings): add descriptions to appearance settings and adjust layout
- Introduced descriptions for various appearance settings to enhance user understanding.
- Adjusted layout widths for better alignment in the General settings.
- Updated localization files to include new descriptions and modified existing ones for clarity.

Signed-off-by: Innei <tukon479@gmail.com>
2025-06-07 00:10:28 +08:00
Innei 2ed9f70e20 feat(settings): enhance UI labels and descriptions for clarity
- Updated various settings components to use title-cased labels for better readability.
- Added descriptions for action-related settings to improve user understanding.
- Adjusted localization strings to reflect new label structures and descriptions.

Signed-off-by: Innei <tukon479@gmail.com>
2025-06-06 23:36:17 +08:00
Innei de6a027196 fix(desktop): update share panel to include entryId in dependencies for URL generation
- Modified the SharePanel component to include entryId in the dependency array of the useCallback hook for improved URL handling.
- Updated localization strings to change "Follow" to "Folo" in both English and Chinese translations for consistency.

Signed-off-by: Innei <tukon479@gmail.com>
2025-06-06 20:21:10 +08:00
Innei 059ab9d996 refactor(desktop): update SharePanel and UrlBuilder for improved share URL handling
- Refactored SharePanel to retrieve the share URL directly from the entry data.
- Enhanced UrlBuilder with a new method for generating share URLs that includes view and subscription parameters.
- Updated the shareEntry method to utilize the new structure for better flexibility.

Signed-off-by: Innei <tukon479@gmail.com>
2025-06-06 18:43:45 +08:00
Innei a4ad4bf661 feat(desktop): enhance SharePanel with dedicated share URL generation
- Introduced a new method in UrlBuilder for generating share URLs for entries.
- Updated SharePanel to utilize the new share URL method for improved clarity and maintainability.

Signed-off-by: Innei <tukon479@gmail.com>
2025-06-06 17:35:16 +08:00
Innei c00a7bc778 fix(desktop): update import path for EntryColumnMobile to timeline-column
Signed-off-by: Innei <tukon479@gmail.com>
2025-06-06 17:09:48 +08:00
Innei ab2466f638 fix(desktop): update share URL generation to use environment variable for web URL
Signed-off-by: Innei <tukon479@gmail.com>
2025-06-06 16:55:50 +08:00
Stephen Zhou e11bac5d0a fix(desktop): return null for query data 2025-06-06 16:37:16 +08:00
Stephen Zhou 7235a6d354 fix(desktop): correct content length for readability content 2025-06-06 16:29:34 +08:00
Stephen Zhou 98ef84b8fa fix(desktop): use entry text content length for summary 2025-06-06 16:17:42 +08:00