Commit Graph
275 Commits
Author SHA1 Message Date
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
Innei 5a53e6f46e feat: replace number formatting with formatNumber utility across discover and feed components for improved readability
Signed-off-by: Innei <tukon479@gmail.com>
2025-06-06 14:15:07 +08:00
Innei fc16118891 feat: implement subscription column layout for desktop and mobile, including responsive components and user interface enhancements
Signed-off-by: Innei <tukon479@gmail.com>
2025-06-06 13:49:17 +08:00
Innei 85122fba5b feat(toolbar): simply default entry tool commands
- Updated entry command labels to include titles and descriptions for better clarity.
- Modified the main actions in the toolbar to reflect the new command structure.
- Improved the DroppableContainer component by removing unnecessary props.
- Added new localization strings for image gallery and view source content actions.

Signed-off-by: Innei <tukon479@gmail.com>
2025-06-05 22:44:46 +08:00
Innei 49b876f32f fix(tracker): refactor user property management and language detection
- Updated analytics initialization to append user properties more effectively.
- Changed PostHog configuration to always identify person profiles.
- Introduced methods in TrackerManager for managing user properties, including appending and clearing.
- Improved sign-out process to clear user properties from the tracker.

Signed-off-by: Innei <tukon479@gmail.com>
2025-06-05 22:18:02 +08:00
Innei 726a312545 feat(tracker): integrate PostHog analytics and enhance tracking capabilities (#3862)
- Added PostHog as a new tracking adapter for improved analytics.
- Updated the analytics initialization to include PostHog configuration.
- Refactored the tracking manager to support batch processing and error handling.
- Enhanced the existing tracking logic to accommodate new event types and properties.
- Updated environment variables to include PostHog keys for configuration.
- Added new rules and documentation for the tracking system.

Signed-off-by: Innei <tukon479@gmail.com>
2025-06-05 21:54:58 +08:00
DIYgod 8d75bfb354 fix: types 2025-06-05 20:41:23 +08:00
DIYgod 7193a1223f fix: types 2025-06-05 20:37:13 +08:00
DIYgod 2c27d91aaa feat(mobile): show analytics in feed form 2025-06-05 19:30:08 +08:00
DIYgod 6a51c8f341 feat(mobile): optimize rsshub form screen 2025-06-05 18:40:12 +08:00
Stephen Zhou 56dadac46e refactor(desktop): use action store (#3868) 2025-06-05 00:57:38 +00:00
Innei e5e474b987 fix: update shortcut key bindings and improve sorting utility
- Changed the shortcut for toggling Zen mode to use "Shift+$mod+Z".
- Removed redundant sorting functions from SettingShortcuts and moved sorting logic to utils.
- Enhanced the sorting utility for shortcut keys to ensure consistent ordering of modifier keys.
- Updated GlobalHotkeysProvider to utilize the new sorting logic and added a check for normal layer focus.

Signed-off-by: Innei <tukon479@gmail.com>
2025-06-04 20:16:40 +08:00
Innei 397365c508 feat(desktop): implement popover for sharing entries with social media options
- Added a new Popover component to display sharing options for entries.
- Created SharePanel component to handle different sharing actions, including native sharing and copying links.
- Integrated mouse position tracking to position the popover correctly.
- Updated entry action commands to utilize the new sharing functionality.
- Added new icons for social media platforms and updated localization files for share-related texts.

Signed-off-by: Innei <tukon479@gmail.com>
2025-06-04 18:57:00 +08:00
DIYgod 18b22b203f feat: update copywriting 2025-06-04 18:52:43 +08:00
Stephen Zhou 80b36b5408 fix(desktop): auto enable readability 2025-06-04 16:41:51 +08:00
Stephen Zhou 0a167ac557 fix(desktop): sort local entires by publishedAt 2025-06-04 15:12:27 +08:00
DIYgod 2a4dde01b2 fix(desktop): entry media not updated 2025-06-04 13:02:48 +08:00
Innei 496b1d65b2 refactor: replace tipc to ipcServices (#3863)
* init

* refactor: remove @egoist/tipc integration and clean up IPC services

- Deleted references to @egoist/tipc, including related imports and methods.
- Refactored IPC services to utilize decorators for method registration.
- Updated renderer to use new IPC method calls directly.
- Cleaned up unused files and dependencies related to tipc.
- Enhanced the structure of IPC services for better maintainability.

Signed-off-by: Innei <tukon479@gmail.com>

* refactor: replace tipcClient with ipcServices and clean up IPC integration

- Removed all instances of tipcClient and replaced them with ipcServices for improved IPC method calls.
- Deleted the obsolete ipc-client.ts file and related references.
- Updated various components and hooks to utilize the new ipcServices structure.
- Enhanced type safety and maintainability of IPC service interactions.

Signed-off-by: Innei <tukon479@gmail.com>

---------

Signed-off-by: Innei <tukon479@gmail.com>
2025-06-03 23:12:48 +08:00
DIYgod 47e07a4cc3 feat(desktop): copy and paste login token 2025-06-03 20:57:23 +08:00