Commit Graph
280 Commits
Author SHA1 Message Date
Innei 4e2cdbee2d feat(mobile): improve dialog confirmation and remove unused spring preset
- Remove unused bouncySpringPreset from spring constants
- Add handleConfirm method in dialog to support onConfirm callback
- Update AddFeedDialog to handle empty URL input more gracefully

Signed-off-by: Innei <tukon479@gmail.com>
2025-03-11 18:50:09 +08:00
DIYgod ea32df6b9b feat(mobile): remove noPreview param 2025-03-11 18:00:25 +08:00
DIYgod dbc47659b1 fix(mobile): images in video item 2025-03-11 17:58:07 +08:00
DIYgod 210b327177 feat(mobile): social media images layout 2025-03-11 17:17:57 +08:00
DIYgod 73fb08ed55 feat(mobile): avoid direct expo-image 2025-03-11 16:05:20 +08:00
DIYgod 90cb12870c feat(mobile): remove ProxiedImage 2025-03-11 15:53:38 +08:00
DIYgod c29348773c feat(mobile): remove preview image 2025-03-11 15:47:30 +08:00
Stephen Zhou f991e915c9 fix(mobile): improve player bg color (#3018)
* fix(mobile): improve payer bg color

* update
2025-03-11 02:32:36 +00:00
Stephen Zhou 9e7cd04411 chore(mobile): fix type error (#3021) 2025-03-11 02:25:07 +00:00
Innei 6e6b7e3936 feat(ios): Use the native image preview component (#3017)
* init

* done

* feat(mobile): integrate Galeria component for image preview and carousel

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

* revert

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

* chore: auto-fix linting and formatting issues

---------

Signed-off-by: Innei <tukon479@gmail.com>
2025-03-10 22:41:20 +08:00
DIYgod fb52f25534 feat: image component 2025-03-10 21:32:19 +08:00
Whitewater f02736ede8 refactor(mobile): extract import and export functionality for data setting (#3015) 2025-03-10 21:09:15 +08:00
DIYgod 5cb635ea79 fix(mobile): social media image preview 2025-03-10 19:20:34 +08:00
Stephen Zhou a110bbae4f refactor(mobile): rename sourceContent to readabilityContent (#3013)
* refactor(mobile): rename sourceContent to readabilityContent

* update
2025-03-10 11:20:20 +08:00
Stephen Zhou 3e313cac8a feat(mobile): perform actions (#3012)
* feat(mobile): perform actions

* update
2025-03-10 10:52:02 +08:00
DIYgod 519b82c790 feat(mobile): use app check 2025-03-09 16:23:33 +08:00
DIYgod 417fb843dc feat(mobile): add deviceToken 2025-03-09 14:22:38 +08:00
DIYgod 2ea115dcd5 feat(mobile): optimize login styles 2025-03-09 13:21:07 +08:00
Innei 268d4da58f feat(mobile): add password reset functionality to account settings
Implement password reset screen with current and new password fields
Add changePassword method to auth client
Update settings navigation to include ResetPassword route
Enhance account security section with password change option

Signed-off-by: Innei <tukon479@gmail.com>
2025-03-08 14:26:09 +08:00
Whitewater 4b0e13c9e7 feat(mobile): add option to open videos in external apps (#2998)
* feat(mobile): add option to open videos in external apps

* chore: clean code

* fix(mobile): update code struct

* fix(mobile): handle URL parsing errors in EntryVideoItem

* fix(mobile): add schemes in app configuration

* fix(mobile): improve error handling when opening video links
2025-03-08 14:00:07 +08:00
Innei e56505011c feat(mobile): enhance grouped list with navigation link styling
Signed-off-by: Innei <tukon479@gmail.com>
2025-03-08 12:54:41 +08:00
Innei a69878abc7 feat(mobile): implement social account linking and unlinking
Signed-off-by: Innei <tukon479@gmail.com>
2025-03-08 12:49:40 +08:00
Innei b72aac9e56 feat(mobile): add account linking UI with provider icons
Signed-off-by: Innei <tukon479@gmail.com>
2025-03-08 12:39:53 +08:00
Stephen Zhou ea53d1b9b5 fix(mobile): toast when toggling unread, fix entry context crash (#2997) 2025-03-07 12:16:49 +00:00
Stephen Zhou 8f523c5ab4 refactor(mobile): prefer PlainTextField (#2993) 2025-03-07 09:02:14 +00:00
Innei 27cf62cc48 feat(mobile): add image compression and avatar upload improvements
Signed-off-by: Innei <tukon479@gmail.com>
2025-03-06 21:27:05 +08:00
Innei 1c73e46eb6 feat(mobile): setting profile page (#2985) 2025-03-06 20:24:53 +08:00
Stephen Zhou 699b4d0ad8 feat(mobile): readability (#2978)
* feat(mobile): readability support

* update

* update

* silent lint

* chore: auto-fix linting and formatting issues

* update

* update

* manually trigger fetch
2025-03-06 15:50:45 +08:00
Innei aa37fb76ce feat(mobile): conditionally render settings based on user authentication
- Add `anonymous` flag to navigation links
- Implement dynamic filtering of navigation groups for anonymous users
- Use `useMemo` to optimize navigation group rendering
- Integrate user authentication state with settings visibility

Signed-off-by: Innei <tukon479@gmail.com>
2025-03-05 23:28:30 +08:00
Innei 5f1796d4a6 feat(mobile): add environment profile management
- Introduce `proxyEnv` to dynamically manage environment configurations
- Add `EnvProfileIndicator` to show current environment profile
- Create `useEnvProfile` and `setEnvProfile` for runtime env switching
- Update imports and references to use `proxyEnv` instead of static `env`

Signed-off-by: Innei <tukon479@gmail.com>
2025-03-05 23:21:29 +08:00
Innei 864bf1f32c refactor(mobile): update feeds context menu and preview rendering
- Replace FlashList with FlatList in PreviewFeeds component
- Limit preview to first 5 entries
- Add router navigation to full feed view from preview
- Remove unnecessary key extractor function

Signed-off-by: Innei <tukon479@gmail.com>
2025-03-05 22:02:51 +08:00
Innei c4174f909e fix(mobile): adjust login UI and toast haptic feedback
- Update haptic feedback for different toast types in iOS
- Modify NoLoginInfo component spacing
- Restructure EmailLogin screen layout and styling

Signed-off-by: Innei <tukon479@gmail.com>
2025-03-05 21:44:22 +08:00
Stephen Zhou 7180e00d19 feat(mobile): list and inbox (#2969)
* feat(mobile): bring list and inbox back

* navigate to list

* inbox support

* fix: query entries

* use proxy image

* fix list and inbox state

* estimatedItemSize

* update

* update

* update

* fix list unread count

* unread count component

* update

* fix unread count by view
2025-03-05 21:36:26 +08:00
Innei 6588b3e7f4 feat(mobile): add estimated duration display for entry items (#2956) 2025-03-05 21:10:39 +08:00
Stephen Zhou 13e02d7e9a feat(mobile): sign up, forget password, anonymous use (#2949)
* feat(mobile): sign up and forget password

* refactor(mobile): allow no login, move login as modal

* refactor(mobile): move 2fa as modal

* login icon

* update

* no login info

* color in dark mode

* style

* update

* update

* update

* update
2025-03-05 10:50:54 +08:00
kovsu 3f1cfcc13a update 2025-03-05 00:01:17 +08:00
Innei d20a06dad3 refactor: extract all env from shared
Signed-off-by: Innei <tukon479@gmail.com>
2025-03-04 19:20:21 +08:00
kovsu 3cc12b4d78 feat(mobile): add estimated duration display for entry items 2025-03-04 15:23:11 +08:00
Innei 6c6bb9b401 feat(mobile): Pass user ID to useShareSubscription hook in Profile screen
- Update ProfileScreen to pass current user's ID to useShareSubscription
- Ensure subscriptions are fetched for the logged-in user
- Improve data fetching logic in profile route

Signed-off-by: Innei <tukon479@gmail.com>
2025-03-04 14:54:30 +08:00
Whitewater 3bb7685569 feat(mobile): add deep link redirection to follow screen (#2948)
* feat(mobile): add deep link redirection to follow screen

* fix(mobile): enhance modal close behavior with conditional redirection

* chore: auto-fix linting and formatting issues
2025-03-04 14:17:41 +08:00
Innei 4588d4f7a2 feat(mobile): Conditionally render UserHeaderBanner with user ID
- Add null check for whoami.id before rendering UserHeaderBanner
- Prevent rendering header banner when user is not logged in
- Improve user profile screen rendering logic

Signed-off-by: Innei <tukon479@gmail.com>
2025-03-04 14:17:08 +08:00
Innei f7a591c37f feat(mobile): Add configurable thumbnail aspect ratio for entry items
- Implement AspectRatioImage component for flexible image display
- Add support for square and aspect-ratio thumbnail rendering
- Use thumbnailRatio setting to dynamically choose image display mode
- Preserve image quality and aspect ratio in entry list view

Signed-off-by: Innei <tukon479@gmail.com>
2025-03-04 00:40:10 +08:00
Innei 42c1f9f191 feat(mobile): Enhance user profile and database schema
- Add support for dynamic user profile rendering
- Modify user schema to make email field optional
- Update database migrations with new migration script
- Refactor profile-related hooks and components to support flexible user viewing
- Extract EntryReadHistory component from EntryTitle

Signed-off-by: Innei <tukon479@gmail.com>
2025-03-04 00:09:23 +08:00
Innei 8d5028a1a1 feat(mobile): Add preview functionality to feed context menu
- Implement preview for article view in feed context menu
- Use FlashList to render entry previews efficiently
- Add conditional rendering for preview based on feed view type
- Remove commented-out menu items for future cleanup

Signed-off-by: Innei <tukon479@gmail.com>
2025-03-03 23:50:24 +08:00
Innei ad4a83bc82 fix(mobile): Correct feed view type handling in FollowFeed
- Remove unnecessary string conversion for feed view type
- Simplify view type parsing in subscription form submission
- Ensure direct enum value usage for feed view selection

Signed-off-by: Innei <tukon479@gmail.com>
2025-03-03 23:39:14 +08:00
Innei 218b22b9c3 refactor(mobile): Improve UI components and form handling
- resolves FOL-1680
- Replace TouchableOpacity with Pressable in view selector
- Remove background color from SafeModalScrollView
- Adjust content container margins in modal scroll views
- Update form schema to coerce view to number
- Add loading state management in RSSHub form submission
- Enhance user interaction and form validation

Signed-off-by: Innei <tukon479@gmail.com>
2025-03-03 22:39:28 +08:00
Innei 486e627a05 feat(mobile): Implement new modal header and scroll view components
- Create ModalHeader component for consistent modal UI
- Add ModalScrollViewContext for scroll-related state management
- Refactor SafeModalScrollView to use new context and header
- Implement dynamic header height calculation utility
- Update various modal screens to use new components
- Simplify header and scroll view interactions

Signed-off-by: Innei <tukon479@gmail.com>
2025-03-03 22:33:26 +08:00
Innei 8d8dafa37d refactor(mobile): Optimize header and form layouts
- Simplify NavigationHeader component by removing complex title centering logic
- Remove fixed width constraints in TimelineSelectorProvider header actions
- Add KeyboardAvoidingView to RSSHub form text inputs
- Conditionally render form sections based on available keys

Signed-off-by: Innei <tukon479@gmail.com>
2025-03-03 21:04:18 +08:00
Innei 11b4027dfd refactor(mobile): Improve WebView architecture and state management
Refactored the WebView implementation in the mobile app to:
- Separate concerns in WebView delegate and configuration
- Simplify WebView initialization and state management
- Improve JavaScript injection and custom URL scheme handling
- Add content height change event support

Signed-off-by: Innei <tukon479@gmail.com>
2025-03-03 17:50:14 +08:00
Stephen Zhou d4ad565a80 fix(mobile): active view switch, use is fetching for disable state (#2931) 2025-03-02 17:24:11 +08:00