Commit Graph

164 Commits

Author SHA1 Message Date
Innei 80d83e30ec
chore: bump mobile version for tf
Signed-off-by: Innei <tukon479@gmail.com>
2025-08-28 18:19:49 +08:00
Innei cf7c3e653e
Merge pull request #4374 from RSSNext/sync/main-to-dev-20250824
Sync main branch to dev branch
2025-08-25 16:13:13 +08:00
Innei a9d70a9900
refactor(legal): remove legal package and update references
- Deleted the `@follow/legal` package and its associated files, including privacy and terms of service documents.
- Updated various components to remove dependencies on the legal package, replacing modal presentations with direct links to external privacy and terms pages.
- Adjusted configuration files and routes to reflect the removal of legal utilities, ensuring a cleaner codebase.

These changes streamline the project by eliminating unnecessary dependencies and improving the user experience with direct access to legal documents.

Signed-off-by: Innei <tukon479@gmail.com>
2025-08-24 01:46:30 +08:00
Innei 5a5e8adc5b
release(mobile): release v0.2.6 2025-08-21 19:53:27 +08:00
Innei 90d2c62e53
release(mobile): release v0.2.5 2025-08-07 14:44:40 +08:00
Whitewater 3e04dc7291
refactor: upgrade FlashList to v2 (#4298)
* refactor: upgrade FlashList to v2

* chore: upgrade @shopify/flash-list to v2.0.0

* chore: update packageManager version to pnpm@10.14.0

* fix: revert packageManager version to pnpm@10.12.1

* chore: update ref type for TimelineSelectorMasonryList component
2025-08-03 13:56:39 +08:00
Innei 680d7efc26
chore(dependencies): update nbump to version 2.1.5 across multiple packages
- Updated nbump version from 2.1.3 to 2.1.5 in pnpm-lock.yaml, package.json for desktop, mobile, and readability packages.
- Updated zx version from 8.6.1 to 8.7.2 in pnpm-lock.yaml.

Signed-off-by: Innei <tukon479@gmail.com>
2025-07-29 23:17:17 +08:00
Innei 0715cbce56
Merge pull request #4245 from RSSNext/sync/main-to-dev-20250725
Sync main branch to dev branch
2025-07-25 19:27:44 +08:00
Innei 0c128d3e58
feat(changelog-cli): implement AI-driven changelog generation with OpenAI integration
- Added a new changelog CLI tool that analyzes git commits and generates user-friendly changelog entries.
- Integrated OpenAI for AI-powered commit analysis and categorization.
- Configurable AI model settings and support for custom endpoints.
- Introduced a configuration file for internal team members and commit analysis categories.
- Implemented fallback support for keyword-based analysis if AI is unavailable.
- Updated package.json and README with usage instructions and examples.

Signed-off-by: Innei <tukon479@gmail.com>
2025-07-25 00:09:11 +08:00
Innei bf795bc52b
release(mobile): release v0.2.4 2025-07-24 16:17:50 +08:00
Whitewater 2c1e84faae
fix: update react-native-reanimated to version 3.19.0 (#4233) 2025-07-23 20:56:56 +00:00
Stephen Zhou 7a4b7554e0
feat: use custom expo update server (#4206) 2025-07-19 00:54:48 +08:00
Innei 56a7593586
chore: update expo-image package to version 2.3.2 and remove iOS image loading workaround
Signed-off-by: Innei <tukon479@gmail.com>
2025-07-11 22:09:26 +08:00
DIYgod d10e4c7a8a
release(mobile): release v0.2.3 2025-07-11 12:52:32 +08:00
Stephen Zhou 30bb37c7b9
feat: referral (#3761)
Co-authored-by: DIYgod <i@diygod.me>
Co-authored-by: Innei <tukon479@gmail.com>
2025-07-10 09:47:11 +08:00
Innei dc6bf7cb09
chore: update dependencies across multiple packages
- Bump various dependencies in package.json files, including updates to eslint, prettier, vite, and react-related packages.
- Update devDependencies such as es-toolkit, nbump, and others to their latest versions.
- Ensure consistency in @types/node and other related packages across the project.

This update enhances compatibility and performance across the application.

Signed-off-by: Innei <tukon479@gmail.com>
2025-07-07 20:13:51 +08:00
DIYgod 35fb71cbbe
feat: x-app-platform header 2025-07-01 20:31:44 +08:00
Innei cfa1d9ff0a
feat: add title-case package and use it for label formatting in GroupedList component
Signed-off-by: Innei <tukon479@gmail.com>
2025-07-01 14:17:38 +08:00
Innei 4c80e83787
feat(analytics): add posthog-react-native integration and session management
- Integrated posthog-react-native for enhanced analytics tracking.
- Added client and session ID management functionality.
- Updated Info.plist and Expo.plist for configuration changes.
- Updated package dependencies to include posthog-react-native version 4.1.3.

Signed-off-by: Innei <tukon479@gmail.com>
2025-06-30 19:44:25 +08:00
Stephen Zhou 65730a3e44
chore: bring expo-drizzle-studio-plugin back 2025-06-30 10:51:22 +08:00
Innei bcf4f78fab
release(mobile): release v0.2.2 2025-06-23 22:36:09 +08:00
Whitewater 6a7ebd2c01
chore(mobile): upgrade dependencies for mobile (#3971)
* chore: upgrade dependencies

* chore: update dependencies for native example
2025-06-21 14:01:22 +08:00
Innei 6d76d6b558
chore: update dependencies and improve type safety
- Updated various package dependencies across the project, including @sentry/react, @tanstack/react-query, and others to their latest versions for improved performance and security.
- Enhanced type safety in several components by refining type definitions, particularly in motion-related imports.
- Adjusted transition configurations to utilize new presets for smoother animations.

Signed-off-by: Innei <tukon479@gmail.com>
2025-06-20 23:32:42 +08:00
DIYgod 77bdeb9b8c
release(mobile): release v0.2.1 2025-06-05 20:47:32 +08:00
Innei e656cfd3a2
chore: update dependencies
- Changed the ESLint rule for "package-json-extend/ensure-package-version" from "warn" to "error" to enforce stricter package version checks.
- Updated various dependencies across multiple package.json files, including:
  - Upgraded @eslint/compat to version 1.2.9
  - Updated @types/node, @types/react, and @types/react-dom to their latest versions.
  - Bumped eslint to version 9.27.0 and lint-staged to version 16.1.0.
  - Updated several other packages such as turbo, tsx, and various Radix UI components to their latest versions.
- Ensured compatibility with the latest versions of dependencies.

Signed-off-by: Innei <tukon479@gmail.com>
2025-05-28 22:16:06 +08:00
Stephen Zhou 1f53a972b0
chore: replace drizzle-studio-expo with expo-sqlite-devtools
https://github.com/drizzle-team/drizzle-studio-expo/issues/12
2025-05-27 16:14:54 +08:00
Stephen Zhou 812efafbef
chore(mobile): remove drizzle kit 2025-05-27 14:57:32 +08:00
Stephen Zhou 5804071939
chore(mobile): remove babel plugin module resolver 2025-05-27 14:57:09 +08:00
Stephen Zhou 0a2a099d7b
refactor(mobile): sperate store package (#3819) 2025-05-26 22:54:15 +08:00
Stephen Zhou fb40cbea93
refactor(mobile): separate database package (#3809) 2025-05-26 14:48:27 +08:00
DIYgod db0d36ef2a
release(mobile): release v0.2.0 2025-05-24 09:58:11 +08:00
Innei 8bcbb7b067
chore(dependencies): update react-native-uikit-colors and tailwindcss-uikit-colors to version 0.6.2
- Updated the version of react-native-uikit-colors from 0.5.2 to 0.6.2 in multiple package.json files.
- Updated the version of tailwindcss-uikit-colors from 0.6.0 to 0.6.2 in relevant package.json files.
- Ensured consistency across the project by aligning dependency versions.

These changes help maintain compatibility and leverage improvements in the updated packages.

Signed-off-by: Innei <tukon479@gmail.com>
2025-05-22 15:09:04 +08:00
DIYgod 19a1573987
release(mobile): release v0.1.9 2025-05-16 13:28:03 +08:00
Innei e69d120bd9
feat(legal): integrate privacy policy and terms of service into the application, #3577
- Added a new internal package for legal documents, including privacy policy and terms of service.
- Implemented a build script to convert markdown files to HTML for easy access.
- Updated the mobile and desktop applications to link to the new legal documents.
- Enhanced the login modal to include links to the privacy policy and terms of service.
- Updated routing in the SSR application to serve the legal documents.

These changes ensure compliance with legal requirements and improve user access to important information.

Signed-off-by: Innei <tukon479@gmail.com>
2025-05-15 23:58:07 +08:00
DIYgod 51d571e722
release(mobile): release v0.1.8 2025-05-08 19:59:35 +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 70474b9154
refactor: migrate to expo-background-task (#3679) 2025-05-07 15:02:00 +00: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
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
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
DIYgod 992d787a10
release(mobile): release v0.1.7 2025-04-25 12:48:58 +08:00
Innei 1ea969fa9e
chore(dependencies): update tailwindcss-uikit-colors and react-native-uikit-colors to version 0.5.2
- Updated tailwindcss-uikit-colors in package.json files across multiple projects.
- Updated react-native-uikit-colors in mobile and pnpm-lock.yaml files for consistency.
- Adjusted ProfileButton component styling for macOS compatibility.

Signed-off-by: Innei <tukon479@gmail.com>
2025-04-24 12:58:21 +08:00
Stephen Zhou 1f5dd2a165
refactor(mobile): replace react-native-video with expo-video, hide control in list, close #3417 2025-04-23 13:21:48 +08:00
Stephen Zhou e0b2611e39
feat(mobile): video support (#3512) 2025-04-23 03:58:50 +00:00
Innei fb8ee1b3b5
chore: update tailwindcss-uikit-colors to fix ts import
Signed-off-by: Innei <tukon479@gmail.com>
2025-04-23 00:47:08 +08:00
Innei 1c588f39ac
refactor: replace some legacy css color variables
Signed-off-by: Innei <tukon479@gmail.com>
2025-04-22 23:12:25 +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
DIYgod f729869691
Revert "feat(mobile): remove expo-updates"
This reverts commit 556ccfcf61.
2025-04-21 19:28:37 +08:00