- 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>
- Replaced the noPreview prop with a new preview prop in the UserAvatar component, defaulting to true.
- Updated the rendering logic to conditionally display the avatar based on the preview prop.
- Adjusted instances of UserAvatar in EntryReadHistory and action.tsx to utilize the new preview prop.
These changes enhance the flexibility of the UserAvatar component by allowing for more controlled rendering behavior.
Signed-off-by: Innei <tukon479@gmail.com>
- Bumped versions of `react-native-uikit-colors`, `apple-uikit-colors`, and `tailwindcss-uikit-colors` to 0.3.10 in `pnpm-lock.yaml` and `package.json` for consistency and to leverage the latest features and fixes.
- Updated the import from `useCurrentColors` to `useCurrentColorsVariants` in the `index.tsx` provider file to align with the new API.
- Added a blank line in `Actions.tsx` for improved code readability.
These changes ensure the application is using the latest color utilities and maintain clean code practices.
Signed-off-by: Innei <tukon479@gmail.com>
- Added a placeholder mechanism in the Tabbar component to handle cases where no tab screens are available, improving user experience by preventing empty tab displays.
- Utilized `useMemo` to create a default placeholder tab screen, ensuring efficient rendering.
- Updated the rendering logic to conditionally display either the actual tab screens or the placeholder.
These changes optimize the Tabbar functionality and enhance the overall navigation experience within the mobile application.
Signed-off-by: Innei <tukon479@gmail.com>
- Introduced a `lazy` prop to the `TabScreen` and `TabScreenComponent` interfaces to enable lazy loading of tab screens.
- Updated the `TabScreen` implementation to conditionally render based on the `lazy` prop, improving performance by loading screens only when necessary.
- Set the `lazy` property to `true` for the `DiscoverTabScreen` to utilize the new functionality.
These changes enhance the tab navigation experience by optimizing screen loading behavior.
Signed-off-by: Innei <tukon479@gmail.com>
- Changed navigation method from `pushControllerView` to `presentControllerView` for better user experience.
- Added `itemStyle` prop with `ItemPressableStyle.Plain` to `ItemPressable` in both components for consistent styling.
These updates enhance the navigation flow and visual consistency within the search functionality of the mobile application.
Signed-off-by: Innei <tukon479@gmail.com>
- Wrapped children in RootSiblingParent within the App component to manage sibling overlays.
- Renamed main application component from App4 to Entry for clarity.
- Enhanced dialog component by adding SafeAreaProvider and NavigationInstanceContext for improved layout and navigation handling.
- Cleaned up provider structure by removing unnecessary RootSiblingParent in RootProviders.
These changes aim to improve the overlay management and navigation context within the mobile application.
Signed-off-by: Innei <tukon479@gmail.com>