Commit Graph

854 Commits

Author SHA1 Message Date
lawvs 93f19c4f6c fix: handle image loading errors in FeedIcon component 2025-05-13 19:05:33 +08:00
lawvs 4213459ae0 feat: add feed icon display for audio entries without images 2025-05-13 01:48:28 +08:00
lawvs b33c6e9ee9 refactor: extract ThumbnailImage component for better readability and maintainability 2025-05-13 01:36:23 +08:00
lawvs c3067b9952 fix: add experimentalBlurMethod prop to ThemedBlurView in EntryNormalItem for better Android support 2025-05-12 19:41:32 +08:00
lawvs 4970110c70 fix: adjust header position in ProfileScreen for better layout 2025-05-12 15:45:22 +08:00
lawvs e798a9410f chore: add padding to text elements in DiscoverContent for improved layout 2025-05-12 15:45:22 +08:00
lawvs 5cbdf69eeb chore: adjust padding in ProfileScreen for improved layout 2025-05-12 14:25:02 +08:00
Whitewater 3e9fd61575
fix: update render logic in TabScreen to conditionally render for iOS (#3691) 2025-05-09 09:29:59 +00:00
lawvs 1ad7598a96 fix: adjust padding in Settings screen scroll view 2025-05-09 14:44:42 +08:00
Innei 5a9af9fdce
fix(rn): clicking on the avatar under the category will trigger two jump logics, fixed #3415
Signed-off-by: Innei <tukon479@gmail.com>
2025-05-09 14:41:14 +08:00
DIYgod 9d7d52bb1e
Merge pull request #3690 from RSSNext/sync/main-to-dev-20250509
Sync main branch to dev branch
2025-05-09 10:04:04 +08:00
lawvs 172ea12fed chore: add vibration feedback on context menu open for Android 2025-05-09 01:00:29 +08:00
DIYgod 5547cdd7c8
fix(mobile): update version 2025-05-08 23:07:45 +08:00
DIYgod 54a1d5995e
docs: update changelog 2025-05-08 20:54:52 +08:00
DIYgod 51d571e722
release(mobile): release v0.1.8 2025-05-08 19:59:35 +08:00
lawvs 7ba1524e40 fix: simplify press handling on android 2025-05-08 19:05:49 +08:00
Stephen Zhou ad33c88d45
fix(mobile): pre build for expo-background-task 2025-05-08 16:18:36 +08:00
lawvs 6694a346a0 fix: fallback to rn tab bar 2025-05-08 15:42:51 +08:00
Innei ff39f75c78
feat(icons): add new icons for mobile and update existing icon references in desktop components
Signed-off-by: Innei <tukon479@gmail.com>
2025-05-08 14:19:31 +08:00
DIYgod cee647c458
feat: hide invitation page according to server config 2025-05-08 13:20:45 +08:00
Stephen Zhou 9d1c1a6bd3
fix(mobile): improve i18n for subscription form 2025-05-08 11:55:41 +08:00
Stephen Zhou 808d33f037
fix(mobile): no background fro video item (align with picture item), increase space 2025-05-08 09:54:36 +08:00
Whitewater e26d88146f
fix: android in rn0.79 (#3677)
* chore: remove react-native-edge-to-edge package

* fix: patch react-native-track-player

* fix: simplify initialization of i18n and root component

* chore: remove unused Android day/night theme plugin

* fix: enable edge-to-edge display for Android and set StatusBar style to auto

* chore: lint
2025-05-08 01:40:07 +08:00
Stephen Zhou 5114155f33
fix: can not unlink social account, close #3653 2025-05-07 23:31:01 +08:00
Stephen Zhou 70474b9154
refactor: migrate to expo-background-task (#3679) 2025-05-07 15:02:00 +00:00
Stephen Zhou 9097a67fcf
fix(mobile): rounded video item 2025-05-07 22:37:57 +08:00
Stephen Zhou ec5fa5b242
fix(mobile): discover category overlap 2025-05-07 22:14:37 +08:00
DIYgod 9a90b2cb4d
feat(ssr): optimize ssr header 2025-05-07 21:22:49 +08:00
DIYgod ec318b83d8
feat(mobile): handle list and feed deeplink 2025-05-07 19:29:08 +08:00
Stephen Zhou af6f7d171b
fix(mobile): edit feed subscription view 2025-05-07 18:25:24 +08:00
Stephen Zhou d1d1fb4a75
fix(mobile): video style in social media, close #3665 2025-05-07 18:00:09 +08:00
Innei efc2e9713b
refactor: upgrade react 19 and react native 0.79 (#3661)
* update

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

* chore: update Babel and Metro configurations

- Added `unstable_transformImportMeta` option to Babel preset for improved JSX handling.
- Disabled `unstable_enablePackageExports` in Metro configuration for better package resolution.

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

* chore: add react-native-ios-utilities patch and update dependencies

- Introduced a patch for `react-native-ios-utilities` to enhance functionality.
- Updated `expo`, `react-native`, and `react-native-reanimated` versions in the example app for improved compatibility.
- Added `react-native-ios-utilities` to the project dependencies in `package.json`.

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

* update

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

* chore: auto-fix linting and formatting issues

* refactor: improve route parameter handling and entry fetching logic

- Updated `useRouteParams` to utilize `useReadonlyRoute` for better state management.
- Enhanced `useEntriesByView` to separate remote and local entry fetching, improving data handling and error management.
- Introduced debouncing for pagination in local entries and added toast notifications for error handling.
- Cleaned up entry ID retrieval to ensure uniqueness and prevent duplicates.

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

* refactor: simplify Masonry component return statement

- Updated the return statement in the Masonry component to use JSX syntax for better readability and consistency.

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

* refactor: update import from RootPortalProvider to RootPortalContext

- Changed the import statement in Sheet.tsx to reflect the updated context provider name for better clarity and consistency in the codebase.

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

* update

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

* refactor: update ref types in component props

- Changed ref prop types from React.RefObject to React.Ref for better type compatibility across various components, enhancing overall code consistency and maintainability.

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

* feat: add Xcode build server configuration and enhance desktop app routing

- Introduced a new configuration file for the Xcode build server to streamline iOS builds.
- Updated Vite configuration to include a new proxy route for sharing functionality.
- Added a new Jotai atom for managing preview state in the application.
- Removed deprecated error fallback component to clean up the codebase.
- Implemented a new render style hook for consistent styling across components.
- Enhanced entry column components with improved error handling and layout adjustments.
- Updated various components to utilize the new render style and improved accessibility.

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

* update

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

* fix: ensure plugins array is initialized and update TypeScript configuration

- Initialized the plugins array in the mobile app configuration to prevent potential runtime errors.
- Updated TypeScript configuration to enhance module resolution and improve code organization with clearer path definitions.

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

* update lint

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

* refactor: update TypeScript types and improve component props

- Added `skipLibCheck` to TypeScript configuration for faster builds.
- Updated prop types in various components to allow for null values in refs, enhancing type safety.
- Refactored several components to ensure better type compatibility and maintainability.

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

* refactor(mobile): improve layout handling in NavigationHeader component

- Added console logs for debugging right and left widths.
- Adjusted layout structure to ensure proper width handling for header elements.
- Updated loading indicator positioning and visibility logic.

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

* refactor(mobile): update Pager and QRCode components to use forwardRef

- Refactored Pager and QRCode components to directly export as functional components with forwardRef.
- Updated type definitions to improve ref handling and ensure better type safety.
- Simplified component structure for improved readability and maintainability.

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

* refactor(ui): enhance FAB components with functional component structure and improved type definitions

- Converted FABBase and FABPortable to functional components using FC type for better type safety.
- Updated props to include optional ref handling, enhancing flexibility in usage.
- Simplified component structure for improved readability and maintainability.

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

* chore(deps): update react-native-ios-utilities patch and refine TypeScript configuration

- Updated the patch for react-native-ios-utilities in pnpm-lock.yaml to reflect a new hash.
- Enhanced TypeScript configuration in tsconfig.json by adding exclusion for node_modules and formatting paths for better readability.
- Cleaned up the react-native-ios-utilities.patch by removing unused exports from the index file.

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

* update

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

---------

Signed-off-by: Innei <tukon479@gmail.com>
2025-05-07 16:30:30 +08:00
Stephen Zhou 51afed6be3
fix(mobile): hide readability action when enabled from action 2025-05-07 11:29:11 +08:00
Stephen Zhou 8bd186a4c3
fix(mobile): no scroll for ai summary 2025-05-07 11:21:34 +08:00
Stephen Zhou f3313e68e2
fix(mobile): no unread status update if no changes 2025-05-07 10:40:23 +08:00
Stephen Zhou 26a3d83027
fix(mobile): correct update of badge unread count ​​on refresh 2025-05-07 10:26:18 +08:00
Stephen Zhou a1a95216e7
feat(mobile): auto toggle readability for empty content 2025-05-07 09:57:06 +08:00
lawvs 6b6b7e2a8c refactor(mobile): simplify TabBarRootWrapper props and update type definitions 2025-05-06 23:47:35 +08:00
lawvs 07452b5e70 refactor(mobile): remove platform-specific files for bottom tab 2025-05-06 23:45:43 +08:00
lawvs 4a0feb7c11 refactor(mobile): replace TabScreen with common wrapper 2025-05-06 23:37:08 +08:00
lawvs 65291ff7f0 refactor(mobile): refactor TabBarPortal to use native wrapper component 2025-05-06 17:12:18 +08:00
grtsinry43 ad3ac4926a
feat(mobile): implement custom tab bar and item pressable components on android native (#3613)
* feat(mobile): implement custom tab bar and item pressable components on android native

Adds native Android implementations for custom UI components previously available on iOS:

- **Custom Tab Bar:**
    - Implements `TabBarRootView` using `ViewPager2` and a custom `CustomTabBarView` (LinearLayout) to host RN-rendered tab items (`TabBarPortalView`).
    - Provides `TabScreenView` as a container for page content within Fragments managed by `TabBarPagerAdapter`.
    - Includes `TabBarModule`, `TabScreenModule`, and `TabBarPortalModule` for Expo autolinking and JS bridging (props: `selectedIndex`, event: `onTabIndexChange`, function: `switchTab`).
    - This approach mirrors the iOS version by avoiding the native `TabLayout` and allowing full customization of the tab bar via React Native components.

- **Item Pressable:**
    - Implements `ItemPressableView` extending `ExpoView`.
    * Provides native touch feedback using Android's foreground ripple (`selectableItemBackground`) by default.
    * Includes a prop `touchHighlight` to enable/disable feedback.
    * Fires `onItemPress` event on click/tap.
    * Includes `ItemPressableModule` for Expo integration.

* fix(mobile): Adjust content view `padding` to prevent overlap with Bottom Bar

* feat(mobile): implement native tab bar components and improve tab switching logic
2025-05-06 16:00:03 +08:00
DIYgod 1b9d2a5a86
feat: fallback zh-tw to zh-cn 2025-04-30 18:22:46 +08:00
Stephen Zhou c899c554a8
fix(mobile): default option for action language 2025-04-30 16:17:56 +08:00
DIYgod 7ce5420f92
feat: optimize language selector display 2025-04-30 15:58:25 +08:00
DIYgod f48697c416
feat: simplified language list 2025-04-30 15:17:04 +08:00
lawvs 8962f3d21a fix: update RotateableLoading to use dynamic icon color based on theme 2025-04-30 14:55:56 +08:00
Stephen Zhou 08b353f499
feat: star action (#3625) 2025-04-30 00:25:03 +08:00
lawvs ae191c5aa6 fix: adjust z-index values for dialog 2025-04-29 19:21:43 +08:00
Innei 44137e6da1
chore: update @react-native-firebase packages to version 22.0.0 and refactor crashlytics and messaging imports
Signed-off-by: Innei <tukon479@gmail.com>
2025-04-29 18:50:48 +08:00