Commit Graph
840 Commits
Author SHA1 Message Date
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
lawvs 41484b5f27 fix: AISummary prevent scroll 2025-04-29 18:35:19 +08:00
lawvs f8ef744d01 fix: update share functionality to include share URL and message 2025-04-29 14:48:58 +08:00
lawvs ed3c3f755d fix: update share functionality to include message in share options 2025-04-29 14:42:12 +08:00
lawvs 1e98d7f995 chore: remove unused onDismiss handling 2025-04-29 12:10:03 +08:00
Stephen Zhou 31ad3373d5 fix: exclude current entry when mark above as read 2025-04-29 11:03:19 +08:00
DIYgod 065d061521 fix(mobile): tailwind import path 2025-04-28 22:35:31 +08:00
Innei bf2e3444b9 refactor: adjust desktop structure
Signed-off-by: Innei <tukon479@gmail.com>
2025-04-28 21:42:23 +08:00
Innei 2a670cd694 chore: update dependencies across multiple packages
- Bumped versions of various dependencies in package.json files, including @tsslint, eslint, nbump, and others.
- Updated @types/node to 22.15.3 in several packages for compatibility.
- Adjusted versions of Radix UI components and other libraries to their latest releases for improved functionality and security.

Signed-off-by: Innei <tukon479@gmail.com>
2025-04-28 21:22:15 +08:00
Innei 4d746522f1 refactor: remove unused files and clean up project structure
- Deleted obsolete configuration files and unused components across various packages.
- Updated package.json files to reflect the removal of dependencies.
- Cleaned up code by removing unnecessary exports and unused imports in multiple modules.

Signed-off-by: Innei <tukon479@gmail.com>
2025-04-28 20:58:51 +08:00
Stephen Zhou 2524defbc2 feat(mobile): copy inbox email address 2025-04-28 20:53:59 +08:00
Stephen Zhou b1f6f45166 refactor(mobile): use $inferInsert 2025-04-28 20:26:13 +08:00
Stephen Zhou 13f110fecc feat(mobile): edit list subscription 2025-04-28 18:14:37 +08:00
Stephen Zhou 9d39711781 feat(mobile): private feed subscription icon 2025-04-28 16:36:42 +08:00
Stephen Zhou f9d48e9556 feat(mobile): edit feed subscription 2025-04-28 16:27:20 +08:00