Commit Graph

563 Commits

Author SHA1 Message Date
DIYgod 5dfd70ff20
feat: mobile staging and dev icons (#3375)
* feat: display mode in about

* feat(mobile): staging and dev icons

* update
2025-03-31 21:42:40 +08:00
dependabot[bot] ab6cd2eafa
build(deps-dev): bump eas-cli from 15.0.15 to 16.1.0 (#3325)
Bumps [eas-cli](https://github.com/expo/eas-cli) from 15.0.15 to 16.1.0.
- [Release notes](https://github.com/expo/eas-cli/releases)
- [Changelog](https://github.com/expo/eas-cli/blob/main/CHANGELOG.md)
- [Commits](https://github.com/expo/eas-cli/compare/v15.0.15...v16.1.0)

---
updated-dependencies:
- dependency-name: eas-cli
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-31 18:47:33 +08:00
Innei 9c7901356f
refactor(pager): simplify Pager component and enhance iOS functionality
- Replaced the custom native view with a more streamlined PagerView component.
- Updated the Pager component to utilize hooks for page rendering and state management.
- Introduced new methods in EnhancePagerController for better state handling and page transitions.
- Fixed method naming inconsistencies in EnhancePagerViewModule.
- Removed unused ScaleFadeRotate animation component.

Signed-off-by: Innei <tukon479@gmail.com>
2025-03-31 18:25:52 +08:00
Innei b2cafedae8
feat(ios): native enhance page view
Signed-off-by: Innei <tukon479@gmail.com>
2025-03-31 17:05:52 +08:00
Stephen Zhou 25a87a90d7
fix(mobile): show title and translation at grid footer, close #3351 2025-03-31 10:03:03 +08:00
Stephen Zhou 2a6ed5b6f3
build: update pod repo before build 2025-03-31 09:32:15 +08:00
Innei a6d264de85
refactor: follow native example and int native pager view
Signed-off-by: Innei <tukon479@gmail.com>
2025-03-31 00:49:58 +08:00
DIYgod 2881d655ee
feat: staging build (#3365)
* feat: move constants isElectronBuild

* feat: move constants isWebBuild

* feat: unified isDev

* feat: unified isProd

* chore: staging build

* update

* fix

* fix

* feat: staging icons

* fix
2025-03-30 22:13:11 +08:00
Innei 1c99cbd033
refactor: rename internal context retrieval method and remove unused popTo function
- Renamed `__internal_getCtxValue` to `__dangerous_getCtxValue` for clarity.
- Removed the unused `popTo` method from the Navigation class.
- Updated references to the renamed method in StackNavigation and WrappedScreenItem components.
- Introduced a new `handleDismiss` function in WrappedScreenItem to handle dismiss events more effectively.

Signed-off-by: Innei <tukon479@gmail.com>
2025-03-30 21:57:47 +08:00
Innei 14ae20fb5a
fix: wrapper scrollview to onboarding screens avoide small height mobile viewport
- Changed stack presentation for the OnboardingScreen to "fullScreenModal".
- Wrapped StepInterests and StepPreferences components in OnboardingSectionScreenContainer for consistent layout.
- Replaced View with Animated.View in OnboardingScreen for improved animations during transitions.

Signed-off-by: Innei <tukon479@gmail.com>
2025-03-30 17:28:14 +08:00
dependabot[bot] b75dd12d51
build(deps): bump the patch group with 17 updates (#3358)
Bumps the patch group with 17 updates:

| Package | From | To |
| --- | --- | --- |
| [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) | `22.13.13` | `22.13.14` |
| [@sentry/vite-plugin](https://github.com/getsentry/sentry-javascript-bundler-plugins) | `3.2.2` | `3.2.4` |
| [@react-native-firebase/analytics](https://github.com/invertase/react-native-firebase) | `21.12.0` | `21.12.3` |
| [@react-native-firebase/app](https://github.com/invertase/react-native-firebase) | `21.12.0` | `21.12.3` |
| [@react-native-firebase/app-check](https://github.com/invertase/react-native-firebase) | `21.12.0` | `21.12.3` |
| [@react-native-firebase/crashlytics](https://github.com/invertase/react-native-firebase) | `21.12.0` | `21.12.3` |
| [expo](https://github.com/expo/expo/tree/HEAD/packages/expo) | `52.0.40` | `52.0.41` |
| [expo-image](https://github.com/expo/expo/tree/HEAD/packages/expo-image) | `2.0.6` | `2.0.7` |
| [expo-sqlite](https://github.com/expo/expo/tree/HEAD/packages/expo-sqlite) | `15.1.2` | `15.1.3` |
| [react-native](https://github.com/facebook/react-native/tree/HEAD/packages/react-native) | `0.77.1` | `0.77.2` |
| [react-native-ios-utilities](https://github.com/dominicstop/react-native-ios-utilities) | `5.1.2` | `5.1.3` |
| [react-native-webview](https://github.com/react-native-webview/react-native-webview) | `13.13.4` | `13.13.5` |
| [drizzle-kit](https://github.com/drizzle-team/drizzle-orm) | `0.30.5` | `0.30.6` |
| [react-router](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router) | `7.4.0` | `7.4.1` |
| [satori](https://github.com/vercel/satori) | `0.12.1` | `0.12.2` |
| [sonner](https://github.com/emilkowalski/sonner) | `2.0.1` | `2.0.2` |
| [electron-log](https://github.com/megahertz/electron-log) | `5.3.2` | `5.3.3` |


Updates `@types/node` from 22.13.13 to 22.13.14
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

Updates `@sentry/vite-plugin` from 3.2.2 to 3.2.4
- [Release notes](https://github.com/getsentry/sentry-javascript-bundler-plugins/releases)
- [Changelog](https://github.com/getsentry/sentry-javascript-bundler-plugins/blob/main/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-javascript-bundler-plugins/compare/3.2.2...3.2.4)

Updates `@react-native-firebase/analytics` from 21.12.0 to 21.12.3
- [Release notes](https://github.com/invertase/react-native-firebase/releases)
- [Changelog](https://github.com/invertase/react-native-firebase/blob/main/CHANGELOG.md)
- [Commits](https://github.com/invertase/react-native-firebase/compare/v21.12.0...v21.12.3)

Updates `@react-native-firebase/app` from 21.12.0 to 21.12.3
- [Release notes](https://github.com/invertase/react-native-firebase/releases)
- [Changelog](https://github.com/invertase/react-native-firebase/blob/main/CHANGELOG.md)
- [Commits](https://github.com/invertase/react-native-firebase/compare/v21.12.0...v21.12.3)

Updates `@react-native-firebase/app-check` from 21.12.0 to 21.12.3
- [Release notes](https://github.com/invertase/react-native-firebase/releases)
- [Changelog](https://github.com/invertase/react-native-firebase/blob/main/CHANGELOG.md)
- [Commits](https://github.com/invertase/react-native-firebase/compare/v21.12.0...v21.12.3)

Updates `@react-native-firebase/crashlytics` from 21.12.0 to 21.12.3
- [Release notes](https://github.com/invertase/react-native-firebase/releases)
- [Changelog](https://github.com/invertase/react-native-firebase/blob/main/CHANGELOG.md)
- [Commits](https://github.com/invertase/react-native-firebase/compare/v21.12.0...v21.12.3)

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

Updates `expo-image` from 2.0.6 to 2.0.7
- [Changelog](https://github.com/expo/expo/blob/main/packages/expo-image/CHANGELOG.md)
- [Commits](https://github.com/expo/expo/commits/HEAD/packages/expo-image)

Updates `expo-sqlite` from 15.1.2 to 15.1.3
- [Changelog](https://github.com/expo/expo/blob/main/packages/expo-sqlite/CHANGELOG.md)
- [Commits](https://github.com/expo/expo/commits/HEAD/packages/expo-sqlite)

Updates `react-native` from 0.77.1 to 0.77.2
- [Release notes](https://github.com/facebook/react-native/releases)
- [Changelog](https://github.com/facebook/react-native/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/react-native/commits/v0.77.2/packages/react-native)

Updates `react-native-ios-utilities` from 5.1.2 to 5.1.3
- [Release notes](https://github.com/dominicstop/react-native-ios-utilities/releases)
- [Commits](https://github.com/dominicstop/react-native-ios-utilities/compare/v5.1.2...v5.1.3)

Updates `react-native-webview` from 13.13.4 to 13.13.5
- [Release notes](https://github.com/react-native-webview/react-native-webview/releases)
- [Changelog](https://github.com/react-native-webview/react-native-webview/blob/master/.releaserc)
- [Commits](https://github.com/react-native-webview/react-native-webview/compare/v13.13.4...v13.13.5)

Updates `drizzle-kit` from 0.30.5 to 0.30.6
- [Release notes](https://github.com/drizzle-team/drizzle-orm/releases)
- [Commits](https://github.com/drizzle-team/drizzle-orm/compare/drizzle-kit@0.30.5...drizzle-kit@0.30.6)

Updates `react-router` from 7.4.0 to 7.4.1
- [Release notes](https://github.com/remix-run/react-router/releases)
- [Changelog](https://github.com/remix-run/react-router/blob/main/packages/react-router/CHANGELOG.md)
- [Commits](https://github.com/remix-run/react-router/commits/react-router@7.4.1/packages/react-router)

Updates `satori` from 0.12.1 to 0.12.2
- [Release notes](https://github.com/vercel/satori/releases)
- [Commits](https://github.com/vercel/satori/compare/0.12.1...0.12.2)

Updates `sonner` from 2.0.1 to 2.0.2
- [Release notes](https://github.com/emilkowalski/sonner/releases)
- [Commits](https://github.com/emilkowalski/sonner/compare/v2.0.1...v2.0.2)

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

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: patch
- dependency-name: "@sentry/vite-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: patch
- dependency-name: "@react-native-firebase/analytics"
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: patch
- dependency-name: "@react-native-firebase/app"
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: patch
- dependency-name: "@react-native-firebase/app-check"
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: patch
- dependency-name: "@react-native-firebase/crashlytics"
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: patch
- dependency-name: expo
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: patch
- dependency-name: expo-image
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: patch
- dependency-name: expo-sqlite
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: patch
- dependency-name: react-native
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: patch
- dependency-name: react-native-ios-utilities
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: patch
- dependency-name: react-native-webview
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: patch
- dependency-name: drizzle-kit
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: patch
- dependency-name: react-router
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: patch
- dependency-name: satori
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: patch
- dependency-name: sonner
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: patch
- dependency-name: electron-log
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-30 15:52:32 +08:00
dependabot[bot] 38571c4e0c
build(deps): bump the minor group across 1 directory with 13 updates (#3350)
* build(deps): bump the minor group across 1 directory with 13 updates

Bumps the minor group with 13 updates in the / directory:

| Package | From | To |
| --- | --- | --- |
| [electron](https://github.com/electron/electron) | `34.3.4` | `34.4.1` |
| [@tanstack/query-sync-storage-persister](https://github.com/TanStack/query/tree/HEAD/packages/query-sync-storage-persister) | `5.69.0` | `5.70.0` |
| [@tanstack/react-query](https://github.com/TanStack/query/tree/HEAD/packages/react-query) | `5.69.0` | `5.70.0` |
| [@tanstack/react-query-persist-client](https://github.com/TanStack/query/tree/HEAD/packages/react-query-persist-client) | `5.69.0` | `5.70.0` |
| [es-toolkit](https://github.com/toss/es-toolkit) | `1.33.0` | `1.34.1` |
| [react-hook-form](https://github.com/react-hook-form/react-hook-form) | `7.54.2` | `7.55.0` |
| [react-native-screens](https://github.com/software-mansion/react-native-screens) | `4.9.2` | `4.10.0` |
| [use-sync-external-store](https://github.com/facebook/react/tree/HEAD/packages/use-sync-external-store) | `1.4.0` | `1.5.0` |
| [@sentry/react](https://github.com/getsentry/sentry-javascript) | `9.9.0` | `9.10.1` |
| [framer-motion](https://github.com/motiondivision/motion) | `12.5.0` | `12.6.2` |
| [builder-util-runtime](https://github.com/electron-userland/electron-builder/tree/HEAD/packages/builder-util-runtime) | `9.2.10` | `9.3.1` |
| [electron-updater](https://github.com/electron-userland/electron-builder/tree/HEAD/packages/electron-updater) | `6.3.9` | `6.6.2` |
| [@tanstack/react-query-devtools](https://github.com/TanStack/query/tree/HEAD/packages/react-query-devtools) | `5.69.0` | `5.70.0` |



Updates `electron` from 34.3.4 to 34.4.1
- [Release notes](https://github.com/electron/electron/releases)
- [Changelog](https://github.com/electron/electron/blob/main/docs/breaking-changes.md)
- [Commits](https://github.com/electron/electron/compare/v34.3.4...v34.4.1)

Updates `@tanstack/query-sync-storage-persister` from 5.69.0 to 5.70.0
- [Release notes](https://github.com/TanStack/query/releases)
- [Commits](https://github.com/TanStack/query/commits/v5.70.0/packages/query-sync-storage-persister)

Updates `@tanstack/react-query` from 5.69.0 to 5.70.0
- [Release notes](https://github.com/TanStack/query/releases)
- [Commits](https://github.com/TanStack/query/commits/v5.70.0/packages/react-query)

Updates `@tanstack/react-query-persist-client` from 5.69.0 to 5.70.0
- [Release notes](https://github.com/TanStack/query/releases)
- [Commits](https://github.com/TanStack/query/commits/v5.70.0/packages/react-query-persist-client)

Updates `es-toolkit` from 1.33.0 to 1.34.1
- [Release notes](https://github.com/toss/es-toolkit/releases)
- [Changelog](https://github.com/toss/es-toolkit/blob/main/CHANGELOG.md)
- [Commits](https://github.com/toss/es-toolkit/compare/v1.33.0...v1.34.1)

Updates `react-hook-form` from 7.54.2 to 7.55.0
- [Release notes](https://github.com/react-hook-form/react-hook-form/releases)
- [Changelog](https://github.com/react-hook-form/react-hook-form/blob/master/CHANGELOG.md)
- [Commits](https://github.com/react-hook-form/react-hook-form/compare/v7.54.2...v7.55.0)

Updates `react-native-screens` from 4.9.2 to 4.10.0
- [Release notes](https://github.com/software-mansion/react-native-screens/releases)
- [Commits](https://github.com/software-mansion/react-native-screens/compare/4.9.2...4.10.0)

Updates `use-sync-external-store` from 1.4.0 to 1.5.0
- [Release notes](https://github.com/facebook/react/releases)
- [Changelog](https://github.com/facebook/react/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/react/commits/HEAD/packages/use-sync-external-store)

Updates `@sentry/react` from 9.9.0 to 9.10.1
- [Release notes](https://github.com/getsentry/sentry-javascript/releases)
- [Changelog](https://github.com/getsentry/sentry-javascript/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-javascript/compare/9.9.0...9.10.1)

Updates `framer-motion` from 12.5.0 to 12.6.2
- [Changelog](https://github.com/motiondivision/motion/blob/main/CHANGELOG.md)
- [Commits](https://github.com/motiondivision/motion/compare/v12.5.0...v12.6.2)

Updates `builder-util-runtime` from 9.2.10 to 9.3.1
- [Release notes](https://github.com/electron-userland/electron-builder/releases)
- [Changelog](https://github.com/electron-userland/electron-builder/blob/master/packages/builder-util-runtime/CHANGELOG.md)
- [Commits](https://github.com/electron-userland/electron-builder/commits/HEAD/packages/builder-util-runtime)

Updates `electron-updater` from 6.3.9 to 6.6.2
- [Release notes](https://github.com/electron-userland/electron-builder/releases)
- [Changelog](https://github.com/electron-userland/electron-builder/blob/master/packages/electron-updater/CHANGELOG.md)
- [Commits](https://github.com/electron-userland/electron-builder/commits/electron-updater@6.6.2/packages/electron-updater)

Updates `@tanstack/react-query-devtools` from 5.69.0 to 5.70.0
- [Release notes](https://github.com/TanStack/query/releases)
- [Commits](https://github.com/TanStack/query/commits/v5.70.0/packages/react-query-devtools)

---
updated-dependencies:
- dependency-name: electron
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: minor
- dependency-name: "@tanstack/query-sync-storage-persister"
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor
- dependency-name: "@tanstack/react-query"
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor
- dependency-name: "@tanstack/react-query-persist-client"
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor
- dependency-name: es-toolkit
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor
- dependency-name: react-hook-form
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor
- dependency-name: react-native-screens
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor
- dependency-name: use-sync-external-store
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor
- dependency-name: "@sentry/react"
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor
- dependency-name: framer-motion
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor
- dependency-name: builder-util-runtime
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor
- dependency-name: electron-updater
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor
- dependency-name: "@tanstack/react-query-devtools"
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* fix: types

* fix: types

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: DIYgod <i@diygod.me>
2025-03-30 13:53:47 +08:00
Stephen Zhou ea758ca2b2
feat: allow link to social provider with different email (#3355) 2025-03-30 04:52:34 +00:00
Stephen Zhou 0a1f9c4216
chore: update hono type 2025-03-30 12:02:10 +08:00
Stephen Zhou 90320f23b5
build: update better-auth (#3344) 2025-03-30 07:56:40 +08:00
Innei 936dfa9082
fix: setting sync queue
Signed-off-by: Innei <tukon479@gmail.com>
2025-03-29 22:00:05 +08:00
DIYgod 0f384b0c73
fix(mobile): inline description translation 2025-03-28 20:03:03 +08:00
DIYgod 1b96cc913a
docs: update changelog 2025-03-28 18:32:11 +08:00
DIYgod 0e2b550a4b
feat(mobile): social view translation separator 2025-03-28 18:17:01 +08:00
DIYgod 614fc7356a
feat(mobile): change translation separator 2025-03-28 18:03:42 +08:00
DIYgod 10baaa9bde
fix: types 2025-03-28 17:44:24 +08:00
Innei 28a6a5d5d3
fix: add email verification to users table and update related migrations
- Added `email_verified` column to the `users` table in the SQL migration.
- Updated migration imports to include the new migration for `0019_wonderful_shape`.
- Modified the user schema to include `emailVerified` field.
- Updated user handling in the store to manage the new `emailVerified` property.

Signed-off-by: Innei <tukon479@gmail.com>
2025-03-28 17:25:17 +08:00
Stephen Zhou 879d6dfa28
fix(mobile): translation separator, translate for entry title 2025-03-28 16:28:12 +08:00
DIYgod 48bae78253
release(mobile): release v0.1.3 2025-03-28 16:11:32 +08:00
Stephen Zhou abc35be47c
feat: translate on server, global action setting (#3294)
* refactor: translate on server

* refactor: remove summary and translation action

* enable summary and translation from settings

* remove translate and summary from action

* follow setting

* ignore whitespace change

* correct content translation for social item

* update

* update

* fix content

* global setting for summary on mobile

* translation store

* show and cache translation

* update migrate sql

* token header for social sign in

* remove readabilityContent in web view

* ci debug

* check repository

* ci check condition

* fix readability

* show entry content translation

* update

* update

* translation for social item

* Revert "remove translate and summary from action"

This reverts commit c8a195a9b224b308cbcd86a6293ffae03e946a72.

* update text

* support global,once,action summary and translation

* fix condition

* refactor

* refactor: extract use entry translation hook

* update

* rename

* Revert "rename"

This reverts commit 672092f88c04670c7e1017aaf8b9caa6499f1877.

* update

* update

* fix

* translation header action

* unsave prompt

* chore: auto-fix linting and formatting issues

* connect and row

* prompt on mobile before leave

* update

* follow action setting

* hide button when follow action

* update changelog
2025-03-28 15:14:03 +08:00
DIYgod 11b1023bea
docs: add changelog 2025-03-28 13:36:29 +08:00
DIYgod e4d5dbd7a7
feat: firebase analytics 2025-03-28 00:01:07 +08:00
Whitewater 446733450a
fix: add locale support for balance formatting (#3319)
* fix: add locale support for balance formatting

* refactor: rewrite toScientificNotation function with locale support and tests

* test: add locale-specific tests for toScientificNotation function

* chore: update usage
2025-03-27 14:04:04 +00:00
DIYgod ea4a99d1d5
feat(mobile): add login track 2025-03-27 20:27:36 +08:00
DIYgod bf127de547
feat(mobile): use firebase analytics together with track 2025-03-27 19:52:55 +08:00
DIYgod d2af10f366
feat(mobile): set op user agent in analytics init 2025-03-27 17:46:59 +08:00
Stephen Zhou ed86426728
Revert "fix(mobile): token header for social sign in"
This reverts commit dd0058e4aa.
2025-03-27 17:44:41 +08:00
DIYgod 962c31ffed
feat(mobile): user agent 2025-03-27 17:40:24 +08:00
Innei 2558fe656d
fix(mobile): adjust margin for email section in edit-email screen
- Reduced top margin from 8 to 4 for the email section to improve layout consistency.

Signed-off-by: Innei <tukon479@gmail.com>
2025-03-27 14:56:24 +08:00
Stephen Zhou dfd52756a4
build: update mgc icon to 1.36 (#3310) 2025-03-27 11:35:43 +08:00
Stephen Zhou dd0058e4aa
fix(mobile): token header for social sign in 2025-03-27 11:10:04 +08:00
Innei 883d21a7df
feat(mobile): register InvitationScreen in sitemap for modal navigation
Signed-off-by: Innei <tukon479@gmail.com>
2025-03-26 23:24:56 +08:00
Whitewater 92f76b93d5
fix(mobile): adjust truncate styles in navigation header title (#3282) 2025-03-26 22:02:45 +08:00
DIYgod 7b6950185a
feat(mobile): nativate to invitation screen for api invitation error 2025-03-26 21:54:54 +08:00
DIYgod 3f551c6fcf
feat(mobile): invitation screen 2025-03-26 21:44:13 +08:00
DIYgod 537ef01c83
feat(mobile): get user role 2025-03-26 21:44:12 +08:00
Innei 62e83822bd
chore(mobile): update iOS deployment target and podspec platform versions
- Removed the deployment target for iOS in app.config.ts.
- Updated the iOS and tvOS platform versions in FollowNative.podspec from '17.0' to '15.1'.
- Cleaned up unused spacing in ProfileView.swift.

These changes ensure compatibility with older iOS versions while maintaining code clarity.

Signed-off-by: Innei <tukon479@gmail.com>
2025-03-26 21:15:05 +08:00
DIYgod 680a0fd7db
feat(mobile): optimize verification email sending 2025-03-26 19:52:12 +08:00
Innei 1cd67cdac5
feat(mobile): enhance image sharing functionality with URL support
- Updated UIImage extension to include URL handling in the activity item source.
- Modified HelperModule to accept an optional URL parameter when sharing images.
- Adjusted ImageContextMenu to pass the image URL during sharing actions.

This improves the image sharing experience by allowing users to share images along with their associated URLs.

Signed-off-by: Innei <tukon479@gmail.com>
2025-03-26 18:29:01 +08:00
Innei 9cfd4aacfd
refactor(mobile): replace SafeModalScrollView with SafeNavigationScrollView across multiple screens
- Removed SafeModalScrollView component and replaced it with SafeNavigationScrollView in various files including FollowList, EditCondition, EditRewriteRules, EditWebhooks, and EditEmail screens.
- Updated import statements accordingly to reflect the changes.

This change enhances consistency in the navigation handling across the application.

Signed-off-by: Innei <tukon479@gmail.com>
2025-03-26 16:59:22 +08:00
Innei 7ce1242f30
fix: image context menu actions via native code, fixed #3262
- Introduced a new UIImage extension to create a UIActivityItemSource, allowing images to be shared with titles and URLs.
- Enhanced HelperModule with new functions to save, share, copy images, and retrieve base64 from UIImageView.
- Updated MediaCarousel to use preview_image_url for video context menus.
- Refactored Image and ImageContextMenu components for improved image handling and context menu actions.

Signed-off-by: Innei <tukon479@gmail.com>
2025-03-26 16:50:21 +08:00
Whitewater b89fe51b96
fix(mobile): replace SafeModalScrollView with SafeNavigationScrollView in SelectReadingModeScreen (#3300) 2025-03-26 08:48:07 +00:00
DIYgod 0bee60c02a
fix(mobile): header title overflow 2025-03-26 12:58:44 +08:00
DIYgod 5b0bf7d630
chore: fix firebase deps 2025-03-26 11:36:08 +08:00
DIYgod acc55bbc18
build(deps): bump the patch group 2025-03-26 11:08:11 +08:00