Commit Graph
212 Commits
Author SHA1 Message Date
Innei 62fc0a0cb1 feat: customize shortcuts (#3786)
* refactor: update command categories and labels for consistency

- Replaced existing command categories with more descriptive names such as "Entry Render", "Global", "Integration", "Layout", "List", "Settings", "Timeline", and "Subscription".
- Updated command labels to remove unnecessary prefixes, enhancing clarity and uniformity across the application.
- Adjusted imports to include the new CommandCategory type for better type safety.

This refactor improves the organization and readability of command definitions, contributing to a more intuitive user experience.

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

* update

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

* update

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

* update

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

* feat: enhance command shortcut customization and recording functionality

- Added a new hotkey scope for recording commands.
- Introduced a mechanism to override command shortcuts using local storage.
- Implemented a key recorder for capturing user-defined shortcuts with validation rules.
- Updated the UI for editing command shortcuts, allowing users to customize their key bindings more intuitively.

This enhancement improves user experience by providing more flexibility in managing command shortcuts.

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

* feat: enhance command shortcut customization by adding new commands

- Updated the default command shortcut for toggling the timeline column.
- Expanded the set of customizable commands to include various subscription and entry actions, improving user flexibility in managing shortcuts.

This update enhances the customization capabilities for command shortcuts, allowing users to tailor their experience more effectively.

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

* refactor: scope

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

* feat: add global commands for quick add and toggle corner play

- Introduced new global commands: "Quick Add" and "Toggle Corner Play" with associated keyboard shortcuts.
- Updated command IDs and types to accommodate the new functionalities.
- Enhanced the event bus integration for better command handling.

This update improves user interaction by providing quick access to essential features through keyboard shortcuts.

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

* refactor: remove unused hotkey scope and streamline command bindings

- Deleted the `useSwitchHotkeyScope` hook and its references to simplify the hotkey management.
- Updated command bindings to ensure they function correctly without the removed scope.
- Enhanced the logic for determining when commands should be active based on the current focus and active scopes.

This refactor improves the clarity and efficiency of the command handling system, reducing unnecessary complexity.

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

* feat: add shortcut conflict detection and enhance shortcut customization UI

- Introduced a new hook `useIsShortcutConflict` to check for conflicts between user-defined shortcuts and existing ones.
- Updated the `EditableCommandShortcutItem` component to visually indicate when a shortcut is customized by the user.
- Enhanced the `ShortcutInputWrapper` to display conflict warnings and improve user interaction when editing shortcuts.

This update improves the user experience by allowing users to easily identify and resolve shortcut conflicts, enhancing the overall customization capabilities of command shortcuts.

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

* feat: update command structure and enhance shortcut descriptions

- Changed the command ID for toggling the timeline column to toggle the subscription column for better clarity.
- Updated command labels to include descriptions for various commands, improving user understanding of their functionalities.
- Enhanced localization files to reflect the new command descriptions, ensuring a consistent user experience across different languages.

This update improves the usability of command shortcuts by providing clearer descriptions and a more intuitive command structure.

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

* feat: introduce new keyboard shortcuts system

- Added a comprehensive command shortcut system that supports multiple categories including global operations, layout controls, timeline navigation, content rendering, subscription management, and entry actions.
- Users can access and customize key bindings through `Settings` -> `Shortcuts`.

This enhancement improves user efficiency by providing a structured way to manage keyboard shortcuts.

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

* refactor

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

* feat: enhance focusable component with presets for improved command handling

- Introduced `FocusablePresets` to encapsulate common focus-related logic, improving code reusability.
- Updated command bindings in various components to utilize the new presets, streamlining the focus management process.
- Enhanced the `Focusable` component to support additional scopes, improving the overall functionality and user experience.

This update simplifies the management of focusable elements and enhances the command handling system.

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

* refactor: enhance Focusable component with asChild prop for improved flexibility

- Updated the Focusable component to support an `asChild` prop, allowing it to render a child element with focusable properties.
- Modified the BizFocusableProps interface to align with the new FocusableProps structure.
- Adjusted usage in the FeedColumn component to utilize the new `asChild` feature, enhancing the component's flexibility.

This change improves the usability of the Focusable component by allowing it to wrap existing elements while maintaining focus management capabilities.

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

* refactor: update WindowUnderBlur and FeedColumn components for improved structure and functionality

- Refactored the WindowUnderBlur component to accept a customizable `as` prop, enhancing its flexibility in rendering.
- Updated the FeedColumn component to utilize the new `WindowUnderBlur` structure, allowing it to wrap the Focusable component directly.
- Enhanced the Focusable component's logic to include additional conditions for the SubscriptionList scope, improving focus management.

These changes streamline the component architecture and improve the overall user experience by allowing for more versatile component usage.

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

* refactor: update command bindings in SubscriptionList for improved focus management

- Replaced the `isFocus` variable with `inSubscriptionScope` to streamline focus handling in the SubscriptionList component.
- Updated command bindings and hotkey conditions to utilize the new `inSubscriptionScope` logic, enhancing the clarity and functionality of focus management.

These changes improve the overall structure and usability of the SubscriptionList component, ensuring better focus handling within the subscription context.

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

---------

Signed-off-by: Innei <tukon479@gmail.com>
2025-05-23 21:26:55 +08:00
Cason Kervis fc1e7ea730 feat: add Zotero integration and sort integration panel (#3738) 2025-05-20 12:08:28 +08:00
Eric Zhu 3ecb527ba1 chore(locales): update zh-CN translations (#3703)
* chore(locales): update zh-CN translations

* update

* update

* update

* update
2025-05-19 20:49:23 +08:00
Innei e69d120bd9 feat(legal): integrate privacy policy and terms of service into the application, #3577
- Added a new internal package for legal documents, including privacy policy and terms of service.
- Implemented a build script to convert markdown files to HTML for easy access.
- Updated the mobile and desktop applications to link to the new legal documents.
- Enhanced the login modal to include links to the privacy policy and terms of service.
- Updated routing in the SSR application to serve the legal documents.

These changes ensure compliance with legal requirements and improve user access to important information.

Signed-off-by: Innei <tukon479@gmail.com>
2025-05-15 23:58:07 +08:00
DIYgod e392e59c85 feat(mobile): optimize login process 2025-05-15 11:34:10 +08:00
DIYgod 21760f82b5 feat(ssr): optimize login 2025-05-08 11:29:08 +08:00
DIYgod e7f88b7788 feat(desktop): optimize login form 2025-05-07 22:50:23 +08:00
DIYgod 857c5150c5 feat(ssr): remove askOpenInFollowApp; optimize feed page 2025-05-07 12:38:14 +08:00
Konv Suu 77504cdf57 chore(desktop): minor improvement for discover page (#3660)
* chore(desktop): minor improvement for discover page

* update
2025-05-06 16:44:40 +08:00
DIYgod d8e6035a66 feat(desktop): i18n for trending 2025-05-04 12:02:30 +08:00
DIYgod 7a8a092c63 feat(desktop): add trending in onboarding 2025-05-04 11:53:36 +08:00
DIYgod 58ce9f614a feat(desktop): trending filters 2025-05-03 18:09:11 +08:00
DIYgod 0357b7d167 feat(desktop): onborading redesign migration step and remove rsshub step (#3631)
* feat(desktop): redesign onborading migration step

* feat(desktop): remove rsshub onboarding
2025-04-30 20:06:43 +08:00
DIYgod f48697c416 feat: simplified language list 2025-04-30 15:17:04 +08:00
Stephen Zhou 948f76a02c feat: mark above / below as read (#3570) 2025-04-27 09:16:24 +00:00
Konv SuuandInnei 65d97f425d feat(desktop): add error handling for fetching content in readability (#3567)
* feat(desktop): add error handling for fetching content in readability action

* feat(desktop): enhance entry item actions with copy functionality

- Added 'Copy Title' and 'Copy Link' actions to the entry item context menu.
- Adjusted layout spacing in the readability notice for improved UI consistency.

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

* feat(readability): enhance ReadabilityNotice component and add new icons

- Updated ReadabilityNotice component for improved UI and user experience, including a new button for retrying content fetching.
- Added new SVG and React Native icon for warning notifications.
- Modified localization string for better clarity on content fetching failure.

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

---------

Signed-off-by: Innei <tukon479@gmail.com>
Co-authored-by: Innei <tukon479@gmail.com>
2025-04-25 22:29:44 +08:00
Eric Zhu 3741a12808 chore(locales): update zh-CN translations (#3575) 2025-04-25 20:48:50 +08:00
Konv Suu bf452b0119 feat(desktop): add copy title action and tooltip warning (#3582)
* feat(desktop): add copy title action to entry actions and improve tooltip for desktop features

* update
2025-04-25 20:48:13 +08:00
DIYgod f6578dfbe4 Merge remote-tracking branch 'origin/dev' into dev 2025-04-24 21:39:21 +08:00
DIYgod b0b2788168 Merge branch 'hotfix/mas' into dev 2025-04-24 21:35:20 +08:00
Innei 1461daa79b feat(ui): enhance CommandActionButton with tooltip description and update command label structure
- Added tooltipDescription prop to ActionButton for improved user guidance.
- Updated CommandActionButton to utilize the new tooltipDescription.
- Modified Command interface to replace subTitle with description for better clarity.
- Adjusted entry command registration to include description in labels.
- Updated various components to ensure consistent text color usage for better readability.

Signed-off-by: Innei <tukon479@gmail.com>
2025-04-24 21:30:59 +08:00
Konv Suu aa7e28d839 feat(desktop): improve ux in trending (#3555) 2025-04-23 13:51:27 +08:00
DIYgod d595ca6783 feat(desktop): remove early or beta text 2025-04-23 09:06:45 +08:00
Innei 1c588f39ac refactor: replace some legacy css color variables
Signed-off-by: Innei <tukon479@gmail.com>
2025-04-22 23:12:25 +08:00
Innei c254486e41 feat: integrate Folo icon across various components
- Replaced instances of APP_NAME with the new Folo icon in PoweredByFooter, FeedColumnMobile, LoginModalContent, SettingModalLayout, TimelineColumnHeader, and Layout components.
- Added Folo icon component to the project.
- Updated localization to include a new entry for copying the logo text SVG.

Signed-off-by: Innei <tukon479@gmail.com>
2025-04-19 20:11:47 +08:00
Eric Zhu 46346eddeb feat(locales): update zh-CN translations (#3521)
* feat(locales): update zh-CN translations

* update
2025-04-18 12:21:46 +08:00
DIYgod 144f7097e9 feat(desktop): feed badge 2025-04-16 20:26:24 +08:00
天空的盡頭 5a70dcd6aa feat(locales): update zh-TW translations (#3479) 2025-04-14 16:17:09 +08:00
DIYgod 7e553db6cb feat(mobile): link to actions documentation 2025-04-10 23:26:38 +08:00
DIYgod 27def9c0f1 feat(desktop): docs styles 2025-04-10 18:59:34 +08:00
Konv Suu ffa82fe3b5 fix(desktop): adjust layout and styling in SearchCard component (#3445) 2025-04-10 14:11:30 +08:00
DIYgod acdca33aaf feat(desktop): add doc links 2025-04-10 11:53:23 +08:00
DIYgod b52e084448 feat(desktop): display feed updatesPerWeek 2025-04-09 23:35:53 +08:00
Wilsonyiyiandwilsonyiyi 0cac325229 fix(desktop): masonry layout Slide component sometimes not working (#3427)
* fix(desktop): masonry layout Slide component sometimes not working

* chore: auto-fix linting and formatting issues

---------

Co-authored-by: wilsonyiyi <20815934+wilsonyiyi@users.noreply.github.com>
2025-04-09 15:21:00 +08:00
DIYgod 04e8a48df7 feat: remove mark as read confirmation 2025-04-08 22:30:44 +08:00
Lion ChenandStephen Zhou 02c59ca869 feat: add Cubox integration for saving entries (#3385)
* feat(integration): enhance Cubox integration with auto memo mode

- Add Cubox integration with API token support
- Add enableCuboxAutoMemo setting for auto memo mode
- Add i18n translations for Cubox settings
- Support saving selected text as memo when auto memo mode is enabled

* update icon

* update changelog

---------

Co-authored-by: Stephen Zhou <38493346+hyoban@users.noreply.github.com>
2025-04-08 17:24:56 +08:00
Wilsonyiyi 363cc09509 fix(desktop): remove incorrect PDF export notification (#3393) 2025-04-03 12:26:37 +08:00
天空的盡頭 213a234a09 feat(locales): update zh-TW translations (#3394) 2025-04-03 09:49:16 +08:00
Stephen Zhou 20f0abe302 feat(mobile): translation for home tabs (#3386)
* feat(mobile): translation content

* Starred

* inbox feeds lists

* profile

* discovery category

* search

* dayjs

* bring localizations back

* translation for mobile content

* todo note

* add settings resource

* settings

* Extract

* Extract

* Manually type

* extend

* remove feed_view_type

* remove discover.category

* update note

* type
2025-04-02 09:44:26 +08:00
Stephen Zhou 0d90900172 refactor: locales structure (#3381)
* refactor: locales structure

* move

* avoid external in app

* Revert "move"

This reverts commit e89a9263784199719be0c42c0813b6e6bcd7b818.

* update

* type check

* update

* update

* update

* fix filter language
2025-04-01 11:08:10 +08:00
Stephen Zhou f1e34e9f04 feat(mobile): init i18n support (#3377)
* feat(mobile): init i18n support

* get default from device setting

* ios native support

* inline

* update

* update
2025-03-31 15:16:11 +00:00
Stephen Zhou b95237f22e refactor: move locales folder (#3374)
* chore: move locales out

* fix: correct import

* move generate local script
2025-03-31 18:59:29 +08:00
DIYgodandDIYgod 8b07a9a573 chore: desktop dir (#2924)
* chore: desktop dir

* chore: desktop src and configs

* chore: auto-fix linting and formatting issues

* fix: path

* fix: path

* fix: path

* fix: path

* fix

* fix

* fix

* test

* test

* test

* test

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

---------

Co-authored-by: DIYgod <8266075+DIYgod@users.noreply.github.com>
2025-03-02 17:19:22 +08:00
Eric ZhuandInnei 2299f3eb94 feat(locales): update zh-cn translations (#2726)
Co-authored-by: Innei <i@innei.in>
2025-02-26 13:06:11 +08:00
DIYgod a1996c8963 feat: remove pictureViewFilterNoImage 2025-02-24 20:43:55 +08:00
DIYgod 2f3655cf56 feat: optimize login modal 2025-02-07 20:08:37 +08:00
Jinwoo JeongandStephen Zhou 4a1a3f9687 feat(locales): enhance korean locale (#2685)
* feat: update localization for korean

* chore: auto-fix linting and formatting issues

---------

Co-authored-by: Stephen Zhou <38493346+hyoban@users.noreply.github.com>
2025-02-05 10:55:28 +08:00
Stephen Zhou e7e19a5aa8 fix: unescape, close #2276 2025-01-24 10:54:59 +08:00
6fae0189f2 feat(locales): update Japanese translations for search results and two-factor authentication (#2628)
Co-authored-by: dai <dai@users.noreply.github.com>
Co-authored-by: Innei <i@innei.in>
Co-authored-by: Innei <Innei@users.noreply.github.com>
2025-01-22 11:38:49 +08:00
Konv Suu 166e09563d feat(discover): implement localized search results (#2623) 2025-01-21 11:04:18 +08:00