- Removed the spring.ts file and replaced direct imports with centralized Spring presets in various components.
- Updated transition properties in multiple files to utilize the new Spring module for consistency and maintainability.
Signed-off-by: Innei <tukon479@gmail.com>
- Replaced instances of 'text-theme-vibrancyFg' with 'text-text-secondary' for improved consistency in styling.
- Adjusted padding and margin in ModalInternal and other components for better layout.
- Removed vibrancy color definitions from tailwind and CSS files to streamline the color palette.
Signed-off-by: Innei <tukon479@gmail.com>
- Simplified date string setting logic in RelativeDay component.
- Added spacing in EntryHeadDateItem for better layout.
- Consolidated className definition in DateItem component for consistency.
Signed-off-by: Innei <tukon479@gmail.com>
- 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>
- Updated the Tailwind CSS configuration to utilize the `merge` function for better handling of theme extensions.
- Refactored the base Tailwind configuration to streamline the export process and maintain clarity.
- Ensured that color themes and settings are preserved while enhancing the overall configuration structure.
These changes improve maintainability and clarity in the Tailwind CSS setup.
Signed-off-by: Innei <tukon479@gmail.com>
- Refactored the formatDateString function in the RelativeDay component to use useCallback for better performance.
- Updated the import path for getUpdateInterval to point to utils.js for consistency.
- Cleaned up the useEffect dependencies to ensure proper updates and prevent unnecessary re-renders.
- Commented out unused code in GuideModalContent to streamline the user guide presentation.
These changes enhance the maintainability and performance of the datetime component and improve the overall user experience.
Signed-off-by: Innei <tukon479@gmail.com>
- Commented out the shortcuts section in GuideModalContent to streamline the current user guide presentation.
- This change prepares the code for potential future enhancements while maintaining existing functionality.
These modifications improve code clarity and maintainability.
Signed-off-by: Innei <tukon479@gmail.com>
- Refactored finishGuide function in GuideModalContent to use useRef for stability.
- Enhanced layout in GuideModalContent for better text alignment and spacing.
- Added flex property to ScrollArea in RSSHubGuide for improved responsiveness.
These changes enhance the user experience and maintainability of the components.
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
- Updated the Markdown component to accept an `applyMiddleware` prop for custom processing.
- Modified the `parseMarkdown` function to utilize the new middleware feature, allowing for additional processing steps.
- Adjusted related components to ensure compatibility with the new middleware functionality.
These changes improve the flexibility and extensibility of the Markdown rendering process.
Signed-off-by: Innei <tukon479@gmail.com>
- 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>
- Updated the initialization of the UITabBarController to use a lazy property for better performance.
- Added conditional logic to manage tab bar visibility based on iOS version and device type.
- Removed redundant tab bar visibility setting from the initializer.
- Cleaned up code by removing unnecessary whitespace and improving readability.
Signed-off-by: Innei <tukon479@gmail.com>
- Replaced instances of APP_NAME with the new Folo icon in PoweredByFooter, FeedColumnMobile, LoginModalContent, SettingModalLayout, TimelineColumnHeader, and Layout components.
- Added Folo icon component to the project.
- Updated localization to include a new entry for copying the logo text SVG.
Signed-off-by: Innei <tukon479@gmail.com>
- Introduced EntryVirtualListItem to enhance the rendering of entries in a virtualized list.
- Updated EntryList to utilize EntryVirtualListItem, improving performance and structure.
- Removed redundant keydown handling logic from EntryList, streamlining the component.
Signed-off-by: Innei <tukon479@gmail.com>