Commit Graph
565 Commits
Author SHA1 Message Date
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
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
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 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
Innei 4fc8ec3f42 feat: scrollview scroll to end detection
- Refactored HelperModule to include new async functions for scrolling and image handling.
- Removed ProfileViewModule and associated UI components to streamline the codebase.
- Updated expo-module.config.json to reflect the removal of ProfileViewModule.
- Improved SafeNavigationScrollView and TimelineSelectorList to utilize new scroll handling features.

Signed-off-by: Innei <tukon479@gmail.com>
2025-04-07 19:31:56 +08:00
Innei db5c4c04dd feat(mobile): enhance settings synchronization and event handling
- Updated the settings change event to include a structured payload for better data management.
- Refactored the persist and load methods in the SettingSyncQueue to utilize a key-value storage system instead of localStorage.
- Added logging for remote settings in development mode to aid in debugging.

Signed-off-by: Innei <tukon479@gmail.com>
2025-04-07 18:56:20 +08:00
Innei 1e9d20ed47 feat(mobile): streamline settings management and sync functionality
- Updated general and UI settings to utilize shared default settings from the new shared package.
- Introduced a new sync queue for managing local and remote settings synchronization.
- Removed outdated settings interfaces that are now integrated into the shared package.
- Enhanced event handling for setting changes to improve responsiveness and data consistency.

Signed-off-by: Innei <tukon479@gmail.com>
2025-04-07 18:04:29 +08:00
Whitewater 0559ff1846 fix(mobile): add translucent status bar (#3420)
* fix(mobile): add translucent status bar

* chore(mobile): simplify splash screen configuration
2025-04-07 11:41:40 +08:00
DIYgod 5f42bdd9c7 feat(mobile): app check config for android 2025-04-07 11:40:47 +08:00
DIYgod f51e71bce9 fix: types 2025-04-05 21:59:32 +08:00
Innei 2a290360d1 fix(mobile): merge TabScreenProps ios and other platform
- Added optional `identifier` property to `TabScreenProps` interface for better tab management.
- Updated import statements in `TabRoot` and `TabScreen` components to reference the new types file.
- Refactored `TabScreen` component to utilize the new `identifier` property in state management.

Signed-off-by: Innei <tukon479@gmail.com>
2025-04-05 21:46:05 +08:00
Innei 20be007d0c fix(mobile): update icon background colors in settings screens
- Changed icon background colors for various settings navigation links to enhance visual consistency.
- Updated background color for Actions and Invitations screens to match new design specifications.

Signed-off-by: Innei <tukon479@gmail.com>
2025-04-05 21:32:35 +08:00
Innei c14d241b60 feat(mobile): implement error handling components and integrate crashlytics
- Added GlobalErrorScreen and ListErrorView for improved error display.
- Enhanced ErrorBoundary to support custom fallback rendering.
- Integrated crashlytics initialization in the app startup process.
- Updated various components to utilize the new error handling structure.
- Fixed import paths for OTPWindow component.

Signed-off-by: Innei <tukon479@gmail.com>
2025-04-05 21:24:12 +08:00
Innei 9516c4496c fix(mobile): update loading indicator visibility in NavigationHeader component
Signed-off-by: Innei <tukon479@gmail.com>
2025-04-05 20:27:17 +08:00
Innei 30a45666b9 feat(mobile): add tab screen identifiers and improve tab management
Signed-off-by: Innei <tukon479@gmail.com>
2025-04-05 20:22:37 +08:00
Innei 171f8be655 fix(mobile): fix safe area handling in navigation and login modules
Signed-off-by: Innei <tukon479@gmail.com>
2025-04-04 16:17:40 +08:00
DIYgod 1fd4fad3bf feat(mobile): image styles 2025-04-04 15:55:38 +08:00
DIYgod 97da0786d1 feat(mobile): simplify entry header 2025-04-04 15:21:47 +08:00
DIYgod 503263326c feat(mobile): update context menu items 2025-04-04 15:08:11 +08:00
DIYgod 1ceeed52bc feat(mobile): mark as unread in menu 2025-04-04 14:52:26 +08:00
DIYgod 9d64dbbf92 feat(mobile): entry list scroll to top for unreadonly switching 2025-04-04 14:10:13 +08:00
DIYgod 24834f5d05 feat(mobile): expand header for horizontal scrolling 2025-04-04 14:01:44 +08:00
DIYgod 9de4425b75 feat(mobile): entry list scroll to top for refetching 2025-04-04 13:42:45 +08:00
DIYgod 4ea69b916e feat(mobile): header hideable ele scroll threshold 2025-04-04 13:40:34 +08:00
DIYgod 7c334b5808 feat(mobile): use TouchableOpacity for EntryListFooter 2025-04-04 00:29:58 +08:00
DIYgod 0013837dce feat(mobile): image loading bg and forcing https 2025-04-04 00:21:40 +08:00
DIYgod da7bfef51a feat(mobile): tighter picture video notification entry item 2025-04-04 00:04:23 +08:00
DIYgod d5b579f4f4 feat(mobile): entries loading indicator 2025-04-03 23:47:31 +08:00
Stephen Zhou 927ae4ce9e feat(mobile): translation for edit profile 2025-04-03 22:32:32 +08:00