Commit Graph
752 Commits
Author SHA1 Message Date
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
DIYgod 2d069023d8 feat(mobile): trust user certs in android (#3547)
* feat(mobile): trust user certs in android

* feat(mobile): trust user certs for non production only
2025-04-22 09:05:19 +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
Innei 769df4cde2 fix(mobile): hide native floating tabbar in ipad
- Updated the initialization of the UITabBarController to use a lazy property for better performance.
- Added conditional logic to manage tab bar visibility based on iOS version and device type.
- Removed redundant tab bar visibility setting from the initializer.
- Cleaned up code by removing unnecessary whitespace and improving readability.

Signed-off-by: Innei <tukon479@gmail.com>
2025-04-21 23:28:30 +08:00
DIYgod f729869691 Revert "feat(mobile): remove expo-updates"
This reverts commit 556ccfcf61.
2025-04-21 19:28:37 +08:00
DIYgod 556ccfcf61 feat(mobile): remove expo-updates 2025-04-21 18:16:27 +08:00
Whitewater 7e2be7ba2f fix(mobile): remove GestureDetector on ItemPressable (#3544) 2025-04-21 08:46:45 +00:00
dependabot[bot] fd74a0ed7e build(deps): bump the minor-and-patch group across 1 directory with 29 updates (#3537)
Bumps the minor-and-patch group with 29 updates in the / directory:

| Package | From | To |
| --- | --- | --- |
| [eslint](https://github.com/eslint/eslint) | `9.24.0` | `9.25.0` |
| [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) | `6.2.6` | `6.3.2` |
| [vite-bundle-analyzer](https://github.com/nonzzz/vite-bundle-analyzer) | `0.18.1` | `0.19.0` |
| [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/tree/HEAD/packages/plugin-react) | `4.4.0` | `4.4.1` |
| [hono](https://github.com/honojs/hono) | `4.7.6` | `4.7.7` |
| [expo-splash-screen](https://github.com/expo/expo/tree/HEAD/packages/expo-splash-screen) | `0.29.22` | `0.29.24` |
| [react-native-video](https://github.com/TheWidlarzGroup/react-native-video) | `6.12.0` | `6.13.0` |
| [fastify](https://github.com/fastify/fastify) | `5.3.0` | `5.3.2` |
| [@radix-ui/react-avatar](https://github.com/radix-ui/primitives) | `1.1.4` | `1.1.6` |
| [@radix-ui/react-checkbox](https://github.com/radix-ui/primitives) | `1.1.5` | `1.2.2` |
| [@radix-ui/react-context-menu](https://github.com/radix-ui/primitives) | `2.2.7` | `2.2.11` |
| [@radix-ui/react-dialog](https://github.com/radix-ui/primitives) | `1.1.7` | `1.1.10` |
| [@radix-ui/react-dropdown-menu](https://github.com/radix-ui/primitives) | `2.1.7` | `2.1.11` |
| [@radix-ui/react-hover-card](https://github.com/radix-ui/primitives) | `1.1.7` | `1.1.10` |
| [@radix-ui/react-label](https://github.com/radix-ui/primitives) | `2.1.3` | `2.1.4` |
| [@radix-ui/react-navigation-menu](https://github.com/radix-ui/primitives) | `1.2.6` | `1.2.9` |
| [@radix-ui/react-popover](https://github.com/radix-ui/primitives) | `1.1.7` | `1.1.10` |
| [@radix-ui/react-radio-group](https://github.com/radix-ui/primitives) | `1.2.4` | `1.3.3` |
| [@radix-ui/react-scroll-area](https://github.com/radix-ui/primitives) | `1.2.4` | `1.2.5` |
| [@radix-ui/react-select](https://github.com/radix-ui/primitives) | `2.1.7` | `2.2.2` |
| [@radix-ui/react-slider](https://github.com/radix-ui/primitives) | `1.2.4` | `1.3.2` |
| [@radix-ui/react-switch](https://github.com/radix-ui/primitives) | `1.1.4` | `1.2.2` |
| [@radix-ui/react-tabs](https://github.com/radix-ui/primitives) | `1.1.4` | `1.1.8` |
| [@radix-ui/react-toast](https://github.com/radix-ui/primitives) | `1.2.7` | `1.2.10` |
| [@radix-ui/react-tooltip](https://github.com/radix-ui/primitives) | `1.2.0` | `1.2.3` |
| [electron-log](https://github.com/megahertz/electron-log) | `5.3.3` | `5.3.4` |
| [@electron-toolkit/preload](https://github.com/alex8088/electron-toolkit/tree/HEAD/packages/preload) | `3.0.1` | `3.0.2` |
| [tldts](https://github.com/remusao/tldts) | `7.0.0` | `7.0.1` |
| [i18next-browser-languagedetector](https://github.com/i18next/i18next-browser-languageDetector) | `8.0.4` | `8.0.5` |



Updates `eslint` from 9.24.0 to 9.25.0
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v9.24.0...v9.25.0)

Updates `vite` from 6.2.6 to 6.3.2
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v6.3.2/packages/vite)

Updates `vite-bundle-analyzer` from 0.18.1 to 0.19.0
- [Release notes](https://github.com/nonzzz/vite-bundle-analyzer/releases)
- [Changelog](https://github.com/nonzzz/vite-bundle-analyzer/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nonzzz/vite-bundle-analyzer/compare/v0.18.1...v0.19.0)

Updates `@vitejs/plugin-react` from 4.4.0 to 4.4.1
- [Release notes](https://github.com/vitejs/vite-plugin-react/releases)
- [Changelog](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite-plugin-react/commits/plugin-react@4.4.1/packages/plugin-react)

Updates `hono` from 4.7.6 to 4.7.7
- [Release notes](https://github.com/honojs/hono/releases)
- [Commits](https://github.com/honojs/hono/compare/v4.7.6...v4.7.7)

Updates `expo-splash-screen` from 0.29.22 to 0.29.24
- [Changelog](https://github.com/expo/expo/blob/main/packages/expo-splash-screen/CHANGELOG.md)
- [Commits](https://github.com/expo/expo/commits/HEAD/packages/expo-splash-screen)

Updates `react-native-video` from 6.12.0 to 6.13.0
- [Release notes](https://github.com/TheWidlarzGroup/react-native-video/releases)
- [Changelog](https://github.com/TheWidlarzGroup/react-native-video/blob/master/CHANGELOG.md)
- [Commits](https://github.com/TheWidlarzGroup/react-native-video/compare/v6.12.0...v6.13.0)

Updates `fastify` from 5.3.0 to 5.3.2
- [Release notes](https://github.com/fastify/fastify/releases)
- [Commits](https://github.com/fastify/fastify/compare/v5.3.0...v5.3.2)

Updates `@radix-ui/react-avatar` from 1.1.4 to 1.1.6
- [Changelog](https://github.com/radix-ui/primitives/blob/main/release-process.md)
- [Commits](https://github.com/radix-ui/primitives/commits)

Updates `@radix-ui/react-checkbox` from 1.1.5 to 1.2.2
- [Changelog](https://github.com/radix-ui/primitives/blob/main/release-process.md)
- [Commits](https://github.com/radix-ui/primitives/commits)

Updates `@radix-ui/react-context-menu` from 2.2.7 to 2.2.11
- [Changelog](https://github.com/radix-ui/primitives/blob/main/release-process.md)
- [Commits](https://github.com/radix-ui/primitives/commits)

Updates `@radix-ui/react-dialog` from 1.1.7 to 1.1.10
- [Changelog](https://github.com/radix-ui/primitives/blob/main/release-process.md)
- [Commits](https://github.com/radix-ui/primitives/commits)

Updates `@radix-ui/react-dropdown-menu` from 2.1.7 to 2.1.11
- [Changelog](https://github.com/radix-ui/primitives/blob/main/release-process.md)
- [Commits](https://github.com/radix-ui/primitives/commits)

Updates `@radix-ui/react-hover-card` from 1.1.7 to 1.1.10
- [Changelog](https://github.com/radix-ui/primitives/blob/main/release-process.md)
- [Commits](https://github.com/radix-ui/primitives/commits)

Updates `@radix-ui/react-label` from 2.1.3 to 2.1.4
- [Changelog](https://github.com/radix-ui/primitives/blob/main/release-process.md)
- [Commits](https://github.com/radix-ui/primitives/commits)

Updates `@radix-ui/react-navigation-menu` from 1.2.6 to 1.2.9
- [Changelog](https://github.com/radix-ui/primitives/blob/main/release-process.md)
- [Commits](https://github.com/radix-ui/primitives/commits)

Updates `@radix-ui/react-popover` from 1.1.7 to 1.1.10
- [Changelog](https://github.com/radix-ui/primitives/blob/main/release-process.md)
- [Commits](https://github.com/radix-ui/primitives/commits)

Updates `@radix-ui/react-radio-group` from 1.2.4 to 1.3.3
- [Changelog](https://github.com/radix-ui/primitives/blob/main/release-process.md)
- [Commits](https://github.com/radix-ui/primitives/commits)

Updates `@radix-ui/react-scroll-area` from 1.2.4 to 1.2.5
- [Changelog](https://github.com/radix-ui/primitives/blob/main/release-process.md)
- [Commits](https://github.com/radix-ui/primitives/commits)

Updates `@radix-ui/react-select` from 2.1.7 to 2.2.2
- [Changelog](https://github.com/radix-ui/primitives/blob/main/release-process.md)
- [Commits](https://github.com/radix-ui/primitives/commits)

Updates `@radix-ui/react-slider` from 1.2.4 to 1.3.2
- [Changelog](https://github.com/radix-ui/primitives/blob/main/release-process.md)
- [Commits](https://github.com/radix-ui/primitives/commits)

Updates `@radix-ui/react-switch` from 1.1.4 to 1.2.2
- [Changelog](https://github.com/radix-ui/primitives/blob/main/release-process.md)
- [Commits](https://github.com/radix-ui/primitives/commits)

Updates `@radix-ui/react-tabs` from 1.1.4 to 1.1.8
- [Changelog](https://github.com/radix-ui/primitives/blob/main/release-process.md)
- [Commits](https://github.com/radix-ui/primitives/commits)

Updates `@radix-ui/react-toast` from 1.2.7 to 1.2.10
- [Changelog](https://github.com/radix-ui/primitives/blob/main/release-process.md)
- [Commits](https://github.com/radix-ui/primitives/commits)

Updates `@radix-ui/react-tooltip` from 1.2.0 to 1.2.3
- [Changelog](https://github.com/radix-ui/primitives/blob/main/release-process.md)
- [Commits](https://github.com/radix-ui/primitives/commits)

Updates `electron-log` from 5.3.3 to 5.3.4
- [Changelog](https://github.com/megahertz/electron-log/blob/master/CHANGELOG.md)
- [Commits](https://github.com/megahertz/electron-log/compare/v5.3.3...v5.3.4)

Updates `@electron-toolkit/preload` from 3.0.1 to 3.0.2
- [Release notes](https://github.com/alex8088/electron-toolkit/releases)
- [Changelog](https://github.com/alex8088/electron-toolkit/blob/master/packages/preload/CHANGELOG.md)
- [Commits](https://github.com/alex8088/electron-toolkit/commits/preload@3.0.2/packages/preload)

Updates `tldts` from 7.0.0 to 7.0.1
- [Release notes](https://github.com/remusao/tldts/releases)
- [Changelog](https://github.com/remusao/tldts/blob/master/CHANGELOG.md)
- [Commits](https://github.com/remusao/tldts/compare/v7.0.0...v7.0.1)

Updates `i18next-browser-languagedetector` from 8.0.4 to 8.0.5
- [Changelog](https://github.com/i18next/i18next-browser-languageDetector/blob/master/CHANGELOG.md)
- [Commits](https://github.com/i18next/i18next-browser-languageDetector/compare/v8.0.4...v8.0.5)

---
updated-dependencies:
- dependency-name: eslint
  dependency-version: 9.25.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: minor-and-patch
- dependency-name: vite
  dependency-version: 6.3.2
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: minor-and-patch
- dependency-name: vite-bundle-analyzer
  dependency-version: 0.19.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: minor-and-patch
- dependency-name: "@vitejs/plugin-react"
  dependency-version: 4.4.1
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: minor-and-patch
- dependency-name: hono
  dependency-version: 4.7.7
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: minor-and-patch
- dependency-name: expo-splash-screen
  dependency-version: 0.29.24
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: minor-and-patch
- dependency-name: react-native-video
  dependency-version: 6.13.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor-and-patch
- dependency-name: fastify
  dependency-version: 5.3.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: minor-and-patch
- dependency-name: "@radix-ui/react-avatar"
  dependency-version: 1.1.6
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: minor-and-patch
- dependency-name: "@radix-ui/react-checkbox"
  dependency-version: 1.2.2
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor-and-patch
- dependency-name: "@radix-ui/react-context-menu"
  dependency-version: 2.2.11
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: minor-and-patch
- dependency-name: "@radix-ui/react-dialog"
  dependency-version: 1.1.10
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: minor-and-patch
- dependency-name: "@radix-ui/react-dropdown-menu"
  dependency-version: 2.1.11
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: minor-and-patch
- dependency-name: "@radix-ui/react-hover-card"
  dependency-version: 1.1.10
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: minor-and-patch
- dependency-name: "@radix-ui/react-label"
  dependency-version: 2.1.4
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: minor-and-patch
- dependency-name: "@radix-ui/react-navigation-menu"
  dependency-version: 1.2.9
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: minor-and-patch
- dependency-name: "@radix-ui/react-popover"
  dependency-version: 1.1.10
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: minor-and-patch
- dependency-name: "@radix-ui/react-radio-group"
  dependency-version: 1.3.3
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor-and-patch
- dependency-name: "@radix-ui/react-scroll-area"
  dependency-version: 1.2.5
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: minor-and-patch
- dependency-name: "@radix-ui/react-select"
  dependency-version: 2.2.2
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor-and-patch
- dependency-name: "@radix-ui/react-slider"
  dependency-version: 1.3.2
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor-and-patch
- dependency-name: "@radix-ui/react-switch"
  dependency-version: 1.2.2
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor-and-patch
- dependency-name: "@radix-ui/react-tabs"
  dependency-version: 1.1.8
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: minor-and-patch
- dependency-name: "@radix-ui/react-toast"
  dependency-version: 1.2.10
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: minor-and-patch
- dependency-name: "@radix-ui/react-tooltip"
  dependency-version: 1.2.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: minor-and-patch
- dependency-name: electron-log
  dependency-version: 5.3.4
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: minor-and-patch
- dependency-name: "@electron-toolkit/preload"
  dependency-version: 3.0.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: minor-and-patch
- dependency-name: tldts
  dependency-version: 7.0.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: minor-and-patch
- dependency-name: i18next-browser-languagedetector
  dependency-version: 8.0.5
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: minor-and-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-20 17:14:19 +08:00
DIYgod fa27f820cb Merge pull request #3534 from RSSNext/sync/main-to-dev-20250420
Sync main branch to dev branch
2025-04-20 11:55:08 +08:00
Innei a1ec69eb04 chore: remove unnessary config
Signed-off-by: Innei <tukon479@gmail.com>
2025-04-19 20:20:33 +08:00
Innei c254486e41 feat: integrate Folo icon across various components
- Replaced instances of APP_NAME with the new Folo icon in PoweredByFooter, FeedColumnMobile, LoginModalContent, SettingModalLayout, TimelineColumnHeader, and Layout components.
- Added Folo icon component to the project.
- Updated localization to include a new entry for copying the logo text SVG.

Signed-off-by: Innei <tukon479@gmail.com>
2025-04-19 20:11:47 +08:00
DIYgod e615a0f3df docs(mobile): update changelog 2025-04-18 22:58:48 +08:00
DIYgod 4654dc92c2 fix(mobile): images in the body cannot be displayed without specified width and height 2025-04-18 22:52:36 +08: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
DIYgod a7ba0b6988 docs(mobile): update changelog 2025-04-18 18:31:09 +08:00
Innei 764b27c22c chore(changelog): update for v0.1.6 with new features and performance improvements
Signed-off-by: Innei <tukon479@gmail.com>
2025-04-18 17:11:24 +08:00
Innei 3e7e5c3494 chore: update nbump to version 2.1.0 in package.json and pnpm-lock.yaml
Signed-off-by: Innei <tukon479@gmail.com>
2025-04-18 17:06:10 +08:00
Innei a39a363b32 release(mobile): release v0.1.6
Signed-off-by: Innei <tukon479@gmail.com>
2025-04-18 16:23:14 +08:00
Stephen Zhou 1c71bcfc5a chore: update changelog 2025-04-18 15:17:52 +08:00
Whitewater bb12cd2e6a fix(mobile): add react-native-edge-to-edge for status bar handling on Android (#3523) 2025-04-18 13:37:53 +08:00
Innei bf8529cf2b chore: update deps
Signed-off-by: Innei <tukon479@gmail.com>
2025-04-18 13:19:06 +08:00
Innei 6301578ce6 chore: publish config (#3467)
Signed-off-by: Innei <tukon479@gmail.com>
2025-04-18 13:09:31 +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 102f66e264 fix(ios): fix tap gesture conflict handling and animation in ItemPressableModule
Signed-off-by: Innei <tukon479@gmail.com>
2025-04-16 19:43:03 +08:00