Commit Graph
678 Commits
Author SHA1 Message Date
Innei fbc8553dc1 fix(entry-list): update background class in EntryItemSkeleton for consistency
- Changed background class from 'bg-secondary-system-grouped-background' to 'bg-system-background' in EntryItemSkeleton component.
- Ensured consistent styling across entry list components.

Signed-off-by: Innei <tukon479@gmail.com>
2025-04-11 21:20:40 +08:00
Innei 9368136793 fix(subscription-item): ItemSeparator in list list
- Refactored ListSubscriptionItem component to enhance readability by restructuring JSX elements.
- Maintained existing functionality while ensuring consistent styling and layout.

Signed-off-by: Innei <tukon479@gmail.com>
2025-04-11 21:09:25 +08:00
Innei 3669223c13 feat(entry-list): enhance entry components with view type support
- Updated EntryNormalItem, EntrySocialItem, EntryVideoItem, and EntryGridFooter to accept and utilize view type for better context handling.
- Refactored EntryListSelector to include a NoLoginGuard for improved user experience.
- Added display names for memoized components for better debugging.

Signed-off-by: Innei <tukon479@gmail.com>
2025-04-11 21:08:34 +08:00
Whitewater b295711f5e feat(mobile): implement webview in android (#3442)
* feat(mobile): implement webview in android

* fix(mobile): update Android resource paths to use 'assets' directory

* fix(mobile): add injected JavaScript for WebView height management

* feat(mobile): enhance WebView navigation handling
2025-04-11 20:18:03 +08:00
DIYgod 05f2fbd9d6 feat(mobile): optimize feed info styles in entry header 2025-04-11 18:13:37 +08:00
DIYgod 219e122984 docs: update changelog 2025-04-11 17:43:16 +08:00
Innei ac39545c39 perf: optimize re-render when switch view
Signed-off-by: Innei <tukon479@gmail.com>
2025-04-11 17:27:26 +08:00
Innei 755e895b6e refactor: simplify useSelectedView hook and update selectTimeline function to use target parameter for event dispatching
Signed-off-by: Innei <tukon479@gmail.com>
2025-04-11 16:39:45 +08:00
Innei 12bfa9ba9c fix: correct view type in useSelectedFeed hook to ensure proper feedId retrieval
Signed-off-by: Innei <tukon479@gmail.com>
2025-04-11 16:28:16 +08:00
DIYgod 46f8ae0e48 refactor(mobile): optimize useSelectedView hook 2025-04-11 15:27:14 +08:00
Innei 23eaf86926 feat: implement tap gesture for ItemPressable component; refactor context menu entry and entry list components for improved performance and readability
Signed-off-by: Innei <tukon479@gmail.com>
2025-04-11 14:19:57 +08:00
Innei 3e3698a044 refactor: replace TimelineSelectorProvider with TimelineHeader in entry list and feed screens; enhance useSelectedFeed for better selector support
Signed-off-by: Innei <tukon479@gmail.com>
2025-04-11 13:37:10 +08:00
DIYgod 87aa06243e feat(mobile): ai summary card styles 2025-04-11 11:38:52 +08:00
DIYgod ce7ab76a1b release(mobile): release v0.1.5 2025-04-11 00:16:59 +08:00
DIYgod 17dd1e70f2 fix(mobile): entry normal item text positions 2025-04-11 00:09:45 +08:00
DIYgod 7e553db6cb feat(mobile): link to actions documentation 2025-04-10 23:26:38 +08:00
Stephen Zhou baff103ded fix(mobile): prefetch for preview feed 2025-04-10 18:48:26 +08:00
Stephen Zhou 23adc686ac feat(mobile): show error message (#3455) 2025-04-10 10:22:47 +00:00
Stephen Zhou e7728a3d34 refactor: unify unread count locales and logic (#3453) 2025-04-10 16:22:46 +08:00
Innei f1e113a012 chore(mobile): update icon background color in ActionsScreen
- Changed the icon background color in the ActionsScreen from #D8B4FE to #9333EA to align with the new design scheme.

This modification aims to enhance visual consistency within the settings section of the application.

Signed-off-by: Innei <tukon479@gmail.com>
2025-04-10 14:53:37 +08:00
Innei 4ce80cda9d chore(mobile): update icon background colors in settings and invitations
- Changed the icon background colors for various settings in the SettingsList component to enhance visual consistency.
- Updated the icon background color in the InvitationsScreen to match the new design scheme.

These modifications aim to improve the overall aesthetic and user experience within the settings and invitations sections.

Signed-off-by: Innei <tukon479@gmail.com>
2025-04-10 14:49:01 +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
DIYgod b52e084448 feat(desktop): display feed updatesPerWeek 2025-04-09 23:35:53 +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
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
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
Stephen Zhou 4096f6b781 chore: update changelog 2025-04-08 17:30:55 +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
Innei bb7fa92d45 refactor(mobile): enhance header components and layout
- Introduced `NavigationBlurEffectHeaderView` for improved header rendering in various settings screens.
- Updated `SafeNavigationScrollView` to accept a `Header` prop for better layout flexibility.
- Refactored existing screens to utilize the new header component, enhancing consistency across the app.
- Adjusted styles for header text to improve visual hierarchy.

Signed-off-by: Innei <tukon479@gmail.com>
2025-04-07 21:23:12 +08:00
Innei cd024e45d3 fix(mobile): remove prefetching of entry translations
- Removed `usePrefetchEntryTranslation` calls from `EntryGridFooter`, `EntryNormalItem`, and `EntrySocialItem` components to optimize performance and reduce unnecessary data fetching.

Signed-off-by: Innei <tukon479@gmail.com>
2025-04-07 19:38:08 +08:00