Innei
93393f19fc
feat(pager): enhance pager functionality with gesture support and UI updates
...
- Updated `Pager.tsx` to use `Pressable` for better interaction handling.
- Modified `EnhancePagerController.swift` to manage content views more effectively.
- Enhanced `EnhancePagerViewModule.swift` to support gesture recognition for smoother transitions.
- Refactored `usePagerView.ts` to utilize animated values for page transitions.
These changes improve user experience and interaction within the pager component.
Signed-off-by: Innei <tukon479@gmail.com >
2025-04-01 18:05:47 +08:00
Innei
59b8e91ada
feat(mobile): support copy for ai summary card, and optimize style
...
- Added `react-native-uikit-colors` dependency to the mobile example.
- Updated `App.tsx` to utilize `useCurrentColorsVariants` for dynamic theming.
- Modified `summary.tsx` to improve animated content display and height management.
- Enhanced `hooks.ts` to set a longer stale time for summary data.
- Refactored `store.ts` to manage pending summary generation promises more effectively.
Signed-off-by: Innei <tukon479@gmail.com >
2025-03-31 23:19:34 +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
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
724ab17d1a
chore(mobile): upgrade react-native
2025-03-13 12:28:20 +08:00
DIYgod
2130af1079
chore: fix dependencies
2025-02-19 17:09:00 +08:00
DIYgod
36ea29ae7d
chore: update dependencies
2025-02-19 15:27:20 +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
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