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
DIYgod
b0012c1d91
feat: hideable header bottom
2025-01-23 22:36:11 +08:00
Stephen Zhou
e64da259e7
fix: delay the setVoice until before starting play tts, close #2042
2025-01-23 15:42:36 +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
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
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
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