Commit Graph

1845 Commits

Author SHA1 Message Date
Stephen Zhou 76ebd6969d
refactor(mobile): allow do not open links in app (#3101) 2025-03-13 17:20:07 +08:00
DIYgod 087906aeb4
chore: update dependencies 2025-03-13 17:14:56 +08:00
dependabot[bot] 918e6aecf6
build(deps): bump cookie-es from 1.2.2 to 2.0.0 (#3080)
Bumps [cookie-es](https://github.com/unjs/cookie-es) from 1.2.2 to 2.0.0.
- [Release notes](https://github.com/unjs/cookie-es/releases)
- [Changelog](https://github.com/unjs/cookie-es/blob/main/CHANGELOG.md)
- [Commits](https://github.com/unjs/cookie-es/compare/v1.2.2...v2.0.0)

---
updated-dependencies:
- dependency-name: cookie-es
  dependency-type: direct:production
  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-13 16:40:43 +08:00
dependabot[bot] 3e21786e79
build(deps): bump @sentry/electron from 5.11.0 to 6.1.0 (#3060)
Bumps [@sentry/electron](https://github.com/getsentry/sentry-electron) from 5.11.0 to 6.1.0.
- [Release notes](https://github.com/getsentry/sentry-electron/releases)
- [Changelog](https://github.com/getsentry/sentry-electron/blob/master/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-electron/compare/5.11.0...6.1.0)

---
updated-dependencies:
- dependency-name: "@sentry/electron"
  dependency-type: direct:production
  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-13 16:23:01 +08:00
Innei 477f9ea0e6
refactor(tabbar): update TabBarBackground to include a separator view and remove border styling
- Removed borderTopWidth from styles.
- Added a new separator view with animated opacity to TabBarBackground for improved visual separation.

Signed-off-by: Innei <tukon479@gmail.com>
2025-03-13 14:48:17 +08:00
Innei 2eeb8e75e9
refactor(settings): replace UINavigationHeaderActionButton with GroupedPlainButtonCell for New Rule button
Signed-off-by: Innei <tukon479@gmail.com>
2025-03-13 14:17:55 +08:00
DIYgod ba383ae98a
fix: remove react-router v7_startTransition 2025-03-13 12:45:58 +08:00
DIYgod 724ab17d1a
chore(mobile): upgrade react-native 2025-03-13 12:28:20 +08:00
DIYgod ae458a018f
chore: update dependencies 2025-03-13 11:51:32 +08:00
dependabot[bot] 1fac6a91e5
build(deps): bump tailwindcss from 3.4.16 to 3.4.17 (#3049)
Bumps [tailwindcss](https://github.com/tailwindlabs/tailwindcss/tree/HEAD/packages/tailwindcss) from 3.4.16 to 3.4.17.
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/commits/v3.4.17/packages/tailwindcss)

---
updated-dependencies:
- dependency-name: tailwindcss
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-13 11:38:56 +08:00
dependabot[bot] 36fedc1ffb
build(deps): bump drizzle-orm from 0.39.3 to 0.40.0 (#3058)
Bumps [drizzle-orm](https://github.com/drizzle-team/drizzle-orm) from 0.39.3 to 0.40.0.
- [Release notes](https://github.com/drizzle-team/drizzle-orm/releases)
- [Commits](https://github.com/drizzle-team/drizzle-orm/compare/0.39.3...0.40.0)

---
updated-dependencies:
- dependency-name: drizzle-orm
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-13 11:38:33 +08:00
dependabot[bot] 1acc1222ab
build(deps): bump @tanstack/react-virtual from 3.13.0 to 3.13.3 (#3052)
Bumps [@tanstack/react-virtual](https://github.com/TanStack/virtual/tree/HEAD/packages/react-virtual) from 3.13.0 to 3.13.3.
- [Release notes](https://github.com/TanStack/virtual/releases)
- [Changelog](https://github.com/TanStack/virtual/blob/main/packages/react-virtual/CHANGELOG.md)
- [Commits](https://github.com/TanStack/virtual/commits/@tanstack/react-virtual@3.13.3/packages/react-virtual)

---
updated-dependencies:
- dependency-name: "@tanstack/react-virtual"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-13 11:37:03 +08:00
dependabot[bot] 04252e5b72
build(deps-dev): bump @vitejs/plugin-legacy from 6.0.1 to 6.0.2 (#3051)
Bumps [@vitejs/plugin-legacy](https://github.com/vitejs/vite/tree/HEAD/packages/plugin-legacy) from 6.0.1 to 6.0.2.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/plugin-legacy/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v6.0.2/packages/plugin-legacy)

---
updated-dependencies:
- dependency-name: "@vitejs/plugin-legacy"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-13 11:36:43 +08:00
dependabot[bot] 8064138f5e
build(deps-dev): bump @sentry/vite-plugin from 3.1.2 to 3.2.2 (#3050)
Bumps [@sentry/vite-plugin](https://github.com/getsentry/sentry-javascript-bundler-plugins) from 3.1.2 to 3.2.2.
- [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.1.2...3.2.2)

---
updated-dependencies:
- dependency-name: "@sentry/vite-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-13 11:36:35 +08:00
dependabot[bot] 0d1291af5a
build(deps-dev): bump happy-dom from 17.1.1 to 17.4.4 (#3043)
Bumps [happy-dom](https://github.com/capricorn86/happy-dom) from 17.1.1 to 17.4.4.
- [Release notes](https://github.com/capricorn86/happy-dom/releases)
- [Commits](https://github.com/capricorn86/happy-dom/compare/v17.1.1...v17.4.4)

---
updated-dependencies:
- dependency-name: happy-dom
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-13 11:35:47 +08:00
Stephen Zhou 2c64d28bdd
fix(mobile): no preview for avatar at header action (#3066)
* fix(mobile): no preview for avatar at header action

* update
2025-03-13 03:34:53 +00:00
dependabot[bot] 50a39f993f
build(deps): bump i18next-browser-languagedetector from 8.0.3 to 8.0.4 (#3042)
Bumps [i18next-browser-languagedetector](https://github.com/i18next/i18next-browser-languageDetector) from 8.0.3 to 8.0.4.
- [Changelog](https://github.com/i18next/i18next-browser-languageDetector/blob/master/CHANGELOG.md)
- [Commits](https://github.com/i18next/i18next-browser-languageDetector/compare/v8.0.3...v8.0.4)

---
updated-dependencies:
- dependency-name: i18next-browser-languagedetector
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-13 11:32:42 +08:00
dependabot[bot] bb2bf65802
build(deps): bump @shikijs/transformers from 3.0.0 to 3.2.1 (#3041)
Bumps [@shikijs/transformers](https://github.com/shikijs/shiki/tree/HEAD/packages/transformers) from 3.0.0 to 3.2.1.
- [Release notes](https://github.com/shikijs/shiki/releases)
- [Commits](https://github.com/shikijs/shiki/commits/v3.2.1/packages/transformers)

---
updated-dependencies:
- dependency-name: "@shikijs/transformers"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-13 11:32:30 +08:00
Stephen Zhou 94d3eb6dfb
feat(mobile): action page (#3019) 2025-03-13 10:34:35 +08:00
dependabot[bot] 8966a534d5
build(deps-dev): bump lightningcss from 1.29.1 to 1.29.2 (#3040)
Bumps [lightningcss](https://github.com/parcel-bundler/lightningcss) from 1.29.1 to 1.29.2.
- [Release notes](https://github.com/parcel-bundler/lightningcss/releases)
- [Commits](https://github.com/parcel-bundler/lightningcss/commits/v1.29.2)

---
updated-dependencies:
- dependency-name: lightningcss
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-13 10:11:39 +08:00
Innei d9ea5754cb
feat(mobile): enhance dialog functionality and add ConfirmPasswordDialog
- Introduce ShowDialogOptions interface for customizable dialog actions
- Update Dialog component to support onClose and onConfirm overrides
- Add ConfirmPasswordDialog for password confirmation with custom actions
- Integrate ConfirmPasswordDialog into Account settings for 2FA setup
- Add new Key2CuteReIcon component for password confirmation UI
- Update package.json and other files for new icon and dialog features

Signed-off-by: Innei <tukon479@gmail.com>
2025-03-13 00:07:45 +08:00
Innei 6438667f25
feat(mobile): enhance HelperModule and WebViewManager for improved link handling
- Update openLink function to support promises and handle dismiss events
- Refactor WebViewManager to accept an onDismiss callback for modal presentation
- Introduce SafariViewController to manage dismissal actions
- Modify native module interface to reflect changes in openLink
- Add new Setting2FA screen and update navigation routes accordingly

Signed-off-by: Innei <tukon479@gmail.com>
2025-03-12 23:03:56 +08:00
DIYgod a1e70ecd53
chore(mobile): update dependencies 2025-03-12 22:00:19 +08:00
Innei 6baf0745f0
feat(mobile): improve image carousel and avatar interactions
- Disable page control user interaction for single image
- Simplify navigation bar and background view initialization
- Add Galeria wrapper to UserAvatar for image preview
- Update UINavigationBar extension to use safe area layout guide

Signed-off-by: Innei <tukon479@gmail.com>
2025-03-12 20:20:51 +08:00
Innei a2b13a2f09
refactor(mobile): extract image viewer actions to protocol
- Create ImageCarouselViewControllerProtocol to define image interaction methods
- Move save, copy, and share image methods from ImageViewerController to protocol implementation
- Remove setupOptionsButton method from ImageViewerController
- Add options menu directly in ImageCarouselViewController
- Enable page control user interaction
- Simplify image action handling across image viewer components

Signed-off-by: Innei <tukon479@gmail.com>
2025-03-12 19:40:25 +08:00
Innei 9cf801634c
feat(mobile): enhance image viewer with page indicator and options menu
- Add UIPageControl to ImageCarouselViewController for image navigation
- Implement options menu with save, copy, and share actions
- Remove deprecated context menu and navigation item configurations
- Add UIImage extension for alpha manipulation
- Update GaleriaView to simplify navigation item handling

Signed-off-by: Innei <tukon479@gmail.com>
2025-03-12 19:19:56 +08:00
Innei 06b5ead7ad
feat(mobile): add context menu for image viewer interactions
- Implement UIContextMenuInteraction for image viewer
- Add actions to save, copy, and share images
- Remove long press gesture recognizer
- Provide native iOS sharing and image management options

Signed-off-by: Innei <tukon479@gmail.com>
2025-03-12 14:47:21 +08:00
Konv Suu 292d5c574d
fix(desktop): update shortcut for copying entry link (#3020) 2025-03-12 14:00:06 +08:00
Konv Suu 137625f5e9
feat(desktop): use atomWithStorage for masonry column value (#3023) 2025-03-12 13:59:42 +08:00
Innei b67685b6c1
feat(mobile): enhance image preview and URL scheme handling in iOS
- Implement FollowImageURLSchemeHandler for custom image loading and caching
- Update ImagePreview to support loading images from URLs
- Modify WebView configuration to use new image URL scheme handler
- Remove deprecated image preview methods
- Update bridge data structure for image preview
- Refactor image preview logic across multiple modules

Signed-off-by: Innei <tukon479@gmail.com>
2025-03-12 00:05:14 +08:00
Innei 085bb89b36
feat(mobile): add native iOS modules for shared functionality
- Implement native iOS modules for WebView, Toaster, Galeria, and Helper
- Add SPIndicator package for native toast notifications
- Create ImageViewer package for enhanced image preview
- Introduce utility extensions and helper methods for iOS development
- Remove SPIndicator dependency from podspec
- Update toast implementation to use native module

Signed-off-by: Innei <tukon479@gmail.com>
2025-03-11 22:18:35 +08:00
DIYgod 8d982eaacb
fix(mobile): images recyclingKey 2025-03-11 22:01:05 +08:00
DIYgod 7e9bc66d48
fix(mobile): optional summary language 2025-03-11 21:44:27 +08:00
DIYgod e32a904066
feat(mobile): article styles 2025-03-11 21:41:57 +08:00
Innei d4edfc4945
fix(mobile): image preview can not user interaction when loading or error
- Add sourceView parameter to ImageViewerController for smoother image transitions
- Implement activity indicator during image loading
- Improve initial image display with placeholder and source view image
- Refactor image loading logic to support better visual feedback

Signed-off-by: Innei <tukon479@gmail.com>
2025-03-11 21:20:36 +08:00
DIYgod f229f9f89d
feat(mobile): ai summary language 2025-03-11 21:00:09 +08:00
Innei 6539b1b984
fix(mobile): image load should be https
- Update SDWebImageLoader to convert URLs to HTTPS
- Add error logging for image loading failures
- Simplify iOS 11+ content inset adjustment in ImageViewerController
- Change default image loader from URLSessionImageLoader to SDWebImageLoader

Signed-off-by: Innei <tukon479@gmail.com>
2025-03-11 19:59:42 +08:00
DIYgod 5609d72c80
feat(mobile): video player 2025-03-11 19:23:39 +08:00
Innei 4e2cdbee2d
feat(mobile): improve dialog confirmation and remove unused spring preset
- Remove unused bouncySpringPreset from spring constants
- Add handleConfirm method in dialog to support onConfirm callback
- Update AddFeedDialog to handle empty URL input more gracefully

Signed-off-by: Innei <tukon479@gmail.com>
2025-03-11 18:50:09 +08:00
DIYgod ea32df6b9b
feat(mobile): remove noPreview param 2025-03-11 18:00:25 +08:00
DIYgod dbc47659b1
fix(mobile): images in video item 2025-03-11 17:58:07 +08:00
DIYgod 210b327177
feat(mobile): social media images layout 2025-03-11 17:17:57 +08:00
DIYgod 73fb08ed55
feat(mobile): avoid direct expo-image 2025-03-11 16:05:20 +08:00
DIYgod 90cb12870c
feat(mobile): remove ProxiedImage 2025-03-11 15:53:38 +08:00
DIYgod c29348773c
feat(mobile): remove preview image 2025-03-11 15:47:30 +08:00
Innei bb420bdbd9
refactor(mobile): improve Galeria view and accessory module memory management
- Remove complex deinit and notification observers in GaleriaAccessoryModule
- Add weak self references in GaleriaView callback methods to prevent retain cycles

Signed-off-by: Innei <tukon479@gmail.com>
2025-03-11 11:49:07 +08:00
Innei b6e97fb74d
refactor(mobile): remove unused attachView function in GaleriaModule
Signed-off-by: Innei <tukon479@gmail.com>
2025-03-11 11:14:35 +08:00
Stephen Zhou f991e915c9
fix(mobile): improve player bg color (#3018)
* fix(mobile): improve payer bg color

* update
2025-03-11 02:32:36 +00:00
Stephen Zhou 9e7cd04411
chore(mobile): fix type error (#3021) 2025-03-11 02:25:07 +00:00
Innei 6e6b7e3936
feat(ios): Use the native image preview component (#3017)
* init

* done

* feat(mobile): integrate Galeria component for image preview and carousel

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

* revert

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

* chore: auto-fix linting and formatting issues

---------

Signed-off-by: Innei <tukon479@gmail.com>
2025-03-10 22:41:20 +08:00