Commit Graph
58 Commits
Author SHA1 Message Date
Innei f17446d027 feat: enhance tab layout and settings screen functionality
- Added screen listeners for tab press and transition start to manage opacity in TabLayout.
- Introduced a context provider for tracking focus state in SettingsX.
- Refactored opacity handling in Settings component to improve scroll behavior and UI responsiveness.

This update improves user experience by ensuring the tab bar opacity responds correctly to user interactions and screen focus.

Signed-off-by: Innei <tukon479@gmail.com>
2025-01-14 22:29:19 +08:00
Innei 5f44d245fd feat(rn): init setting page
Signed-off-by: Innei <tukon479@gmail.com>
2025-01-14 22:00:58 +08:00
Innei 2edebdfcdb refactor(rn): subscription drawer layout
Signed-off-by: Innei <tukon479@gmail.com>
2025-01-14 20:25:35 +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 284a510217 feat(rn): support follow list
Signed-off-by: Innei <tukon479@gmail.com>
2025-01-14 17:49:48 +08:00
Innei 01122c9480 feat(rn): implement search list
Signed-off-by: Innei <tukon479@gmail.com>
2025-01-13 22:08:17 +08:00
Innei 91f5340407 fix(rn-baseline): sync with uikit color and update list
Signed-off-by: Innei <tukon479@gmail.com>
2025-01-13 20:13:17 +08:00
Innei 89126ed83e perf(rn): memo and optimize list
Signed-off-by: Innei <tukon479@gmail.com>
2025-01-13 15:34:14 +08:00
Innei e625adaf16 fix(rn-tabbar): calc tab bar indicator position
Signed-off-by: Innei <tukon479@gmail.com>
2025-01-12 12:41:07 +08:00
Innei 0227427d29 feat(search): enhance search components with new styles and functionality
Signed-off-by: Innei <tukon479@gmail.com>
2025-01-10 22:48:54 +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 f747882565 feat(rn-search): impl search feeds and list view
Signed-off-by: Innei <tukon479@gmail.com>
2025-01-10 20:03:41 +08:00
Innei 0ab3ba9a3e feat(rn/search): implement search tabview
Signed-off-by: Innei <tukon479@gmail.com>
2025-01-09 22:42:01 +08:00
Innei 8abde402b2 feat(rn): subscription list refresh contril
Signed-off-by: Innei <tukon479@gmail.com>
2025-01-09 19:39:24 +08:00
Innei 9745f4d9d0 feat(rn): subscription list item transition
Signed-off-by: Innei <tukon479@gmail.com>
2025-01-09 17:25:26 +08:00
Innei 468a3e490a feat(rn): fix dismiss modal when follow done
Signed-off-by: Innei <tukon479@gmail.com>
2025-01-09 14:38:05 +08:00
Innei fc3a3cef23 fix(rn): check tab current index frequency
Signed-off-by: Innei <tukon479@gmail.com>
2025-01-09 00:02:37 +08:00
Innei 9c3400a5d5 refactor(rn): extract tab bar as a component
Signed-off-by: Innei <tukon479@gmail.com>
2025-01-08 23:56:49 +08:00
Stephen Zhou 834c93fc00 chore: bring back tailwind config for dom 2025-01-08 20:59:03 +08:00
Innei 950b5af8ec feat(rn-component): implement toast manager
Signed-off-by: Innei <tukon479@gmail.com>
2025-01-08 00:05:26 +08:00
Innei cf31c0f5fa feat(modal): enhance Follow modal with improved navigation and loading state
Signed-off-by: Innei <tukon479@gmail.com>
2025-01-07 17:02:11 +08:00
Innei 265023126e refactor(rn): loading component
Signed-off-by: Innei <tukon479@gmail.com>
2025-01-07 16:50:14 +08:00
Innei e2c9459db8 fix(rn): delete subscribe in db persist
Signed-off-by: Innei <tukon479@gmail.com>
2025-01-06 23:46:50 +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 9beff379f6 feat(rn): follow modal form
Signed-off-by: Innei <tukon479@gmail.com>
2025-01-06 21:10:31 +08:00
Stephen Zhou 9019e9bbc6 fix(mobile): update email login style 2025-01-06 21:07:44 +08:00
Stephen Zhou 9f6934f844 fix(mobile): background color 2025-01-06 20:40:29 +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
Innei b46e1780f7 feat: enhance deep link handling in FollowWebView component to support new routes for adding and following items
Signed-off-by: Innei <tukon479@gmail.com>
2025-01-06 14:26:43 +08:00
Innei 1e8196aad4 feat(rn): init follow feed modal
Signed-off-by: Innei <tukon479@gmail.com>
2025-01-04 00:07:32 +08:00
Innei 85832105b4 fix(rn): rsshub form styles
Signed-off-by: Innei <tukon479@gmail.com>
2025-01-03 23:58:02 +08:00
Innei cf7259bdf8 refactor(rn): debug items
Signed-off-by: Innei <tukon479@gmail.com>
2025-01-03 17:21:03 +08:00
Innei 834dff8d91 feat: integrate LoadingContainer
- Added LoadingContainer component to RootLayout for improved loading state management.
- Refactored DebugPanel to include useEffect and removed unused code for better clarity and performance.

These changes enhance user experience by providing a loading indicator and streamlining the debug interface.

Signed-off-by: Innei <tukon479@gmail.com>
2025-01-03 17:10:22 +08:00
Innei 92ec05e1de refactor(modal): remove loading screen and enhance modal functionality
- Removed the loading screen component to streamline the modal navigation.
- Updated modal-related imports in the debug and add screens to include Modal.
- Adjusted screen options in the modal layout for improved presentation.

These changes simplify the modal structure and improve the overall user experience.

Signed-off-by: Innei <tukon479@gmail.com>
2025-01-03 01:10:28 +08:00
Innei c7f64e8327 chore: debug menu in prod
Signed-off-by: Innei <tukon479@gmail.com>
2025-01-03 01:03:08 +08:00
Innei 6d10d670cd refactor(rsshub-form): enhance ScreenOptions component and improve header title rendering
- Introduced new props for the ScreenOptions component to pass route and routePrefix.
- Updated header title rendering to utilize HeaderTitleExtra for better display of route information.
- Removed unused PreviewUrl component to streamline the form layout.

These changes improve the clarity and functionality of the RSSHub form screen.

Signed-off-by: Innei <tukon479@gmail.com>
2025-01-03 00:53:38 +08:00
Innei 4f3d9902af fix(rn): discover form
Signed-off-by: Innei <tukon479@gmail.com>
2025-01-03 00:43:14 +08:00
Innei 1439d87f07 fix: improve Markdown rendering and UI adjustments in various components
- Updated TextField to ensure full width and flex behavior.
- Optimized MarkdownWeb to memoize parsed content for better performance.
- Adjusted Markdown rendering in rsshub-form and DiscoverFeedForm to fix directive formatting.
- Enhanced ModalError to allow text selection in error stack trace.
- Minor adjustments in parse-markdown utility for directive handling.

These changes enhance the user interface and improve performance in Markdown rendering.

Signed-off-by: Innei <tukon479@gmail.com>
2025-01-03 00:10:02 +08:00
Innei 33d9e14d7c fix(rn): adjust ui colors
Signed-off-by: Innei <tukon479@gmail.com>
2025-01-02 18:10:49 +08:00
Stephen Zhou 5fca27bc21 chore: update better-auth to avoid version override 2025-01-02 15:33:17 +08:00
Stephen Zhou 045d6c7d06 fix: use babel to resolve 2025-01-02 11:53:38 +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 8007924a7f refactor: extract shared parse markdown
- Added `@microflash/remark-callout-directives` to `package.json` and `pnpm-lock.yaml`.
- Updated `MarkdownWeb` component to utilize a new markdown parsing utility.
- Removed unused imports related to `remark-gh-alerts` and refactored markdown parsing logic.
- Enhanced `parse-markdown` function to integrate with the new utility and support custom components.

This update improves markdown rendering capabilities and streamlines the codebase.

Signed-off-by: Innei <tukon479@gmail.com>
2024-12-31 23:52:34 +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
Innei 6f9fb5ba92 feat: rsshub form layer
Signed-off-by: Innei <i@innei.in>
2024-12-31 20:26:14 +08:00
Innei 66f97c0057 feat(rn): implements discover page (#2385)
* feat: pan

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

* fix: scroll to letter

Signed-off-by: Innei <i@innei.in>

* fix: sidebar navigation

Signed-off-by: Innei <i@innei.in>

* feat: add models and constants to mobile app, update tab view and recommendations

- Added '@follow/models' and '@follow/constants' as workspace dependencies in pnpm-lock.yaml and package.json.
- Updated TabView component to use Pressable instead of TouchableOpacity for better interaction.
- Enhanced Recommendations component to utilize RSSHubCategoryCopyMap for tab names.
- Refactored data handling in Recommendations to include RSSHubRouteDeclaration.
- Updated ItemRenderer to display RecommendationCard for items.
- Minor style adjustments in header actions and view tab components for improved UI consistency.

Signed-off-by: Innei <i@innei.in>

* feat: enhance RecommendationCard with grid layout for routes

- Added Grid component to display routes in a two-column layout.
- Introduced TouchableOpacity for route items to improve user interaction.
- Adjusted styles for better responsiveness and visual appeal.

Signed-off-by: Innei <i@innei.in>

* init rsshub form

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

---------

Signed-off-by: Innei <tukon479@gmail.com>
Signed-off-by: Innei <i@innei.in>
2024-12-31 12:51:21 +08:00
Innei 614acf0a91 refactor(rn): search and discover route
Signed-off-by: Innei <tukon479@gmail.com>
2024-12-30 16:54:40 +08:00
Stephen Zhou 313ad9b7db feat: html render for native (#2346) 2024-12-30 10:28:52 +08:00