Commit Graph

10 Commits

Author SHA1 Message Date
DIYgod 47a56c5017
fix(mobile): reduce timeline indicator jank on iOS (#4857) 2026-02-18 20:23:24 +08:00
lawvs ad7c5ddb9b fix: update setCurrentPage to determine navigation direction based on index 2025-07-24 04:04:13 +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
Innei e9653d4a5b
refactor(pager): clean up code formatting and remove unused touch handlers
- Reformatted code for improved readability by adjusting indentation and spacing.
- Removed unused RCTTouchHandler instances from EnhancePagerView and TabBarRootView classes to streamline the codebase.
- Ensured consistent handling of page views in EnhancePagerController.

Signed-off-by: Innei <tukon479@gmail.com>
2025-04-27 14:47:49 +08:00
Innei 91b9fae6c5
refactor(desktop): update text styles and enhance tooltip functionality
- Replaced hardcoded text sizes with standardized 'text-body' class for consistency across various components.
- Wrapped TooltipContent in RootPortal for better rendering in EnhancedSettingsIndicator and SettingSyncIndicator components.
- Improved accessibility and visual consistency in EntryHeaderImpl and EntryContent components by updating text styles.

Signed-off-by: Innei <tukon479@gmail.com>
2025-04-27 14:26:40 +08:00
Innei 8602973016
feat(mobile): enhance EnhancePagerView with initialPageIndex prop
- Refactored EnhancePagerView to include an initialPageIndex property for better control over the starting page.
- Updated related components and specifications to support the new prop.
- Fixed a typo in the initialize method name for consistency.

Signed-off-by: Innei <tukon479@gmail.com>
2025-04-17 00:48:01 +08:00
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 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