Commit Graph
4134 Commits
Author SHA1 Message Date
Konv Suu ffa82fe3b5 fix(desktop): adjust layout and styling in SearchCard component (#3445) 2025-04-10 14:11:30 +08:00
Wilsonyiyi 507ddb81cf feat(desktop): add locale for daily report title (#3449) 2025-04-10 14:11:03 +08:00
Innei d24ef61b28 feat(desktop): enhance AISummary component with improved styling and loading state
- Updated the AISummary component to feature a new gradient background and glowing AI icon for better visual appeal.
- Enhanced loading state with animated skeletons for a smoother user experience.
- Improved button styling for the copy functionality, ensuring better visibility and interaction.

These changes aim to elevate user engagement and aesthetic quality within the component.

Signed-off-by: Innei <tukon479@gmail.com>
2025-04-10 14:06:32 +08:00
Stephen Zhou 8dd6d5c846 fix(mobile): optimize translation query (#3450)
* fix(mobile): optimize translation query

* update

* update
2025-04-10 14:05:58 +08:00
Innei 8f4dcd398f feat(desktop): enhance EntryTitle and MagneticHoverEffect components
- Updated EntryTitle styling to improve hover effects and visual feedback.
- Modified MagneticHoverEffect to calculate hover origin dynamically, enhancing interaction responsiveness.

These changes improve user engagement and visual appeal across the affected components.

Signed-off-by: Innei <tukon479@gmail.com>
2025-04-10 14:01:43 +08:00
DIYgod acdca33aaf feat(desktop): add doc links 2025-04-10 11:53:23 +08:00
Innei e5047246b1 feat(desktop): integrate MagneticHoverEffect into NormalList and NormalListItem components
- Replaced standard div elements with MagneticHoverEffect to enhance hover interactions.
- Simplified styling by removing unnecessary hover classes, improving code clarity and visual feedback.

These changes enhance user engagement and visual appeal across the affected components.

Signed-off-by: Innei <tukon479@gmail.com>
2025-04-10 00:01:22 +08:00
Innei feba117ba3 feat(desktop): integrate MagneticHoverEffect into MarkdownLink and EntryTitle components
- Replaced standard anchor tags with MagneticHoverEffect for enhanced visual feedback on hover.
- Removed custom mouse event handlers from EntryTitle, simplifying the component's code while maintaining hover effects.

These changes improve user interaction and visual appeal across the affected components.

Signed-off-by: Innei <tukon479@gmail.com>
2025-04-09 23:56:21 +08:00
Innei d9ca464590 chore: update change log
Signed-off-by: Innei <tukon479@gmail.com>
2025-04-09 23:42:09 +08:00
DIYgod b52e084448 feat(desktop): display feed updatesPerWeek 2025-04-09 23:35:53 +08:00
Innei b90b12ee3f fix(desktop): refine EntryHeader and EntryTitle components for improved behavior and styling
- Updated `shouldShowMeta` logic in EntryHeader to simplify visibility conditions.
- Enhanced EntryTitle with mouse interaction effects for a more dynamic user experience.
- Added hover and movement effects to the title link for better engagement.

These changes improve the overall usability and visual feedback of the components.

Signed-off-by: Innei <tukon479@gmail.com>
2025-04-09 23:30:59 +08:00
Innei 4325c6bede refactor(desktop): improve EntryTitle component layout and date rendering logic, resolves FOL-1831
- Added `omitObjectUndefinedValue` utility to EntryTitle.
- Refactored date rendering logic to use `RelativeTime` for better formatting.
- Enhanced layout for title and meta information sections for improved readability and user experience.

These changes streamline the component's structure and enhance visual consistency.

Signed-off-by: Innei <tukon479@gmail.com>
2025-04-09 22:53:36 +08:00
Innei c9c637f108 feat(discover): enhance SearchCard with Divider and entry published time display, resolves FOL-1833
Signed-off-by: Innei <tukon479@gmail.com>
2025-04-09 22:28:44 +08:00
DIYgod f7313a21a9 feat: display entry published time in discover form 2025-04-09 22:10:04 +08:00
Konv SuuandInnei 0e4afe30d7 feat(desktop): update SearchCard layout (#3435)
* feat(desktop): update SearchCard layout

* feat(discover): enhance DiscoverForm and SearchCard with animated target selection and preview button

- Replaced RadioGroup with animated button selection for target options in DiscoverForm.
- Added a preview button in SearchCard for sharing feed links, improving user interaction.
- Updated styles for better visual consistency and responsiveness.

These changes enhance the user experience in the Discover section.

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

---------

Signed-off-by: Innei <tukon479@gmail.com>
Co-authored-by: Innei <tukon479@gmail.com>
2025-04-09 21:50:47 +08:00
Innei f24f21ae73 fix(mobile): update clipboard handling and refine dropdown menu visibility logic, fix #3443
Signed-off-by: Innei <tukon479@gmail.com>
2025-04-09 21:20:29 +08:00
Innei 16de0b54da fix(mobile): update toast icons to use filled variants for better visibility
Signed-off-by: Innei <tukon479@gmail.com>
2025-04-09 21:12:21 +08:00
Stephen Zhou 104c3fb5f1 fix(mobile): mark as read payload for feed list (#3441)
* fix(mobile): make as read payload for feed list

* update
2025-04-09 21:02:37 +08:00
Innei 83e7764cf0 feat(mobile): replace SPIndicator with ToastViewSwift for notifications
Signed-off-by: Innei <tukon479@gmail.com>
2025-04-09 20:31:50 +08:00
DIYgod a65742e2bf feat(mobile): success toast 2025-04-09 17:53:20 +08:00
DIYgod 53b2136889 feat(mobile): add mark as read action button for feed list 2025-04-09 17:28:13 +08:00
DIYgod 22d642a3fb feat(mobile): update mark as read icon 2025-04-09 17:02:19 +08:00
DIYgod 5ede249048 feat(mobile): mark as read filters 2025-04-09 16:56:54 +08:00
DIYgod d70f08251f feat(mobile): getSubscriptionByCategory by view 2025-04-09 16:23:15 +08:00
DIYgod c31a933baf feat(mobile): use feedIdList 2025-04-09 16:23:15 +08:00
DIYgod 98468d4183 feat(mobile): unified getFetchEntryPayload 2025-04-09 16:23:15 +08:00
Konv Suu 3f223ba767 feat: add i18n with Chinese (#3422) 2025-04-09 15:25:51 +08:00
Wilsonyiyi cf46ae76ad style(desktop): optimize entry content header 1px offset (#3425) 2025-04-09 15:24:49 +08:00
Stephen Zhou a24698bff1 fix(desktop): not entry list header for inbox 2025-04-09 15:21:25 +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
lawvs 2c89ea530e fix(mobile): replace NativeView with NativeWebView in EntryContentWebView 2025-04-09 11:16:53 +08:00
Stephen Zhou 77f19095b6 fix(mobile): border radius for last group when expanded 2025-04-09 11:03:34 +08:00
Stephen Zhou 77246e1a05 fix(mobile): share feed button (#3434)
* fix(mobile): share feed button

* update

* update
2025-04-09 02:55:30 +00:00
DIYgod 559a8eeed0 fix(mobile): entry list fetchNextPage not triggered 2025-04-08 23:01:48 +08:00
DIYgod 04e8a48df7 feat: remove mark as read confirmation 2025-04-08 22:30:44 +08:00
Innei 283673b14b fix(mobile): enhance SafeNavigationScrollView with tab screen detection
- Introduced useInTabScreen hook to determine if the current screen is within a tab.
- Updated SafeNavigationScrollView to conditionally check for scroll to bottom only when in a tab screen.
- Removed unused useViewDidAppear hook from navigation hooks for cleaner code.

These changes improve the functionality of the SafeNavigationScrollView and streamline the navigation hooks.

Signed-off-by: Innei <tukon479@gmail.com>
2025-04-08 21:32:43 +08:00
Innei 6054ec9795 fix(mobile): attach to safe navigation scroll header
- Replaced instances of NavigationBlurEffectHeader with NavigationBlurEffectHeaderView across multiple screens for consistency in header design.
- Introduced useViewDidAppear hook to manage view appearance events using Jotai for state management.
- Updated About screen to dynamically include commitSha with app version and build ID.

These changes improve the visual consistency of navigation headers and enhance the functionality of screen hooks.

Signed-off-by: Innei <tukon479@gmail.com>
2025-04-08 21:27:16 +08:00
Innei 63b39a08c9 fix(mobile): optimize child handling in GroupedList component
- Updated memoization of child elements in GroupedInsetListCard to depend on the children prop, improving rendering efficiency.

This change enhances performance by ensuring that the component only re-renders when the children change.

Signed-off-by: Innei <tukon479@gmail.com>
2025-04-08 20:40:48 +08:00
Innei b1c356fcd4 fix(mobile): timeline list separator style
- Changed background class from "bg-secondary-system-grouped-background" to "bg-system-background" for consistency.
- Removed opacity modifier from separator background class for a cleaner design.

These updates enhance the visual consistency of the ItemSeparator component.

Signed-off-by: Innei <tukon479@gmail.com>
2025-04-08 20:40:03 +08:00
lawvs 1eaf90055d fix(mobile): crash when enter entry in android 2025-04-08 20:31:05 +08:00
Innei 13b1375c50 feat(ui): improve GroupedList and Invitations components with enhanced child handling and color usage
- Added memoization for child elements in GroupedList to optimize rendering.
- Updated Invitations component to utilize dynamic color for UserAvatar based on theme.
- Refactored color imports for better consistency across components.

These changes enhance performance and visual consistency in the UI components.

Signed-off-by: Innei <tukon479@gmail.com>
2025-04-08 20:27:45 +08:00
Innei 87d37f9f68 feat(discover): enhance DiscoverForm and SearchCard components with improved layout and functionality
- Added number formatting for subscription counts.
- Updated SearchCard layout for better responsiveness and visual appeal.
- Enhanced button styles for improved user interaction.
- Integrated UrlBuilder for sharing feed links.
- Refactored FeedCardMediaThumbnail for better media display and fallback handling.

These changes improve the overall user experience and visual consistency in the Discover section.

Signed-off-by: Innei <tukon479@gmail.com>
2025-04-08 20:21:40 +08:00
Innei bf44c01e8c feat(changelog): optimize AI summary design for improved UI/UX on homepage
Signed-off-by: Innei <tukon479@gmail.com>
2025-04-08 19:28:08 +08:00
Innei 7b9f35fbbd feat(collapse): refactor Collapse component to use Jotai for state management
- Updated Collapse and CollapseGroup components to utilize Jotai for managing open/closed states.
- Introduced CollapseContext for better state handling across collapse items.
- Enhanced CollapseGroup to support default open states and callback for open state changes.
- Refactored DailyItem and EntryPlaceholderDaily to integrate new Collapse functionality.
- Added EntryContentPlaceholder and its context for managing entry content visibility.

This refactor improves the overall state management and flexibility of the collapse functionality.

Signed-off-by: Innei <tukon479@gmail.com>
2025-04-08 19:27:02 +08:00
Stephen Zhou 4096f6b781 chore: update changelog 2025-04-08 17:30:55 +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
Stephen Zhou 55524b06cf fix: no hidden br to display translation correctly 2025-04-08 10:52:24 +08:00
Stephen Zhou 16be7cd868 feat(mobile): notification (#3424)
* init messaging

* use expo-notifications plugin

* unread badge

* background fetch

* update

* skip for no user

* cache messaging token

* navigate to entry

* get entry without prefetch

* update channel

* update channel for web and desktop

* remove useless dep

* check user in task

* messaging as hook

* fix condition

* rename
2025-04-08 10:45:11 +08:00
lawvs 3bbe28086a fix: format 2025-04-08 01:55:12 +08:00
Whitewater 17c4244dc5 feat(mobile): enhance onboarding with internationalization (#3426)
* refactor(mobile): extract language selection

* feat(mobile): enhance onboarding with language selection preferences

* feat(mobile): enhance onboarding with internationalization support

* feat(mobile): add internationalization support for onboarding preferences

* feat(mobile): localize reading preferences in onboarding screen

* feat(mobile): add internationalization support to onboarding completion and interests steps

* feat(mobile): add Japanese, Traditional Chinese, and Hong Kong Chinese localization for onboarding steps

* chore(mobile):  better internationalization support
2025-04-08 01:42:49 +08:00