Commit Graph
4944 Commits
Author SHA1 Message Date
lawvs 86b2d083fb fix: wrap code highlight theme selector in a view for layout consistency 2025-06-08 03:22:19 +08:00
lawvs 3be9af23d7 fix: lint 2025-06-08 02:54:45 +08:00
Innei 3b3f280463 chore: adjust copy
Signed-off-by: Innei <tukon479@gmail.com>
2025-06-07 20:54:27 +08:00
lawvs 0f68ecadba fix: ensure pager list is always visible on Android to prevent blank screen 2025-06-07 03:39: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 83697ce3fe fix(entry-list): ThumbnailImage border radius
- Added conditional class handling for ThumbnailImage to manage height based on thumbnail ratio.
- Simplified AspectRatioImage structure by removing unnecessary nested View and consolidating Image properties.
- Enhanced readability and maintainability of the code.

Signed-off-by: Innei <tukon479@gmail.com>
2025-06-07 00:36:14 +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
lawvs 156917205f chore: increase transition duration for fade animation 2025-06-06 16:07:16 +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 bdb6802485 feat(mobile): show sub count in trending 2025-06-05 20:34:10 +08:00
DIYgod 6ac63065c9 fix: types 2025-06-05 20:24:09 +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
DIYgod e88eb0fd2e fix(mobile): markdown error 2025-06-05 13:47:49 +08:00
DIYgod 9c3457a29e feat(mobile): rsshub routes sorting 2025-06-05 13:22:36 +08:00
Stephen Zhou 56dadac46e refactor(desktop): use action store (#3868) 2025-06-05 00:57:38 +00:00
lawvs 761aa97a72 chore: ensure staleTime is set for prefetch entries query 2025-06-05 02:14:49 +08:00
Innei 1806c12760 feat(ssr): redesign share page
Signed-off-by: Innei <tukon479@gmail.com>
2025-06-05 00:53:57 +08:00
Innei 6981be9480 feat(ssr): implement custom 404 page and enhance error handling
- Replaced the existing NotFound component with a new 404 page featuring animations and improved user experience.
- Updated routing to utilize the new 404 component for better error handling.
- Introduced a NotFoundError class and a callNotFound function to streamline error management across the application.
- Refactored metadata fetching to handle not found scenarios gracefully.

Signed-off-by: Innei <tukon479@gmail.com>
2025-06-05 00:18:16 +08:00
Innei 3a5c66876f feat: introduce global constants and enhance metadata handling
- Added a new module to define global constants, including the application name.
- Updated the SSR index to initialize global constants on server start.
- Enhanced metadata handling in user metadata to include dynamic descriptions based on user subscriptions.
- Improved the Open Graph and hydration metadata structure for better SEO and user experience.
- Refactored user subscriptions query to group subscriptions by category for better organization.

Signed-off-by: Innei <tukon479@gmail.com>
2025-06-04 23:12:45 +08:00
Innei 9dd5109bf8 fix: standardize control key naming across platforms, fixed #3860
- Updated the control key naming in the SpecialKeys object for Windows, macOS, and Linux to ensure consistency.
- Modified the transformShortcut function to replace "$mod" with "Control" instead of "Ctrl" for better clarity.
- Adjusted the key sorting order to reflect the updated naming convention.

Signed-off-by: Innei <tukon479@gmail.com>
2025-06-04 20:20:45 +08: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
Stephen Zhou dd0b4a93cb chore: fix missing locales key 2025-06-04 19:13:27 +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
DIYgod 6f437bf780 fix: bottom tabbar background on initial load (#3867) 2025-06-04 16:50:28 +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
Stephen Zhou 0f34e5b267 refactor: merge auth client type 2025-06-04 11:59:45 +08:00
Stephen Zhou f88bc049de fix(mobile): share button position and status bar in modal 2025-06-04 11:07:40 +08:00
Stephen Zhou 75c9f80467 fix(mobile): profile share button position 2025-06-04 10:52:23 +08:00
Stephen Zhou aabdcb311f fix(mobile): filter icon color 2025-06-04 10:32:05 +08:00
Stephen Zhou c7be63bdf4 fix(mobile): icon color in dark mode 2025-06-04 10:20:54 +08:00
Stephen Zhou 113cb6d886 fix(mobile): translation hydration 2025-06-04 09:52:27 +08:00
Stephen Zhou c601752e55 fix(mobile): clean outdated data when hydrating 2025-06-04 09:43:10 +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
Innei 5bbd96ed90 fix: share menu in other system, resolves FOL-2507
Signed-off-by: Innei <i@innei.in>
2025-06-03 20:20:52 +08:00
Stephen Zhou 939562d678 refactor: force selector for useEntry (#3859) 2025-06-03 17:33:31 +08:00
lawvs ce3a23bf62 refactor: reorg image saving and sharing logic to use utility functions 2025-06-03 16:53:38 +08:00
2ee4c5f87b feat(corner-player): use the episode cover first, instead of the feed cover (#3855)
* feat(corner-player): use episode cover first instead of feed cover

* fix(eslint): fix missing dependency eslint problem

playerOpenAt is a const in component life cycle, but eslint warning it.
it should have no effct, just let eslint never warning.

* fix: ensure absolute view in AISummary component takes full width

* fix(rsshub): update label text from 'Follow' to 'Folo'

fix(rsshub): update label text from 'Follow' to 'Folo'

* feat(ssr): fetch more entries by feed api

* feat(desktop): enhance rsshubAnalytics query to support language filtering

---------

Co-authored-by: lawvs <18554747+lawvs@users.noreply.github.com>
Co-authored-by: DIYgod <i@diygod.me>
2025-06-03 16:36:45 +08:00
Whitewater 82fb9ce1dc fix: pager should not flicker when scrolling fast(#3858)
* fix: correct initialPageIndex assignment

* chore: optimize event handlers with useCallback
2025-06-03 11:32:16 +08:00