Commit Graph
654 Commits
Author SHA1 Message Date
Whitewater bb509fcbb0 fix(mobile): correct opacity modifier for Android platform (#3571) 2025-04-24 15:12:20 +08:00
DIYgod a4ce91d6e3 feat(mobile): add status action 2025-04-24 10:38:39 +08:00
DIYgod 01b8037336 feat(mobile): optimize list search result list 2025-04-23 19:40:11 +08:00
DIYgod 4027d0e6eb feat(mobile): optimize feed search result list 2025-04-23 19:26:33 +08:00
DIYgod adaa52f85d fix(mobile): search loading indicator 2025-04-23 15:59:44 +08:00
DIYgod 0b2393a11b feat(mobile): update discover category colors 2025-04-23 15:57:20 +08:00
DIYgod 755c12b4f4 feat(mobile): merge search screen into discover screnn; optimize search input 2025-04-23 15:10:58 +08:00
Whitewater 74ea30c30c fix(mobile): tweak loading style in android (#3557) 2025-04-23 06:34:17 +00:00
Innei 8678e5439e fix(mobile): simplify header component and update ForgetPasswordScreen layout
- Removed unused imports and the HeaderCloseButton component from HeaderElements.tsx.
- Integrated DefaultHeaderBackButton for improved navigation handling.
- Adjusted padding and alignment in ForgetPasswordScreen for better layout consistency.

Signed-off-by: Innei <tukon479@gmail.com>
2025-04-23 13:50:13 +08:00
Stephen Zhou 1f5dd2a165 refactor(mobile): replace react-native-video with expo-video, hide control in list, close #3417 2025-04-23 13:21:48 +08:00
Stephen Zhou eb3cb7db28 feat(mobile): open bilibili dynamic in app, close #3211 2025-04-23 12:19:21 +08:00
Stephen Zhou e0b2611e39 feat(mobile): video support (#3512) 2025-04-23 03:58:50 +00:00
DIYgod 43c1c54caf feat(mobile): remove AddFeedButton 2025-04-23 10:00:55 +08:00
DIYgod bf8e3b0398 feat(mobile): placeholderContentFit 2025-04-23 09:53:58 +08:00
Whitewater ae41eed457 fix: normalize safe area insets in android (#3554)
* fix: normalize safe area insets in android

* fix: import isAndroid utility
2025-04-22 17:37:28 +00:00
Whitewater 3343ddb658 fix: adjust layout for Android (#3548)
* fix: adjust tab bar height for Android to account for insets

* fix(mobile): onboarding screen layout adjustments

* fix(mobile): update header height calculation to use Constants for status bar height

* fix(mobile): remove unnecessary RootSiblingParent wrapper in Subscriptions component
2025-04-22 18:14:45 +08:00
Innei a0cfcd7ec4 fix(mobile): enhance Recommendations component with empty state message
- Added a conditional rendering for the Recommendations component to display a message when no data is available.
- The new message informs users that the recommendations section is currently empty, improving user experience.

These changes provide clearer feedback to users when there are no recommendations to display.

Signed-off-by: Innei <tukon479@gmail.com>
2025-04-22 13:18:36 +08:00
Innei 798f73dfe7 fix(mobile): add ScreenErrorScreen component for error handling
- Introduced a new ScreenErrorScreen component to display user-friendly error messages.
- Integrated the ScreenErrorScreen into the WrappedScreenItem using an ErrorBoundary for improved error management.
- Enhanced navigation experience by allowing users to go back when an error occurs.

These changes improve the application's resilience and user experience during error scenarios.

Signed-off-by: Innei <tukon479@gmail.com>
2025-04-22 13:13:56 +08:00
Innei fcd21b2a53 fix(mobile): standardize separator styles across components
- Updated separator styles in various components to use a consistent class name for opacity.
- Removed dark mode specific classes to simplify styling.
- Adjusted padding and insets in the Recommendations component for better layout.

These changes enhance visual consistency and maintainability across the application.

Signed-off-by: Innei <tukon479@gmail.com>
2025-04-22 13:10:28 +08:00
Innei 017d9864cd fix(mobile): improve layout and styling consistency across components
- Adjusted padding in EntryTitle and EntryDetailScreen for uniformity.
- Updated HTML component to enhance structure and readability.
- Modified CSS classes in HTML and image components for better alignment.
- Cleaned up link component styles to remove unnecessary classes.

These changes enhance the overall user interface and maintain a consistent design throughout the application.

Signed-off-by: Innei <tukon479@gmail.com>
2025-04-22 12:57:03 +08:00
Innei c7afad6b27 fix(mobile): update device initialization and migration handling
- Changed `initDeviceType` to use async/await for better readability and error handling.
- Updated the app initialization process to await `initDeviceType` for proper sequencing.
- Refactored `migrateDatabase` to use async/await, improving error handling and code clarity.
- Adjusted the structure of `RootProviders` to ensure proper nesting of components.

This refactor enhances the overall code quality and maintainability.

Signed-off-by: Innei <tukon479@gmail.com>
2025-04-22 12:47:33 +08:00
Innei 8096bf5c1e feat(mobile): integrate expo-device for device type management
- Added expo-device package to manage device types.
- Implemented device type initialization in the app startup process.
- Created hooks and atoms for accessing device type throughout the app.
- Updated navigation logic to handle iPad-specific presentation styles.
- Removed unused loading indicator component.

Signed-off-by: Innei <tukon479@gmail.com>
2025-04-22 00:16:44 +08:00
Whitewater 7e2be7ba2f fix(mobile): remove GestureDetector on ItemPressable (#3544) 2025-04-21 08:46:45 +00:00
Innei 3ddf4619e5 Merge remote-tracking branch 'origin/dev' into release/mobile/0.1.6 2025-04-18 19:08:31 +08:00
Innei 4ee5944d69 fix(datetime): set default value for displayAbsoluteTimeAfterDay in RelativeDateTime component
Signed-off-by: Innei <tukon479@gmail.com>
2025-04-18 19:04:55 +08:00
DIYgod 3dc77320dc feat(mobile): temp remove entries staleTime 2025-04-18 18:41:31 +08:00
Innei bf8529cf2b chore: update deps
Signed-off-by: Innei <tukon479@gmail.com>
2025-04-18 13:19:06 +08:00
DIYgod 61c099b527 feat(mobile): openLinksInExternalApp setting 2025-04-18 12:04:40 +08:00
DIYgod 6d707bdbc9 feat(mobile): optimize discover categories background 2025-04-18 10:37:54 +08:00
DIYgod 051db8e219 feat(mobile): move back add feed button 2025-04-18 10:12:24 +08:00
Innei 735fe90a10 chore: migrate from framer-motion to motion library
Signed-off-by: Innei <tukon479@gmail.com>
2025-04-18 00:12:20 +08:00
Innei 7801aef62b fix(mobile): improve loading indicator visibility in NavigationHeader and feeds context menu
- Added z-index to the loading indicator in NavigationHeader to ensure it appears above other elements.
- Integrated PlatformActivityIndicator in the SubscriptionFeedCategoryContextMenu to display a loading state when fetching entries.

Signed-off-by: Innei <tukon479@gmail.com>
2025-04-17 23:42:41 +08:00
Innei 8e9b92babc refactor(mobile): replace ItemPressable with NativePressable in multiple components
- Updated RelativeDateTime, EntryNormalItem, and CategoryGrouped components to use NativePressable for improved touch handling.
- Introduced NativePressable and IosItemPressable components to streamline pressable functionality across iOS and native views.
- Enhanced code organization by separating NativePressable types and implementations.

Signed-off-by: Innei <tukon479@gmail.com>
2025-04-17 23:35:10 +08:00
Innei f4999279a1 refactor(mobile): remove horizontal scrolling checks from various components
- Updated multiple components to eliminate unnecessary horizontal scrolling checks before executing actions.
- Enhanced the ErrorBoundary component to apply a text style to error messages.
- Improved code readability and maintainability by streamlining the logic in EntryNormalItem, EntrySocialItem, and other related components.

Signed-off-by: Innei <tukon479@gmail.com>
2025-04-17 23:22:01 +08:00
Stephen Zhou 07e969ff45 refactor: split readability table (#3516) 2025-04-17 17:21:26 +08:00
Stephen Zhou d09f5a6810 fix(mobile): media image url list for video 2025-04-17 11:11:41 +08:00
Stephen Zhou bcf752bf68 fix: use preview image url for video item, close #3485 2025-04-17 11:06:45 +08:00
Stephen Zhou cf6d7567bc feat: server side readability (#3498) 2025-04-17 10:41:15 +08:00
Innei 6d9af8aeb1 feat(mobile): add EntryNavigationHeader and refactor EntryTitle
- Introduced EntryNavigationHeader component for improved navigation and header management in entry detail screens.
- Added titleHeightAtom to EntryContentContext for dynamic title height management.
- Refactored EntryTitle to utilize the new context and simplify layout handling.
- Updated EntryDetailScreen to integrate EntryNavigationHeader and enhance user experience.

Signed-off-by: Innei <tukon479@gmail.com>
2025-04-17 01:02:46 +08:00
Innei 8602973016 feat(mobile): enhance EnhancePagerView with initialPageIndex prop
- Refactored EnhancePagerView to include an initialPageIndex property for better control over the starting page.
- Updated related components and specifications to support the new prop.
- Fixed a typo in the initialize method name for consistency.

Signed-off-by: Innei <tukon479@gmail.com>
2025-04-17 00:48:01 +08:00
Innei 70ef539788 feat(mobile): refactor ItemPressable usage and styles
- Replaced TouchableOpacity with ItemPressable in multiple components for improved interaction handling.
- Introduced a new UnStyled option in ItemPressableStyle to allow for customizable styling.
- Updated ItemPressable implementation in RelativeDateTime, EntryNormalItem, and CategoryGrouped components to enhance touch feedback and visual consistency.

Signed-off-by: Innei <tukon479@gmail.com>
2025-04-17 00:39:00 +08:00
DIYgod ece26375a6 feat(mobile): actions icons 2025-04-16 22:47:24 +08:00
Innei f52026a3ce feat(mobile): enhance share subscription functionality in ProfileScreen
- Updated useShareSubscription hook to include a removeItemById method for managing subscriptions.
- Integrated the new functionality into ProfileScreen, allowing users to unsubscribe from feeds.
- Added context providers for managing profile state and actions.
- Refactored list item components to utilize ItemPressable for better interaction handling.

Signed-off-by: Innei <tukon479@gmail.com>
2025-04-16 22:46:49 +08:00
Innei 6c9448ccd1 chore(mobile):rename screen filename
- Updated import paths for existing screens to use camel case naming conventions.
- Introduced new screens: EditEmailScreen, FollowScreen, ForgetPasswordScreen, InvitationScreen, ListScreen, LoginScreen, ProfileScreen, RsshubFormScreen, SignUpScreen, TwoFactorAuthScreen, and SelectReadingModeScreen.
- Enhanced the onboarding experience with the addition of EditProfileScreen.

Signed-off-by: Innei <tukon479@gmail.com>
2025-04-16 22:02:00 +08:00
Innei dbf6954da0 feat(mobile): trending screen
- Updated imports for EntryDetailScreen and FeedScreen to reflect new file structure.
- Introduced OnboardingScreen and PlayerScreen components to improve user onboarding and media playback experience.
- Added PhUsersBold icon component for enhanced UI consistency.
- Adjusted animation timing in ItemPressableModule for better touch feedback.
- Updated sitemap to reflect new screen paths.

Signed-off-by: Innei <tukon479@gmail.com>
2025-04-16 21:58:21 +08:00
DIYgod 3bc658540a feat(mobile): update share and ai icons 2025-04-16 21:02:50 +08:00
Innei 667664aa67 feat(mobile): add camelcase-keys dependency and implement language options in discover module
- Added camelcase-keys version 9.1.3 to package.json and pnpm-lock.yaml.
- Introduced language options for the discover module, enhancing the user experience.
- Updated the discover screen to include a new "Good Luck" section.

Signed-off-by: Innei <tukon479@gmail.com>
2025-04-16 20:38:25 +08:00
Innei cd431f336c fix: adjust padding for safe area in Recommendations and RecommendationCategoryScreen components
Signed-off-by: Innei <tukon479@gmail.com>
2025-04-16 19:48:49 +08:00
Innei cce400cca0 feat(discover): enhance Discover screen with category grid and navigation
- Introduced a new `RecommendationCategoryScreen` for displaying recommendations by category.
- Added a category grid in the Discover screen, allowing users to navigate to specific categories.
- Integrated emoji representation for categories using `CategoryEmojiMap`.
- Updated context management to streamline header height and animated values.
- Refactored `Recommendations` component to support new navigation structure.

Signed-off-by: Innei <tukon479@gmail.com>
2025-04-15 22:30:40 +08:00
DIYgod 319216e4ce feat: one time token (#3482)
* feat: unified auth for desktop and ssr

* feat: use one time token

* feat: remove better auth patch

* feat(desktop): handle session changes

* feat(desktop): recover ck auth for compatibility
2025-04-15 20:27:20 +08:00