Commit Graph
55 Commits
Author SHA1 Message Date
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
DIYgod accbf7fa60 feat: use expo-secure-store and better-auth buildin getCookie for auth 2025-01-17 21:01:45 +08:00
DIYgod a76814ddfc fix: debugger network 2025-01-15 22:27:48 +08:00
Innei 0b096166d5 feat(rn): setting page scroll magic
Signed-off-by: Innei <tukon479@gmail.com>
2025-01-15 21:44:21 +08:00
Innei 5f44d245fd feat(rn): init setting page
Signed-off-by: Innei <tukon479@gmail.com>
2025-01-14 22:00:58 +08:00
Whitewater b581393c9a feat(rn): implement feed drawer (#2443)
* feat: add drawer state management hooks and providers

* feat: add useCurrentViewDefinition hook for view definition retrieval

* feat: implement feed drawer with collection and feed panels

* feat: integrate feed drawer into tab layout and manage drawer state

* chore: add @react-navigation/drawer dependency for drawer navigation support

* chore: simplify color

* refactor: migrate drawer state management to Jotai atoms

* feat: enhance collect select state

* chore: update api

* feat: implement list view

* refactor: extract usePrefetchFeed

* feat: add loading indicator and separate header components for list and view

* fix: merge
2025-01-14 19:47:38 +08:00
Innei 4bae36ae70 feat(rn-component): refactor context menu for ios
Signed-off-by: Innei <tukon479@gmail.com>
2025-01-10 22:38:41 +08:00
Innei 265023126e refactor(rn): loading component
Signed-off-by: Innei <tukon479@gmail.com>
2025-01-07 16:50:14 +08:00
Innei f9d5d7698c feat(rn): feed form and subscribe
- Removed unused code from package.json.
- Simplified description rendering in FormSwitch component.
- Enhanced Follow modal with new subscription logic and improved form handling.
- Updated error messages in locales for better clarity.
- Added new properties to the subscription sync service for better data handling.

This commit improves code readability and enhances the user experience in the subscription process.

Signed-off-by: Innei <tukon479@gmail.com>
2025-01-06 23:32:58 +08:00
Stephen Zhou 9ea93b8023 feat(mobile): introduce expo image 2025-01-06 21:32:34 +08:00
Innei 3cca62c26f feat: update mobile app structure and enhance loading functionality
Signed-off-by: Innei <tukon479@gmail.com>
2025-01-06 20:02:24 +08:00
Stephen Zhou 5fca27bc21 chore: update better-auth to avoid version override 2025-01-02 15:33:17 +08:00
Stephen Zhou 9e09c0bb0a chore: pnpm dedupe, fix package version 2025-01-01 13:44:29 +08:00
Stephen Zhou 6691cb2367 feat: unlink account 2025-01-01 13:21:45 +08:00
Innei 93b38a7c70 feat(rn): impl markdown component for rn
- Added `es-toolkit` version 1.29.0 to `pnpm-lock.yaml` and `package.json`.
- Updated `typescript` to version 5.6.3 in `pnpm-lock.yaml`.
- Enhanced `CopyButton` component with new size option "tiny" and improved background color animation.
- Updated `Label`, `Select`, and `TextField` components to adjust height for better UI consistency.
- Refactored `PreviewUrl` component to use `ScrollView` and `MonoText` for improved text display.
- Added Markdown support in `rsshub-form` for better content presentation.
- Updated color handling in `colors.ts` for better theme management.

Signed-off-by: Innei <i@innei.in>
Signed-off-by: Innei <tukon479@gmail.com>
2024-12-31 23:34:13 +08:00