* 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
- 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>
* fix: adjust tab bar height for Android to account for insets
* fix(mobile): onboarding screen layout adjustments
* fix(mobile): update header height calculation to use Constants for status bar height
* fix(mobile): remove unnecessary RootSiblingParent wrapper in Subscriptions component
- Introduced a new ScreenErrorScreen component to display user-friendly error messages.
- Integrated the ScreenErrorScreen into the WrappedScreenItem using an ErrorBoundary for improved error management.
- Enhanced navigation experience by allowing users to go back when an error occurs.
These changes improve the application's resilience and user experience during error scenarios.
Signed-off-by: Innei <tukon479@gmail.com>
- Updated separator styles in various components to use a consistent class name for opacity.
- Removed dark mode specific classes to simplify styling.
- Adjusted padding and insets in the Recommendations component for better layout.
These changes enhance visual consistency and maintainability across the application.
Signed-off-by: Innei <tukon479@gmail.com>
- Added expo-device package to manage device types.
- Implemented device type initialization in the app startup process.
- Created hooks and atoms for accessing device type throughout the app.
- Updated navigation logic to handle iPad-specific presentation styles.
- Removed unused loading indicator component.
Signed-off-by: Innei <tukon479@gmail.com>
- Added z-index to the loading indicator in NavigationHeader to ensure it appears above other elements.
- Integrated PlatformActivityIndicator in the SubscriptionFeedCategoryContextMenu to display a loading state when fetching entries.
Signed-off-by: Innei <tukon479@gmail.com>
- Updated RelativeDateTime, EntryNormalItem, and CategoryGrouped components to use NativePressable for improved touch handling.
- Introduced NativePressable and IosItemPressable components to streamline pressable functionality across iOS and native views.
- Enhanced code organization by separating NativePressable types and implementations.
Signed-off-by: Innei <tukon479@gmail.com>
- Updated multiple components to eliminate unnecessary horizontal scrolling checks before executing actions.
- Enhanced the ErrorBoundary component to apply a text style to error messages.
- Improved code readability and maintainability by streamlining the logic in EntryNormalItem, EntrySocialItem, and other related components.
Signed-off-by: Innei <tukon479@gmail.com>
- 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>
- Replaced TouchableOpacity with ItemPressable in multiple components for improved interaction handling.
- Introduced a new UnStyled option in ItemPressableStyle to allow for customizable styling.
- Updated ItemPressable implementation in RelativeDateTime, EntryNormalItem, and CategoryGrouped components to enhance touch feedback and visual consistency.
Signed-off-by: Innei <tukon479@gmail.com>
- Updated import paths for existing screens to use camel case naming conventions.
- Introduced new screens: EditEmailScreen, FollowScreen, ForgetPasswordScreen, InvitationScreen, ListScreen, LoginScreen, ProfileScreen, RsshubFormScreen, SignUpScreen, TwoFactorAuthScreen, and SelectReadingModeScreen.
- Enhanced the onboarding experience with the addition of EditProfileScreen.
Signed-off-by: Innei <tukon479@gmail.com>
- Updated imports for EntryDetailScreen and FeedScreen to reflect new file structure.
- Introduced OnboardingScreen and PlayerScreen components to improve user onboarding and media playback experience.
- Added PhUsersBold icon component for enhanced UI consistency.
- Adjusted animation timing in ItemPressableModule for better touch feedback.
- Updated sitemap to reflect new screen paths.
Signed-off-by: Innei <tukon479@gmail.com>
- Introduced a new `RecommendationCategoryScreen` for displaying recommendations by category.
- Added a category grid in the Discover screen, allowing users to navigate to specific categories.
- Integrated emoji representation for categories using `CategoryEmojiMap`.
- Updated context management to streamline header height and animated values.
- Refactored `Recommendations` component to support new navigation structure.
Signed-off-by: Innei <tukon479@gmail.com>
- Added `cssInterop` for styling in `PagerView`.
- Updated `onScrollEnd` to pass the current index in `PagerView`.
- Introduced `PagerList` component for better feed view management.
- Refactored imports to ensure consistency across modules.
- Enhanced type definitions for better TypeScript support.
Signed-off-by: Innei <tukon479@gmail.com>
- Added initialTabIndex prop to BottomTabProvider for customizable tab index.
- Integrated BottomTabContext to manage tab state and improve context handling.
- Introduced useResetTabOpacityWhenFocused hook to reset tab opacity based on focus state.
- Updated TabRoot components to utilize context for tab index management.
- Adjusted PagerListVisibleContext default value for better visibility handling.
Signed-off-by: Innei <tukon479@gmail.com>
- Updated EntryNormalItem, EntrySocialItem, EntryVideoItem, and EntryGridFooter to accept and utilize view type for better context handling.
- Refactored EntryListSelector to include a NoLoginGuard for improved user experience.
- Added display names for memoized components for better debugging.
Signed-off-by: Innei <tukon479@gmail.com>
- Introduced useInTabScreen hook to determine if the current screen is within a tab.
- Updated SafeNavigationScrollView to conditionally check for scroll to bottom only when in a tab screen.
- Removed unused useViewDidAppear hook from navigation hooks for cleaner code.
These changes improve the functionality of the SafeNavigationScrollView and streamline the navigation hooks.
Signed-off-by: Innei <tukon479@gmail.com>
- Updated memoization of child elements in GroupedInsetListCard to depend on the children prop, improving rendering efficiency.
This change enhances performance by ensuring that the component only re-renders when the children change.
Signed-off-by: Innei <tukon479@gmail.com>
- Added memoization for child elements in GroupedList to optimize rendering.
- Updated Invitations component to utilize dynamic color for UserAvatar based on theme.
- Refactored color imports for better consistency across components.
These changes enhance performance and visual consistency in the UI components.
Signed-off-by: Innei <tukon479@gmail.com>
- Introduced `NavigationBlurEffectHeaderView` for improved header rendering in various settings screens.
- Updated `SafeNavigationScrollView` to accept a `Header` prop for better layout flexibility.
- Refactored existing screens to utilize the new header component, enhancing consistency across the app.
- Adjusted styles for header text to improve visual hierarchy.
Signed-off-by: Innei <tukon479@gmail.com>
- Refactored HelperModule to include new async functions for scrolling and image handling.
- Removed ProfileViewModule and associated UI components to streamline the codebase.
- Updated expo-module.config.json to reflect the removal of ProfileViewModule.
- Improved SafeNavigationScrollView and TimelineSelectorList to utilize new scroll handling features.
Signed-off-by: Innei <tukon479@gmail.com>
- Added GlobalErrorScreen and ListErrorView for improved error display.
- Enhanced ErrorBoundary to support custom fallback rendering.
- Integrated crashlytics initialization in the app startup process.
- Updated various components to utilize the new error handling structure.
- Fixed import paths for OTPWindow component.
Signed-off-by: Innei <tukon479@gmail.com>