Commit Graph
500 Commits
Author SHA1 Message Date
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
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 a1a95216e7 feat(mobile): auto toggle readability for empty content 2025-05-07 09:57:06 +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
Stephen Zhou 08b353f499 feat: star action (#3625) 2025-04-30 00:25:03 +08:00
lawvs 41484b5f27 fix: AISummary prevent scroll 2025-04-29 18:35:19 +08:00
lawvs ed3c3f755d fix: update share functionality to include message in share options 2025-04-29 14:42:12 +08:00
Stephen Zhou 31ad3373d5 fix: exclude current entry when mark above as read 2025-04-29 11:03:19 +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 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
Stephen Zhou a95de490ec feat: translation mode (#3568) 2025-04-25 20:38:44 +08:00
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
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
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
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 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
DIYgod 61c099b527 feat(mobile): openLinksInExternalApp setting 2025-04-18 12:04:40 +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 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