Commit Graph
318 Commits
Author SHA1 Message Date
lawvs 1f7a2c89d6 fix: update content view class name in SafeNavigationScrollView usage 2025-06-27 03:38:47 +08:00
lawvs 1d13370367 fix: tweak style for proper layout on Android 2025-06-27 03:37:51 +08:00
Whitewater 524ad05002 feat: enhance scroll interactions in TimelineSelector (#3952)
* feat: enhance PagerView onScroll event to include position parameter for iOS

* feat: add TimelineSelectorDragProgress context and provider for managing drag state

* feat: enhance TimelineViewSelector with drag progress and animated item transitions

* feat: integrate drag progress into PagerList and TimelineViewSelector for enhanced user interaction

* feat: add animated icon transitions in ViewItem based on drag progress

* fix: add scrollViewDidEndDecelerating to trigger onScrollEnd callback

* fix: enhance PagerList to synchronize drag progress with timeline selection
2025-06-19 07:17:27 +00:00
lawvs 102d8bfb6a fix: update GroupedInsetListCard style for improved android layout 2025-06-19 12:46:08 +08:00
lawvs f01baf9ba7 fix: enhance NativeWebView to handle window opening and improve URL parsing error handling 2025-06-19 12:17:36 +08:00
lawvs fa78bad335 fix: replace View with Animated.View for animations in ImageView component 2025-06-15 02:05:40 +08:00
lawvs e3f27dd7d3 fix: text shift in TextInput for android 2025-06-13 04:19:57 +08:00
Whitewater 547a4fdc96 feat(mobile): lightbox (#3882)
* feat(mobile): lightbox

* chore: auto-fix linting and formatting issues

* feat: enhance back handler to close lightbox when active

* feat: integrate Lightbox component and move SafeAreaProvider to RootProviders

* refactor: update renderItem function to use destructured props

* feat: add Android manifest plugin to enable large heap size

* fix: add rounded corners to AspectRatioImage

* feat: set priority to high for image loading in ImageItem component

* chore: remove unused zIndex from ImageViewing

* feat: update ImageDefaultHeader and LightboxFooter for improved layout

* chore: simplify renderItem function signature in PagerList and Subscriptions components

* refactor: update galeria

* chore: tweak component

* feat: integrate lightbox functionality for media previews
2025-06-12 13:52:07 +08:00
Innei 8c0a5be15c feat(profile): add social media icons and links to user header banner
- Introduced social media icons for platforms like GitHub, Twitter, YouTube, Discord, Instagram, and Facebook in the UserHeaderBanner component.
- Enhanced the UserHeaderBanner to display user bio, website, and social links dynamically.
- Updated database schema to include new fields for user profiles: bio, website, and social_links.
- Adjusted layout and styles for better presentation of user information.

Signed-off-by: Innei <tukon479@gmail.com>
2025-06-11 19:11:31 +08:00
Innei 95616e2d6c feat(profile): enhance user profile editing capabilities
- Added fields for bio, website, and social media links to the EditProfileScreen.
- Updated database schema to include new fields for user profiles.
- Modified UserAvatar component to adjust font size dynamically.
- Expanded environment options in debug settings to include 'local'.

Signed-off-by: Innei <tukon479@gmail.com>
2025-06-11 18:35:20 +08:00
Stephen Zhou 784a95cff1 refactor(desktop): use database and store from shared package (#3897) 2025-06-11 11:36:25 +08:00
DIYgod 6a51c8f341 feat(mobile): optimize rsshub form screen 2025-06-05 18:40:12 +08:00
DIYgod 9c3457a29e feat(mobile): rsshub routes sorting 2025-06-05 13:22:36 +08:00
DIYgod 6f437bf780 fix: bottom tabbar background on initial load (#3867) 2025-06-04 16:50:28 +08:00
Stephen Zhou 939562d678 refactor: force selector for useEntry (#3859) 2025-06-03 17:33:31 +08:00
lawvs ce3a23bf62 refactor: reorg image saving and sharing logic to use utility functions 2025-06-03 16:53:38 +08:00
Innei 4e4e09919c refactor: remove Markdown and MarkdownWeb components
- Deleted Markdown and MarkdownWeb components to streamline the codebase.
- This change eliminates unused components related to markdown rendering, improving maintainability.

Signed-off-by: Innei <tukon479@gmail.com>
2025-05-29 22:29:30 +08:00
Innei 9af7dccf33 refactor: merge markdown parser
- Replaced button with a div in FeedListItem for better accessibility.
- Introduced MarkdownNative component for improved markdown rendering in mobile.
- Updated RsshubFormScreen to utilize MarkdownNative for displaying route descriptions.
- Refactored renderMarkdown function to use parseMarkdown for better performance and added support for text alignment in table cells.

Signed-off-by: Innei <tukon479@gmail.com>
2025-05-29 15:48:31 +08:00
Stephen Zhou 3adf17f91a fix(mobile): add subscriptionCount and purchaseAmount for list 2025-05-27 15:48:38 +08:00
Stephen Zhou 5937096869 refactor: remove src export from follow/utils 2025-05-27 15:07:35 +08:00
Stephen Zhou ce7c421e0d refactor(mobile): enable package exports (#3822) 2025-05-27 10:54:49 +08:00
Stephen Zhou 0a2a099d7b refactor(mobile): sperate store package (#3819) 2025-05-26 22:54:15 +08:00
Whitewater 6923d0e773 fix: add video support in entry content (#3816)
* chore: enable fullscreen video in NativeWebView

* feat: add video component support with controls in HTML parser
2025-05-26 14:58:50 +08:00
Stephen Zhou fb40cbea93 refactor(mobile): separate database package (#3809) 2025-05-26 14:48:27 +08:00
lawvs 17ed72d17d fix: update GroupedInsetListCard styles 2025-05-25 14:54:28 +08:00
Whitewater 2573fa7428 feat: add video support in EntryNormalItem (#3798)
* feat: add video support and enhance media handling in EntryNormalItem

* chore: correct reference name for video view in VideoPlayer component

* fix: remove size class
2025-05-24 19:00:15 +08:00
Whitewater 9c270c78a0 feat: add entry pull up and release ui (#3770)
* feat: add ScrollViewBottom prop to SafeNavigationScrollView for additional content rendering

* feat: implement EntryPullUpToNext component for enhanced navigation experience

* feat: integrate EntryPullUpToNext component into EntryDetailScreen for improved navigation

* chore: add entry pull up and release messages to localization files
2025-05-21 11:51:23 +08:00
Whitewater 7f984ecf1c feat: implement pull up to next functionality (#3760)
* feat: implement pull-up-to-next functionality in EntryDetailScreen

* feat: add onScroll callback support in SafeNavigationScrollView

* refactor: utilize EntryExtraData

* feat: refactor Entry components to utilize EntryExtraData type

* refactor: replace useSharedValue with useRef and useState for pull-up functionality

* feat: enhance pull-up-to-next functionality with enabled prop

* fix: types
2025-05-20 13:05:06 +08:00
DIYgod ad9b47eeed feat(mobile): trending language, add trending into onboarding 2025-05-16 13:19:22 +08:00
lawvs 72ed7df9a8 fix(mobile): improve CJK character handling in FallbackIcon component 2025-05-14 18:21:47 +08:00
lawvs 93f19c4f6c fix: handle image loading errors in FeedIcon component 2025-05-13 19:05:33 +08:00
lawvs c3067b9952 fix: add experimentalBlurMethod prop to ThemedBlurView in EntryNormalItem for better Android support 2025-05-12 19:41:32 +08:00
lawvs 172ea12fed chore: add vibration feedback on context menu open for Android 2025-05-09 01:00:29 +08:00
lawvs 7ba1524e40 fix: simplify press handling on android 2025-05-08 19:05:49 +08:00
Stephen Zhou 9d1c1a6bd3 fix(mobile): improve i18n for subscription form 2025-05-08 11:55:41 +08:00
Stephen Zhou d1d1fb4a75 fix(mobile): video style in social media, close #3665 2025-05-07 18:00:09 +08:00
Innei efc2e9713b refactor: upgrade react 19 and react native 0.79 (#3661)
* update

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

* chore: update Babel and Metro configurations

- Added `unstable_transformImportMeta` option to Babel preset for improved JSX handling.
- Disabled `unstable_enablePackageExports` in Metro configuration for better package resolution.

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

* chore: add react-native-ios-utilities patch and update dependencies

- Introduced a patch for `react-native-ios-utilities` to enhance functionality.
- Updated `expo`, `react-native`, and `react-native-reanimated` versions in the example app for improved compatibility.
- Added `react-native-ios-utilities` to the project dependencies in `package.json`.

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

* update

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

* chore: auto-fix linting and formatting issues

* refactor: improve route parameter handling and entry fetching logic

- Updated `useRouteParams` to utilize `useReadonlyRoute` for better state management.
- Enhanced `useEntriesByView` to separate remote and local entry fetching, improving data handling and error management.
- Introduced debouncing for pagination in local entries and added toast notifications for error handling.
- Cleaned up entry ID retrieval to ensure uniqueness and prevent duplicates.

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

* refactor: simplify Masonry component return statement

- Updated the return statement in the Masonry component to use JSX syntax for better readability and consistency.

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

* refactor: update import from RootPortalProvider to RootPortalContext

- Changed the import statement in Sheet.tsx to reflect the updated context provider name for better clarity and consistency in the codebase.

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

* update

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

* refactor: update ref types in component props

- Changed ref prop types from React.RefObject to React.Ref for better type compatibility across various components, enhancing overall code consistency and maintainability.

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

* feat: add Xcode build server configuration and enhance desktop app routing

- Introduced a new configuration file for the Xcode build server to streamline iOS builds.
- Updated Vite configuration to include a new proxy route for sharing functionality.
- Added a new Jotai atom for managing preview state in the application.
- Removed deprecated error fallback component to clean up the codebase.
- Implemented a new render style hook for consistent styling across components.
- Enhanced entry column components with improved error handling and layout adjustments.
- Updated various components to utilize the new render style and improved accessibility.

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

* update

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

* fix: ensure plugins array is initialized and update TypeScript configuration

- Initialized the plugins array in the mobile app configuration to prevent potential runtime errors.
- Updated TypeScript configuration to enhance module resolution and improve code organization with clearer path definitions.

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

* update lint

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

* refactor: update TypeScript types and improve component props

- Added `skipLibCheck` to TypeScript configuration for faster builds.
- Updated prop types in various components to allow for null values in refs, enhancing type safety.
- Refactored several components to ensure better type compatibility and maintainability.

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

* refactor(mobile): improve layout handling in NavigationHeader component

- Added console logs for debugging right and left widths.
- Adjusted layout structure to ensure proper width handling for header elements.
- Updated loading indicator positioning and visibility logic.

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

* refactor(mobile): update Pager and QRCode components to use forwardRef

- Refactored Pager and QRCode components to directly export as functional components with forwardRef.
- Updated type definitions to improve ref handling and ensure better type safety.
- Simplified component structure for improved readability and maintainability.

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

* refactor(ui): enhance FAB components with functional component structure and improved type definitions

- Converted FABBase and FABPortable to functional components using FC type for better type safety.
- Updated props to include optional ref handling, enhancing flexibility in usage.
- Simplified component structure for improved readability and maintainability.

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

* chore(deps): update react-native-ios-utilities patch and refine TypeScript configuration

- Updated the patch for react-native-ios-utilities in pnpm-lock.yaml to reflect a new hash.
- Enhanced TypeScript configuration in tsconfig.json by adding exclusion for node_modules and formatting paths for better readability.
- Cleaned up the react-native-ios-utilities.patch by removing unused exports from the index file.

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

* update

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

---------

Signed-off-by: Innei <tukon479@gmail.com>
2025-05-07 16:30:30 +08:00
lawvs 8962f3d21a fix: update RotateableLoading to use dynamic icon color based on theme 2025-04-30 14:55:56 +08:00
lawvs ae191c5aa6 fix: adjust z-index values for dialog 2025-04-29 19:21:43 +08:00
Innei 44137e6da1 chore: update @react-native-firebase packages to version 22.0.0 and refactor crashlytics and messaging imports
Signed-off-by: Innei <tukon479@gmail.com>
2025-04-29 18:50:48 +08:00
Stephen Zhou 9d39711781 feat(mobile): private feed subscription icon 2025-04-28 16:36:42 +08:00
Whitewater 1fad306f67 fix: toast message handling on android (#3604)
* fix(toast): ensure default duration is applied when showing toast messages

* fix: handle potential undefined toastRefs and improve conflict warning

* chore: correct spelling of 'dismiss' in ToastRef and related usages
2025-04-27 15:17:50 +08:00
DIYgod a4ce91d6e3 feat(mobile): add status action 2025-04-24 10:38:39 +08:00
DIYgod 4027d0e6eb feat(mobile): optimize feed search result list 2025-04-23 19:26:33 +08:00
Whitewater 74ea30c30c fix(mobile): tweak loading style in android (#3557) 2025-04-23 06:34:17 +00:00
Innei 8678e5439e fix(mobile): simplify header component and update ForgetPasswordScreen layout
- Removed unused imports and the HeaderCloseButton component from HeaderElements.tsx.
- Integrated DefaultHeaderBackButton for improved navigation handling.
- Adjusted padding and alignment in ForgetPasswordScreen for better layout consistency.

Signed-off-by: Innei <tukon479@gmail.com>
2025-04-23 13:50:13 +08:00
Stephen Zhou 1f5dd2a165 refactor(mobile): replace react-native-video with expo-video, hide control in list, close #3417 2025-04-23 13:21:48 +08:00
Stephen Zhou e0b2611e39 feat(mobile): video support (#3512) 2025-04-23 03:58:50 +00:00
DIYgod bf8e3b0398 feat(mobile): placeholderContentFit 2025-04-23 09:53:58 +08:00
Whitewater ae41eed457 fix: normalize safe area insets in android (#3554)
* fix: normalize safe area insets in android

* fix: import isAndroid utility
2025-04-22 17:37:28 +00:00