- Introduced AttachNavigationScrollViewProvider for better context management.
- Added StateHandler component to manage screen name updates based on navigation events.
- Updated imports and optimized component structure for improved readability.
Signed-off-by: Innei <tukon479@gmail.com>
- Added new properties to ScreenOptionsContext for customizable header areas.
- Implemented resolveScreenOptions function to manage header configurations based on context options.
- Updated WrappedScreenItem to utilize new header area components for improved layout.
- Refactored EntryNormalItem to use SquareImage for better image handling.
- Introduced loading state for images to enhance user experience.
Signed-off-by: Innei <tukon479@gmail.com>
- Updated HeaderCloseButton and HeaderSubmitButton to use UINavigationHeaderActionButton for improved consistency and functionality.
- Adjusted layout in HeaderCloseOnly to accommodate the new button component.
Signed-off-by: Innei <tukon479@gmail.com>
* fix(mobile): add active prop to fix scroll to top in subscription tab
* refactor(mobile): convert SafeNavigationScrollView to forwardRef for improved ref handling
* fix: types
- Added event emissions for screen changes when a route appears or disappears, including the screen ID and route details.
- Updated the ScreenChangeEventPayload type to optionally include route information.
These changes enhance navigation tracking within the mobile application.
Signed-off-by: Innei <tukon479@gmail.com>
- Added a touchHighlight prop to ItemPressable to control the highlight effect on press.
- Implemented animated background color change using react-native-reanimated for a smoother user experience.
- Updated EntryNormalItem and EntrySocialItem to disable touchHighlight, ensuring consistent behavior across different item types.
These changes improve the interactivity and visual feedback of pressable items in the mobile application.
Signed-off-by: Innei <tukon479@gmail.com>
- Added new constants for GROUPED_SECTION_TOP_MARGIN and GROUPED_SECTION_BOTTOM_MARGIN to standardize spacing in grouped list components.
- Updated GroupedList and related components to utilize the new margin constants, ensuring consistent layout across various screens.
- Refactored multiple settings routes to remove unnecessary wrapper views, improving layout efficiency and readability.
- Adjusted the About, Account, and other settings screens to enhance visual consistency and user experience.
These changes improve the overall layout and responsiveness of grouped list components in the mobile application.
Signed-off-by: Innei <tukon479@gmail.com>
- Imported ListScreen for navigation within the Lists module.
- Updated AddListButton to present ListScreen on press.
- Modified ListItemCellImpl to navigate to ListScreen with the selected list's ID when the edit action is triggered.
- Adjusted GroupedInsetListCard to hide separators for improved layout.
These changes enhance user navigation and interaction within the lists feature of the mobile application.
Signed-off-by: Innei <tukon479@gmail.com>
- Updated constants for GROUPED_LIST_MARGIN, GROUPED_LIST_ITEM_PADDING, and GROUPED_ICON_TEXT_GAP to utilize PixelRatio for improved responsiveness.
- Refactored GroupedList and related components to apply new margin and padding constants, ensuring consistent spacing across various screen sizes.
- Adjusted styles in multiple subscription items and separators to incorporate the new layout constants, enhancing visual consistency.
These changes improve the overall layout and user experience of grouped list components in the mobile application.
Signed-off-by: Innei <tukon479@gmail.com>
- Added constants for icon text gap and a new enum for card item styles.
- Implemented GroupedInsetListCard with customizable separator support.
- Enhanced GroupedList and related components to utilize new styles and layout adjustments.
- Updated various components to incorporate pixel ratio for responsive design.
- Refactored item rendering in subscription lists to support first and last item styling.
These changes improve the visual consistency and responsiveness of grouped list components in the mobile application.
Signed-off-by: Innei <tukon479@gmail.com>