Commit Graph
827 Commits
Author SHA1 Message Date
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
Stephen Zhou c418dea396 feat(mobile): auto group 2025-04-28 15:48:25 +08:00
lawvs 218a40f7fd feat(mobile): implement in-app browser for android 2025-04-28 14:08:39 +08:00
lawvs 0ffde43bf4 chore: make summary text selectable for improved user interaction 2025-04-28 13:58:46 +08:00
Stephen Zhou 812b0894aa fix: update profile, close #3574 2025-04-27 18:44:48 +08:00
Stephen Zhou 948f76a02c feat: mark above / below as read (#3570) 2025-04-27 09:16:24 +00:00
Whitewater 1fad306f67 fix: toast message handling on android (#3604)
* fix(toast): ensure default duration is applied when showing toast messages

* fix: handle potential undefined toastRefs and improve conflict warning

* chore: correct spelling of 'dismiss' in ToastRef and related usages
2025-04-27 15:17:50 +08:00
Innei e9653d4a5b refactor(pager): clean up code formatting and remove unused touch handlers
- Reformatted code for improved readability by adjusting indentation and spacing.
- Removed unused RCTTouchHandler instances from EnhancePagerView and TabBarRootView classes to streamline the codebase.
- Ensured consistent handling of page views in EnhancePagerController.

Signed-off-by: Innei <tukon479@gmail.com>
2025-04-27 14:47:49 +08:00
Innei 91b9fae6c5 refactor(desktop): update text styles and enhance tooltip functionality
- Replaced hardcoded text sizes with standardized 'text-body' class for consistency across various components.
- Wrapped TooltipContent in RootPortal for better rendering in EnhancedSettingsIndicator and SettingSyncIndicator components.
- Improved accessibility and visual consistency in EntryHeaderImpl and EntryContent components by updating text styles.

Signed-off-by: Innei <tukon479@gmail.com>
2025-04-27 14:26:40 +08:00
DIYgod 99436e4be8 Merge pull request #3591 from RSSNext/sync/main-to-dev-20250426
Sync main branch to dev branch
2025-04-26 09:54:45 +08:00
Konv SuuandInnei 65d97f425d feat(desktop): add error handling for fetching content in readability (#3567)
* feat(desktop): add error handling for fetching content in readability action

* feat(desktop): enhance entry item actions with copy functionality

- Added 'Copy Title' and 'Copy Link' actions to the entry item context menu.
- Adjusted layout spacing in the readability notice for improved UI consistency.

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

* feat(readability): enhance ReadabilityNotice component and add new icons

- Updated ReadabilityNotice component for improved UI and user experience, including a new button for retrying content fetching.
- Added new SVG and React Native icon for warning notifications.
- Modified localization string for better clarity on content fetching failure.

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

---------

Signed-off-by: Innei <tukon479@gmail.com>
Co-authored-by: Innei <tukon479@gmail.com>
2025-04-25 22:29:44 +08:00
Stephen Zhou a95de490ec feat: translation mode (#3568) 2025-04-25 20:38:44 +08:00
DIYgod 49c534cc17 fix: type 2025-04-25 19:54:46 +08:00
DIYgod feb3f004f2 fix(mobile): type 2025-04-25 19:28:35 +08:00