Commit Graph
69 Commits
Author SHA1 Message Date
dependabot[bot] bfec384151 build(deps): bump the patch group across 1 directory with 9 updates (#3124) 2025-03-14 18:42:41 +08:00
dependabot[bot]andDIYgod 3909813cb7 build(deps): bump the minor group across 1 directory with 7 updates (#3114)
* build(deps): bump the minor group across 1 directory with 7 updates

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

| Package | From | To |
| --- | --- | --- |
| @better-auth/expo | `1.1.18` | `1.2.4` |
| [better-auth](https://github.com/better-auth/better-auth/tree/HEAD/packages/better-auth) | `1.1.18` | `1.2.4` |
| [@sentry/react](https://github.com/getsentry/sentry-javascript) | `9.1.0` | `9.5.0` |
| [@mozilla/readability](https://github.com/mozilla/readability) | `0.5.0` | `0.6.0` |
| [plain-shiki](https://github.com/KazariEX/plain-shiki) | `0.1.1` | `0.2.0` |
| [re-resizable](https://github.com/bokuweb/react-resizable-box) | `6.10.3` | `6.11.2` |
| [react-scan](https://github.com/aidenybai/react-scan) | `0.1.3` | `0.2.14` |



Updates `@better-auth/expo` from 1.1.18 to 1.2.4

Updates `better-auth` from 1.1.18 to 1.2.4
- [Release notes](https://github.com/better-auth/better-auth/releases)
- [Commits](https://github.com/better-auth/better-auth/commits/v1.2.4/packages/better-auth)

Updates `@sentry/react` from 9.1.0 to 9.5.0
- [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.1.0...9.5.0)

Updates `@mozilla/readability` from 0.5.0 to 0.6.0
- [Changelog](https://github.com/mozilla/readability/blob/main/CHANGELOG.md)
- [Commits](https://github.com/mozilla/readability/compare/0.5.0...0.6.0)

Updates `plain-shiki` from 0.1.1 to 0.2.0
- [Release notes](https://github.com/KazariEX/plain-shiki/releases)
- [Changelog](https://github.com/KazariEX/plain-shiki/blob/main/CHANGELOG.md)
- [Commits](https://github.com/KazariEX/plain-shiki/compare/v0.1.1...v0.2.0)

Updates `re-resizable` from 6.10.3 to 6.11.2
- [Release notes](https://github.com/bokuweb/react-resizable-box/releases)
- [Changelog](https://github.com/bokuweb/re-resizable/blob/master/CHANGELOG.md)
- [Commits](https://github.com/bokuweb/react-resizable-box/commits)

Updates `react-scan` from 0.1.3 to 0.2.14
- [Release notes](https://github.com/aidenybai/react-scan/releases)
- [Commits](https://github.com/aidenybai/react-scan/compare/v0.1.3...v0.2.14)

---
updated-dependencies:
- dependency-name: "@better-auth/expo"
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor
- dependency-name: better-auth
  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: "@mozilla/readability"
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor
- dependency-name: plain-shiki
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor
- dependency-name: re-resizable
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor
- dependency-name: react-scan
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: minor
...

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

* fix

* fix

* fix

* fix

* fix

---------

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-14 11:10:08 +08:00
Innei 26928c63ef feat(mobile): implement QR code generation for 2FA setup
- Added QR code generation functionality using the `qrcode` library.
- Created new components for QR code rendering and customization.
- Integrated QR code display in the 2FA settings screen.
- Updated package dependencies to include `@types/qrcode` and `qrcode`.
- Refactored related components to support QR code features.

Signed-off-by: Innei <tukon479@gmail.com>
2025-03-13 22:35:29 +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
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
DIYgod a1e70ecd53 chore(mobile): update dependencies 2025-03-12 22:00:19 +08:00
DIYgod 5609d72c80 feat(mobile): video player 2025-03-11 19:23:39 +08:00
DIYgod 519b82c790 feat(mobile): use app check 2025-03-09 16:23:33 +08:00
DIYgod 00c807f86d feat: put token into headers 2025-03-07 21:29:07 +08:00
Innei 27cf62cc48 feat(mobile): add image compression and avatar upload improvements
Signed-off-by: Innei <tukon479@gmail.com>
2025-03-06 21:27:05 +08:00
Innei 1c73e46eb6 feat(mobile): setting profile page (#2985) 2025-03-06 20:24:53 +08:00
DIYgod 7f7b7c55ab feat: init firebase 2025-03-05 21:02:57 +08:00
Innei 62b3b8fe89 fix: build
Signed-off-by: Innei <tukon479@gmail.com>
2025-03-04 18:37:07 +08:00
DIYgod 3c10ae976b chore(mobile): update version 2025-02-28 09:10:30 +08:00
Stephen Zhou 5126a6ff89 feat(mobile): cache rsshub query (#2900) 2025-02-27 13:38:01 +08:00
Innei 3164e100a3 refactor(mobile): replace @gorhom/portal with custom portal implementation
- Remove @gorhom/portal dependency
- Create custom Portal and PortalHost components
- Update imports and usage across mobile app
- Simplify portal-related code in various components
- Remove unnecessary portal-related dependencies in package.json

Signed-off-by: Innei <tukon479@gmail.com>
2025-02-26 21:53:00 +08:00
Stephen Zhou e40f8a9bbd refactor(mobile): submit button & react-native-otp-entry (#2870) 2025-02-25 10:47:43 +08:00
Innei ea1c666bcd feat(mobile): enhance dialog system and UI interactions
- Add new dialog library for flexible modal interactions
- Implement AddFeedDialog with improved UX
- Update Tabbar and Pressable components with smoother animations
- Remove RootSiblingParent from main component
- Upgrade react-native-uikit-colors to v0.3.8
- Introduce ScaleFadeRotateIn animation for consistent UI transitions

Signed-off-by: Innei <tukon479@gmail.com>
2025-02-24 22:27:14 +08:00
Stephen Zhou 8e2dfe99c8 feat(mobile): audio player (#2801) 2025-02-20 20:40:44 +08:00
Stephen Zhou bd476807e5 refactor(native): remove sn pro font (#2828) 2025-02-20 20:31:26 +08:00
DIYgod 2130af1079 chore: fix dependencies 2025-02-19 17:09:00 +08:00
DIYgod 4512819bf5 chore: fix dependencies 2025-02-19 16:51:54 +08:00
DIYgod 36ea29ae7d chore: update dependencies 2025-02-19 15:27:20 +08:00
Innei 03f92a51b2 feat(mobile): Add image context menu with save, copy, and share actions
Enhance image interaction by introducing a new ImageContextMenu component:
- Implement context menu for images with copy, save, and share functionalities
- Add support for saving images to device library
- Integrate image editing and file system utilities
- Update PreviewImage and EntryGridItem to use the new context menu

Signed-off-by: Innei <tukon479@gmail.com>
2025-02-18 23:26:28 +08:00
Innei f5c4d35c6c feat(mobile): add AI summary generation for entries
- Implement AI summary feature for entry details
- Add summaries table to database schema
- Create summary service and store for managing summaries
- Introduce new components for displaying AI-generated summaries
- Add header actions for generating and toggling summaries
- Integrate with API for summary generation

Signed-off-by: Innei <tukon479@gmail.com>
2025-02-12 18:11:42 +08:00
Innei 17c7f9d3e9 chore(mobile): update dependencies and refactor UI components
- Upgrade react-native-uikit-colors to v0.2.0
- Enhance CustomURLSchemeHandler with improved task management
- Update RecommendationListItem and EntryListItem with context menu improvements
- Refactor entry list item styling using system colors and context menu preview
- Add context menu preview to login and entry list modules

Signed-off-by: Innei <tukon479@gmail.com>
2025-02-08 22:24:17 +08:00
Innei 64db32ef34 feat: Implement the webview sandbox using a microfront end for rn to implement the full html renderer (#2691)
* init

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

* feat: parser and renderer

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

* feat: shared webview

* feat: add UIColor hex conversion extension and accent color asset and xhr rewrite

* feat(mobile): enhance WebView and HTML rendering for iOS

- Refactor SharedWebView module with improved JavaScript injection and link handling
- Add ModalWebViewController for opening links in a modal view
- Implement dynamic content height measurement
- Update HTML renderer with Jotai state management
- Improve WebView configuration and debug mode

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

* lockfile

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

* chore: auto-fix linting and formatting issues

* fix(mobile): improve WebView debug mode and UI text styling

- Remove debug-only conditional for WebView inspector
- Add text label class to GroupedInsetListActionCell for consistent styling

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

* update

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

* feat(mobile): add FullScreenWKWebView for iOS WebView layout

- Create custom WKWebView subclass to override safe area insets
- Enables full-screen WebView rendering without default padding

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

* chore(mobile): remove FullScreenWKWebView Swift file

- Delete unused custom WKWebView subclass for iOS
- Cleanup unnecessary file after previous implementation

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

* feat(mobile): refactor iOS WebView infrastructure

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

* feat(mobile): add native helper module and improve entry detail screen

- Add HelperModule for iOS to open links in a modal WebView
- Implement cross-platform link opening mechanism
- Enhance entry detail screen with dynamic title and scroll behavior
- Add loading indicator for entry content
- Refactor navigation and scroll view components

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

* fix(mobile): improve WebView JavaScript and URL loading thread safety

- Dispatch JavaScript evaluation and URL loading on the main thread
- Ensure thread-safe WebView interactions for iOS
- Prevent potential race conditions in SharedWebViewModule

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

* refactor(mobile): remove useOpenLink hook and update link opening mechanism

- Replace custom useOpenLink hook with native openLink function
- Update WebView navigation and recommendation list item to use new link opening method
- Remove unnecessary hook and simplify link handling

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

---------

Signed-off-by: Innei <tukon479@gmail.com>
2025-02-07 23:15:29 +08:00
Whitewater 5d6386f29b refactor: migrate dropdown menu to zeego/dropdown-menu (#2696)
* refactor: integrate zeego dropdown menu in Select and SortActionButton

* refactor: remove DropdownMenu component

* refactor: remove react-native-context-menu-view dependency
2025-02-06 13:42:04 +08:00
Innei a84a4d273a chore: fix types and lint error
Signed-off-by: Innei <tukon479@gmail.com>
2025-02-04 23:35:51 +08:00
Innei 295b99e2ca chore: update deps
Signed-off-by: Innei <tukon479@gmail.com>
2025-02-03 01:45:49 +08:00
Innei e1bf881e85 feat: use expo module to write native component/module (#2675)
* init

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

* test uikit

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

* uitable

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

* test webview

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

* shared webview

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

* refactor(shared-webview): Simplify WebView height management

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

* fix: add url prop

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

* rename

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

* feat: native module

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

* cleanup

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

* fix: export

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

* fix

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

* fix

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

---------

Signed-off-by: Innei <tukon479@gmail.com>
2025-02-02 23:55:05 +08:00
Innei f4003502e4 chore(rn): update uikit colors
Signed-off-by: Innei <tukon479@gmail.com>
2025-01-24 19:49:39 +08:00
Innei 44c6fd04c1 feat(rn-list): support list delete
Signed-off-by: Innei <tukon479@gmail.com>
2025-01-23 22:21:03 +08:00
Innei 585aa03b23 fix: adjust ios styles
Signed-off-by: Innei <tukon479@gmail.com>
2025-01-23 13:56:01 +08:00
Innei ff707cf7a4 chore(rn): upgrade deps
Signed-off-by: Innei <tukon479@gmail.com>
2025-01-23 13:23:19 +08:00
Innei c18da69de1 feat(rn): impl list setting pages
Signed-off-by: Innei <tukon479@gmail.com>
2025-01-22 22:46:20 +08:00
Stephen Zhou e569681198 feat: basic masonry entry list and entry content view (#2493) 2025-01-22 22:23:56 +08:00
DIYgod 0c29f278e6 feat: view selector 2025-01-22 19:25:07 +08:00
Innei a031ac3f5e feat(rn-settings): impl data settings
Signed-off-by: Innei <tukon479@gmail.com>
2025-01-21 21:54:23 +08:00
Innei eddc7cde21 feat(rn-settings): Improve UI settings, modify the style of the setting lists
- Added `shiki` dependency to `package.json` and `pnpm-lock.yaml`.
- Updated `DropdownMenu` to disable selected options.
- Enhanced `GroupedList` to support a disabled state for navigation links.
- Refactored `SettingsList` to use a new `NavigationLinkGroup` component for better organization.
- Improved `About` screen layout with links for GitHub and icon library.
- Introduced new settings in `Appearance` for code highlight themes and inline style rendering.

Signed-off-by: Innei <tukon479@gmail.com>
2025-01-21 20:00:04 +08:00
Innei 203c253522 feat(rn-settings): impl gerenate settings 2025-01-21 00:12:42 +08:00
Innei fd042e93cb feat(rn-settings): impl about page
Signed-off-by: Innei <tukon479@gmail.com>
2025-01-20 22:02:39 +08:00
Innei 437a790994 fix(rn-base): fix SafeNavigationScrollView and impl blur effect header
Signed-off-by: Innei <tukon479@gmail.com>
2025-01-20 18:50:00 +08:00
Stephen Zhou 2cd1b5daf9 chore: enable noUncheckedIndexedAccess, better type check (#2608) 2025-01-18 22:35:23 +08:00
Innei f947bd1d1e feat: integrate react-native-uikit-colors for improved theming and UI consistency
- Added `react-native-uikit-colors` package to enhance color management.
- Updated `tailwind.config.ts` to utilize `withUIKit` for better color integration.
- Refactored color handling in `colors.ts` and `utils.ts` to leverage the new package.
- Adjusted components to use safe area insets and improved layout in `rsshub-form.tsx`.
- Enhanced `MarkdownWeb` component with custom styles for better rendering.

This update streamlines color management and improves the overall UI experience.

Signed-off-by: Innei <tukon479@gmail.com>
2025-01-18 16:59:29 +08:00
Innei aef9406def feat(rn): add login teams
Signed-off-by: Innei <tukon479@gmail.com>
2025-01-17 21:11:24 +08:00
DIYgod 7169ff6407 chore(rn): remove @react-native-cookies/cookies 2025-01-17 21:01:46 +08:00