- 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
- Added a conditional rendering for the Recommendations component to display a message when no data is available.
- The new message informs users that the recommendations section is currently empty, improving user experience.
These changes provide clearer feedback to users when there are no recommendations to display.
Signed-off-by: Innei <tukon479@gmail.com>
- 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>
- Adjusted padding in EntryTitle and EntryDetailScreen for uniformity.
- Updated HTML component to enhance structure and readability.
- Modified CSS classes in HTML and image components for better alignment.
- Cleaned up link component styles to remove unnecessary classes.
These changes enhance the overall user interface and maintain a consistent design throughout the application.
Signed-off-by: Innei <tukon479@gmail.com>
- Changed `initDeviceType` to use async/await for better readability and error handling.
- Updated the app initialization process to await `initDeviceType` for proper sequencing.
- Refactored `migrateDatabase` to use async/await, improving error handling and code clarity.
- Adjusted the structure of `RootProviders` to ensure proper nesting of components.
This refactor enhances the overall code quality and maintainability.
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>
- Introduced EntryNavigationHeader component for improved navigation and header management in entry detail screens.
- Added titleHeightAtom to EntryContentContext for dynamic title height management.
- Refactored EntryTitle to utilize the new context and simplify layout handling.
- Updated EntryDetailScreen to integrate EntryNavigationHeader and enhance user experience.
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 useShareSubscription hook to include a removeItemById method for managing subscriptions.
- Integrated the new functionality into ProfileScreen, allowing users to unsubscribe from feeds.
- Added context providers for managing profile state and actions.
- Refactored list item components to utilize ItemPressable for better interaction handling.
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>
- Added camelcase-keys version 9.1.3 to package.json and pnpm-lock.yaml.
- Introduced language options for the discover module, enhancing the user experience.
- Updated the discover screen to include a new "Good Luck" section.
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>
* feat: unified auth for desktop and ssr
* feat: use one time token
* feat: remove better auth patch
* feat(desktop): handle session changes
* feat(desktop): recover ck auth for compatibility