Commit Graph
42 Commits
Author SHA1 Message Date
Innei 956d9dfd1e feat(mobile): add titles and improve navigation screen configurations
Signed-off-by: Innei <tukon479@gmail.com>
2025-02-24 20:47:53 +08:00
Innei 761e7d5333 refactor(mobile): enhance navigation scroll view and tab bar interactions
- Introduced new context for attaching navigation scroll view refs
- Improved tab bar behavior when re-selecting the same tab
- Removed deprecated scroll view context
- Updated imports and context management for tab bar components

Signed-off-by: Innei <tukon479@gmail.com>
2025-02-20 23:13:23 +08:00
Innei ea374cb30c refactor(mobile): improve bottom tab bar and related components
- Refactored bottom tab bar implementation with new context and hooks
- Added new components for bottom tab bar management
- Updated imports and references to bottom tab bar related functionality
- Introduced new spring presets and relative date time improvements

Signed-off-by: Innei <tukon479@gmail.com>
2025-02-20 22:31:39 +08:00
Stephen Zhou bd476807e5 refactor(native): remove sn pro font (#2828) 2025-02-20 20:31:26 +08:00
DIYgod 5b6dbd2a6d fix: types 2025-02-20 11:29:29 +08:00
DIYgod 79b4703026 feat(mobile): deletion button 2025-02-20 10:49:52 +08:00
Innei a52798729e feat(mobile): improve entry list and detail view with UI refinements
- Enhance social media entry list with dynamic text expansion and "See more" option
- Update entry detail view to support social media view type
- Adjust unread indicator and pressable styles
- Add social media specific title and info components
- Refactor settings screen with improved section organization

Signed-off-by: Innei <tukon479@gmail.com>
2025-02-17 20:16:23 +08:00
Innei ac06382d79 refactor(mobile): rename ItemPressable component and update imports
Rename `item-pressable.tsx` to `ItemPressable.tsx` and update all import references across the mobile app to maintain consistent file naming conventions.

Signed-off-by: Innei <tukon479@gmail.com>
2025-02-14 20:03:18 +08:00
Innei 4095462f34 refactor(mobile): replace icons with UserAvatar and update tab layout
Signed-off-by: Innei <tukon479@gmail.com>
2025-02-14 19:42:08 +08:00
DIYgod 36f7767b56 feat: update icons 2025-02-12 16:52:03 +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
lawvs 631b240499 fix: tweak Select component width 2025-02-06 16:47:22 +08:00
Innei f84957f46b fix: shiki theme resolver and lockfile maintainance
Signed-off-by: Innei <tukon479@gmail.com>
2025-02-05 14:18:25 +08:00
Innei 23a9d870ee refactor: replace LoadingIndicator with ActivityIndicator across mobile app
Signed-off-by: Innei <tukon479@gmail.com>
2025-01-26 14:50:28 +08:00
DIYgod 686efe7d62 fix: type errors 2025-01-25 21:11:52 +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 7365eb5e38 fix(rn-base): Switch component flex
Signed-off-by: Innei <tukon479@gmail.com>
2025-01-24 19:42:18 +08:00
Innei e3baee3986 feat(rn-list): manage list
Signed-off-by: Innei <tukon479@gmail.com>
2025-01-24 15:28:25 +08:00
Innei 2c3f75291b chore(rn): fix typo
Signed-off-by: Innei <tukon479@gmail.com>
2025-01-24 12:03:14 +08:00
Innei ccd1978906 feat(rn-modal): apply modal header blur effect
Signed-off-by: Innei <tukon479@gmail.com>
2025-01-23 23:54:32 +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 55dcfb06df fix: correct ModalHeaderSubmitButton naming and enhance UI components
- Renamed `ModalHeaderShubmitButton` to `ModalHeaderSubmitButton` for consistency.
- Updated `SwipeableItem` to include animated text for action labels.
- Refactored `TextField` to support an input postfix element and improved styling.
- Enhanced `GroupedInsetListCard` to conditionally show separators between children.
- Adjusted `MarkdownWeb` to prevent vertical overflow.
- Updated `FollowFeed`, `FollowList`, and `rsshub-form` to use the corrected `ModalHeaderSubmitButton`.
- Added navigation functionality to the `AddListButton` in `ListsScreen`.
- Improved color validation in utility functions.

These changes improve code consistency and enhance the user interface across various components.

Signed-off-by: Innei <tukon479@gmail.com>
2025-01-23 18:36:15 +08:00
Innei 7d98e27d0b refactor(rn): discover header to apply blur effect
Signed-off-by: Innei <tukon479@gmail.com>
2025-01-23 16:19:38 +08:00
Innei 43bebd7c41 fix: adjust SwipeableItem friction and improve loading indicator display in Lists screen
Signed-off-by: Innei <tukon479@gmail.com>
2025-01-23 13:06:15 +08:00
Innei 6025f8a6c1 feat(rn): impl ios style SwipeableItem
Signed-off-by: Innei <tukon479@gmail.com>
2025-01-23 00:38:31 +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 8bf7b1f277 chore: type 2025-01-22 10:58:22 +08:00
Innei 7c1fa69d91 feat(rn-profile): update profile share
Signed-off-by: Innei <tukon479@gmail.com>
2025-01-21 22:00:08 +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 3475b740d5 feat(rn-settings): impl ui settings
Signed-off-by: Innei <tukon479@gmail.com>
2025-01-21 16:51:12 +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
Innei 69d4c863b1 refactor(rn-base): split some ui components
Signed-off-by: Innei <tukon479@gmail.com>
2025-01-20 17:19:32 +08:00
Innei 0014aebd4e feat(settings): enhance settings screen with animated header and blur effect
- Introduced a new `SettingHeader` component that animates based on scroll position.
- Added a `BlurEffect` to the header for improved visual aesthetics.
- Refactored the `Settings` component to include the new header and maintain scroll functionality.
- Updated imports to include necessary components for animation and styling.

This update improves the user experience by providing a dynamic header that responds to scrolling.

Signed-off-by: Innei <tukon479@gmail.com>
2025-01-20 16:33:04 +08:00
Innei b2ffd5dd1a fix(Profile): replace Fragment with View for better layout structure in SubscriptionList
Signed-off-by: Innei <tukon479@gmail.com>
2025-01-17 22:51:44 +08:00
Innei 676f9718fb feat(rn): impl user profile page
Signed-off-by: Innei <tukon479@gmail.com>
2025-01-17 22:50:50 +08:00
Innei 0fc90c7c28 feat(rn): adjust login page styles
Signed-off-by: Innei <tukon479@gmail.com>
2025-01-17 20:16:58 +08:00
Innei 4ead50869f feat(rn): setting page list design
Signed-off-by: Innei <tukon479@gmail.com>
2025-01-16 19:29:32 +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