Commit Graph

4706 Commits

Author SHA1 Message Date
Innei ff8cee07e1
chore: update tos.md 2025-05-16 00:07:10 +08:00
Innei 1ace59308b
feat(auth): add loading state to login modal for improved user experience
- Enhanced the LoginModalContent component to include a loading state while fetching authentication providers.
- Implemented skeleton loaders to prevent content layout shifts during loading.
- Improved user feedback by displaying loading indicators before the authentication options are available.

These changes enhance the overall user experience during the login process.

Signed-off-by: Innei <tukon479@gmail.com>
2025-05-16 00:01:34 +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
Innei e2c3bdd3d2
chore: update changelog
Signed-off-by: Innei <tukon479@gmail.com>
2025-05-15 22:22:07 +08:00
Innei b42c53fdd5
feat(shortcuts): add toggle folder collapse shortcut and command
- Introduced a new keyboard shortcut for toggling folder collapse with the key "Z".
- Updated command IDs to include the new toggleFolderCollapse command.
- Enhanced the subscription command registration to handle the new toggle functionality.
- Updated localization files to include the new shortcut description.

These changes improve user navigation and interaction with subscription folders in the application.

Signed-off-by: Innei <tukon479@gmail.com>
2025-05-15 22:16:11 +08:00
Innei 1e71cd5a59
fix(navigation): use keyboard to navigation select between feed and folder
- Removed unused export of FeedCategory to streamline the component structure.
- Added import for target from happy-dom in FeedList for improved functionality.
- Implemented cleanup of selected feed IDs when a category or folder is targeted in FeedList.

These changes enhance code clarity and maintainability in the timeline column components.

Signed-off-by: Innei <tukon479@gmail.com>
2025-05-15 22:07:02 +08:00
Innei 331f8d8022
refactor(mobile): update SearchFeedCard and login components for improved styling and loading state
- Changed icon color usage in SearchFeedCard to align with design standards.
- Adjusted layout and spacing in SearchFeedCard for better visual consistency.
- Enhanced login text styling for better emphasis in the Login component.
- Added loading state handling in SocialLogin component to improve user experience during authentication.

These changes enhance the overall UI and UX of the mobile application.

Signed-off-by: Innei <tukon479@gmail.com>
2025-05-15 21:39:01 +08:00
DIYgod 180933b709
feat(deskotp): remember discover language 2025-05-15 21:26:43 +08:00
Stephen Zhou e24ef19996
feat(mobile): useHideAllReadSubscriptions option 2025-05-15 20:20:15 +08:00
Stephen Zhou a5d8455f54
feat(desktop): hideAllReadSubscriptions option for category 2025-05-15 19:35:54 +08:00
Cleves 1284832e80
fix: prevent event propagation on double click for navigation buttons in SwipeMedia (#3732) 2025-05-15 18:51:35 +08:00
DIYgod 04b5d02afa
feat(mobile): trending index 2025-05-15 18:48:07 +08:00
DIYgod fc7b37d14c
feat(mobile): replace good luck with trending feed 2025-05-15 17:57:15 +08:00
DIYgod 64d44ec61b
feat(mobile): feed summary component 2025-05-15 17:57:14 +08:00
DIYgod 75102f4e12
feat(desktop): trending api types 2025-05-15 17:57:13 +08:00
Stephen Zhou a9172317b7
fix(desktop): hide actions on header for social media 2025-05-15 17:53:34 +08:00
Innei 13120c7b0d
feat(desktop): enhance subscription navigation and shortcuts
- Renamed and updated shortcut configurations from "feeds" to "subscriptions" for better clarity and organization.
- Introduced new commands for navigating to the next and previous subscriptions.
- Implemented keyboard shortcuts for subscription navigation and focused subscription view.
- Updated localization files to reflect changes in shortcut keys and labels.

These enhancements improve user experience by streamlining subscription management and navigation.

Signed-off-by: Innei <tukon479@gmail.com>
2025-05-15 14:55:06 +08:00
Innei 7a6d627cb4
fix(desktop): adjust styling for list item and entry header components
- Changed font weight from 'semibold' to 'medium' in ListItem component for better visual consistency.
- Updated icon class in EntryHeader component to ensure proper styling and alignment of elements.

These adjustments improve the overall appearance and readability of the entry components.

Signed-off-by: Innei <tukon479@gmail.com>
2025-05-15 13:29:53 +08:00
Stephen Zhou 689dac695d
chore: update lan-network to get correct expo dev server url
this can be removed after expo 53.0.9
2025-05-15 12:37:57 +08:00
DIYgod e392e59c85
feat(mobile): optimize login process 2025-05-15 11:34:10 +08:00
Stephen Zhou 9b8bd7db07
fix(web): ignore customizeColumn on mobile 2025-05-15 10:59:13 +08:00
Stephen Zhou 1f3707aabd
fix(web): only show view with subscription 2025-05-15 10:52:23 +08:00
Stephen Zhou dfde42d348
fix(web): readability support 2025-05-15 10:44:05 +08:00
Stephen Zhou 2244dc7884
fix(mobile): unread indicator for grid item 2025-05-15 09:53:13 +08:00
lawvs 79fe6a616d fix(mobile): improve back navigation logic in useBackHandler hook 2025-05-15 01:24:15 +08:00
lawvs d359b74190 fix: correct import path for Spring constant 2025-05-15 01:10:43 +08:00
Innei aff493f38f
feat(desktop): integrate AvatarGroup component for enhanced user read history display
- Added AvatarGroup component to encapsulate user avatars in EntryReadHistory for improved layout and interaction.
- Refactored EntryReadHistory to utilize AvatarGroup, simplifying the rendering of user avatars.
- Updated EntryUser component to enhance user profile interaction and tooltip display.

These changes enhance the visual presentation and user experience of the read history feature.

Signed-off-by: Innei <tukon479@gmail.com>
2025-05-15 00:04:29 +08:00
DIYgod 74f7d52277
fix(mobile): new feed in discover result 2025-05-14 22:58:21 +08:00
DIYgod afb7d57b82
feat(desktop): SubscribeModalOpened tracker event 2025-05-14 22:58:20 +08:00
Innei 51d9328f71
fix(desktop): enhance error handling and focus management in components
- Updated PageError component to allow pointer events for better user interaction.
- Refactored FeedColumn to utilize useFocusable for improved keyboard navigation and removed unnecessary focus state management.
- Enhanced highlightElement function to support customizable highlight colors and optimized canvas usage.

These changes improve accessibility and user experience by refining error handling and focus management across components.

Signed-off-by: Innei <tukon479@gmail.com>
2025-05-14 22:02:01 +08:00
Innei 0667b2bacb
fix(desktop): improve UI elements and keyboard interaction
- Adjusted CSS properties in BoostProgress for better alignment.
- Implemented keyboard event listener in GlobalHotkeysProvider to highlight focused elements on Tab key press.
- Enhanced highlightElement function with z-index for improved visibility.
- Updated TooltipTrigger in RelativeTime to prevent focus issues.
- Added tabIndex to RadioCard for better keyboard navigation.

These changes enhance user experience by refining UI components and improving keyboard accessibility.

Signed-off-by: Innei <tukon479@gmail.com>
2025-05-14 21:52:04 +08:00
Innei 178978441d
feat(desktop): enhance subscription feature and Vim navigation support
- Introduced a simplified subscription feature that hides fully read subscriptions with no updates.
- Added Vim-like keyboard navigation for improved user experience in the Timeline and Entry Content.

This update streamlines subscription management and enhances accessibility for Vim users.

Signed-off-by: Innei <tukon479@gmail.com>
2025-05-14 21:38:14 +08:00
Innei 0605d2dddd
fix(desktop): enhance video handling in markdown parser and improve changelog loading
- Added support for multiple video formats in the markdown parser.
- Implemented dynamic loading of the changelog using Suspense for better performance.

This improves the user experience by allowing for more versatile video content and optimizing changelog rendering.

Signed-off-by: Innei <tukon479@gmail.com>
2025-05-14 20:55:08 +08:00
Innei 45f53f2055
fix(desktop): update keyboard shortcuts and CSS for improved functionality
- Added additional key options for scrolling actions and next entry command.
- Updated the command hotkey for focusing on the timeline to include Escape.
- Modified CSS to prevent overflow on the HTML element.

This enhances user experience by providing more flexible keyboard shortcuts and improving layout handling.

Signed-off-by: Innei <tukon479@gmail.com>
2025-05-14 20:32:16 +08:00
Innei e18f052112
fix(desktop): update icon styling in LoginModalContent for better dark mode support
Signed-off-by: Innei <tukon479@gmail.com>
2025-05-14 20:24:20 +08:00
Stephen Zhou 701ee30cf0
fix(desktop): check feed follow state correctly for slash redirect 2025-05-14 20:16:54 +08:00
Stephen Zhou bf26a3eabc
fix(desktop): fix default view in feed form 2025-05-14 19:21:16 +08:00
Stephen Zhou 9b0691aacf
fix(desktop): follow state for url 2025-05-14 18:38:07 +08:00
lawvs 72ed7df9a8 fix(mobile): improve CJK character handling in FallbackIcon component 2025-05-14 18:21:47 +08:00
lawvs 4119b9aece fix(mobile): add fallback media display for video entries 2025-05-14 15:45:05 +08:00
Cleves e26c30d6a4
fix(desktop): update keyboard shortcut styling for undo action (#3720) 2025-05-14 13:05:54 +08:00
Stephen Zhou 56d65f473f
fix(mobile): separator style, clean useless code (#3723) 2025-05-14 10:18:41 +08:00
Innei 20049b0150
fix: update language display logic in Shiki code highlighter
- Modified the language display condition to show an empty div for plaintext instead of rendering the language name and icon.
- This change improves the clarity of the code highlighter by avoiding unnecessary elements for plaintext.

Signed-off-by: Innei <tukon479@gmail.com>
2025-05-14 00:46:42 +08:00
Innei 42150751f2
feat: add navigation buttons for entry content with new icons
- Implemented left and right navigation buttons in the entry content component to switch between entries.
- Added SVG icons for left and right navigation.
- Enhanced user interaction with hover effects for better visibility.

This update improves the navigation experience within the entry content, aligning with recent command enhancements.

Signed-off-by: Innei <tukon479@gmail.com>
2025-05-14 00:22:06 +08:00
Innei c2d8ffaa19
feat: support vim keybinding navigation between entry content and timeline
Signed-off-by: Innei <tukon479@gmail.com>
2025-05-13 22:35:26 +08:00
Innei 262a7ce55e
feat: enhance command binding and shortcut management
- Introduced `useCommandBinding` to streamline the registration of command hotkeys.
- Added new entry navigation commands for scrolling to the next and previous entries.
- Updated existing components to utilize the new command binding approach, improving consistency and maintainability.
- Refactored shortcut handling to support new entry render commands, enhancing user experience.

This update aims to improve the overall efficiency of command and shortcut management in the application.

Signed-off-by: Innei <tukon479@gmail.com>
2025-05-13 21:13:04 +08:00
lawvs 93f19c4f6c fix: handle image loading errors in FeedIcon component 2025-05-13 19:05:33 +08:00
Innei 5d53148738
fix: update title styling in list item template for better visibility, fixed #3634
Signed-off-by: Innei <tukon479@gmail.com>
2025-05-13 17:46:43 +08:00
Stephen Zhou 450b759318
fix: no notification registration when no notification action enabled 2025-05-13 17:02:29 +08:00
Stephen Zhou 2015c32b1a
fix: first ActionBar in social media being cut off 2025-05-13 16:47:01 +08:00