Commit Graph
2375 Commits
Author SHA1 Message Date
Whitewater bb509fcbb0 fix(mobile): correct opacity modifier for Android platform (#3571) 2025-04-24 15:12:20 +08:00
Innei be2cb05dc2 fix(entry-read-history): update styling for improved visual consistency
- Changed background class from 'bg-material-medium' to 'bg-material-opaque' in EntryReadHistory component.
- Updated context menu shadow and background classes for better alignment with design standards in EntryReadHistory.shared component.

Signed-off-by: Innei <tukon479@gmail.com>
2025-04-24 13:05:55 +08:00
Innei 1ea969fa9e chore(dependencies): update tailwindcss-uikit-colors and react-native-uikit-colors to version 0.5.2
- Updated tailwindcss-uikit-colors in package.json files across multiple projects.
- Updated react-native-uikit-colors in mobile and pnpm-lock.yaml files for consistency.
- Adjusted ProfileButton component styling for macOS compatibility.

Signed-off-by: Innei <tukon479@gmail.com>
2025-04-24 12:58:21 +08:00
Innei b6eb586121 fix(context-menu): ensure submenu is only transformed if it has items
- Updated the submenu transformation logic to check for item length before processing, preventing unnecessary transformations.
- Adjusted the EntryTitle component's hover effect class for improved scaling behavior.

Signed-off-by: Innei <tukon479@gmail.com>
2025-04-24 12:45:06 +08:00
Innei b3a2fdb1fb fix(list-item-template): standardize text color usage
- Removed conditional text color classes for read/unread states in ListItem component.
- Ensured consistent application of 'text-text-secondary' across various text elements for improved styling coherence.

Signed-off-by: Innei <tukon479@gmail.com>
2025-04-24 12:40:00 +08:00
DIYgod a4ce91d6e3 feat(mobile): add status action 2025-04-24 10:38:39 +08:00
Whitewater 55de55e715 fix: keep only two decimal places at most for balance (#3564)
* fix: keep only two decimal places at most for balance

* refactor: use mono font styling for balance
2025-04-23 17:43:50 +00:00
Innei 634436ee83 refactor: update background colors and styling across components
- Replaced 'bg-theme-modal-background-opaque' with 'bg-theme-background' in various error fallback components for consistency.
- Updated hover background classes from 'bg-theme-button-hover' to 'bg-material-ultra-thick' in multiple UI elements.
- Removed the 'modalOpaque' setting from UI settings for cleaner configuration.

Signed-off-by: Innei <tukon479@gmail.com>
2025-04-23 23:54:50 +08:00
Innei e3892d06ce fix(view-selector): ignore user event if disabled
Signed-off-by: Innei <tukon479@gmail.com>
2025-04-23 23:28:11 +08:00
Innei 4e67eef418 refactor: enhance styling and structure of select components
- Updated the Select component styles for improved consistency and usability, including adjustments to padding and border properties.
- Refined the MarkdownLink component by removing unnecessary background classes for a cleaner appearance.
- Enhanced the MagneticHoverEffect component with a more descriptive class for backdrop blur.
- Introduced a Divider component in the SelectSeparator for better visual separation.

Signed-off-by: Innei <tukon479@gmail.com>
2025-04-23 23:25:31 +08:00
Innei b1578b1129 refactor: update placeholder and background colors across components
- Replaced instances of 'bg-theme-placeholder-image' with 'bg-material-ultra-thick' for improved consistency in styling.
- Updated text placeholder colors from 'text-theme-placeholder-text' to 'text-text-tertiary' in various components.
- Enhanced visual coherence and alignment with the new color scheme throughout the application.

Signed-off-by: Innei <tukon479@gmail.com>
2025-04-23 23:23:48 +08:00
Innei 3fb0f6726d refactor: update text color scheme across multiple components
- Replaced instances of 'text-foreground' with 'text-text' for improved consistency in styling.
- Adjusted various components including MarkdownLink, AchievementModalContent, and others to align with the new color scheme.
- Enhanced readability and visual coherence throughout the application.

Signed-off-by: Innei <tukon479@gmail.com>
2025-04-23 23:23:48 +08:00
DIYgod 9222553869 feat(desktop): add status action 2025-04-23 23:01:16 +08:00
Innei 84b868956c fix: discover tab width cls when switch to transfrom tab
- Updated the ScrollArea component to use flex for improved layout.
- Adjusted TabsList class to maintain consistency with the new flex styling.

Signed-off-by: Innei <tukon479@gmail.com>
2025-04-23 22:48:45 +08:00
Whitewater 7005e1b913 fix: improve loading and preview logic in ViewSelectorRadioGroup (#3560) 2025-04-23 14:40:48 +00:00
Innei c995da3323 feat(desktop): re-design context menu and dropdown menu
- Added `tailwindcss-multi` dependency to enhance Tailwind CSS capabilities.
- Updated `tailwind.config.ts` to include `tailwindcss-multi` plugin for improved utility management.
- Refactored various UI components to utilize new styling options and improve layout consistency.
- Renamed `useAsRead` hook to `useEntryIsRead` for better clarity in its purpose across multiple components.

Signed-off-by: Innei <tukon479@gmail.com>
2025-04-23 22:32:08 +08:00
Innei 1c9cb9c3ba feat(desktop): update sidebar color scheme
- Introduced new sidebar color variables in Tailwind configuration and CSS files.
- Updated various components to utilize the new sidebar colors for consistency.
- Adjusted vibrancy settings in the window creation process for improved visual effects.
- Refactored background and media components to align with the new color scheme.

Signed-off-by: Innei <tukon479@gmail.com>
2025-04-23 20:17:46 +08:00
DIYgod 01b8037336 feat(mobile): optimize list search result list 2025-04-23 19:40:11 +08:00
DIYgod 4027d0e6eb feat(mobile): optimize feed search result list 2025-04-23 19:26:33 +08:00
DIYgod adaa52f85d fix(mobile): search loading indicator 2025-04-23 15:59:44 +08:00
DIYgod 0b2393a11b feat(mobile): update discover category colors 2025-04-23 15:57:20 +08:00
Innei ec6bc963a7 refactor: migrate spring constants to centralized module
- 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>
2025-04-23 15:45:18 +08:00
Innei a41b695e75 refactor: update color scheme from vibrancy to text-secondary across multiple components
- 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>
2025-04-23 15:29:22 +08:00
DIYgod 755c12b4f4 feat(mobile): merge search screen into discover screnn; optimize search input 2025-04-23 15:10:58 +08:00
Innei e5e3bc1c06 fix(desktop): update date when date prop updated
- 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>
2025-04-23 15:08:43 +08:00
Whitewater 74ea30c30c fix(mobile): tweak loading style in android (#3557) 2025-04-23 06:34:17 +00:00
Konv Suu aa7e28d839 feat(desktop): improve ux in trending (#3555) 2025-04-23 13:51:27 +08:00
Innei 8678e5439e fix(mobile): simplify header component and update ForgetPasswordScreen layout
- 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>
2025-04-23 13:50:13 +08:00
Stephen Zhou 1f5dd2a165 refactor(mobile): replace react-native-video with expo-video, hide control in list, close #3417 2025-04-23 13:21:48 +08:00
Stephen Zhou eb3cb7db28 feat(mobile): open bilibili dynamic in app, close #3211 2025-04-23 12:19:21 +08:00
Stephen Zhou e0b2611e39 feat(mobile): video support (#3512) 2025-04-23 03:58:50 +00:00
DIYgod 43c1c54caf feat(mobile): remove AddFeedButton 2025-04-23 10:00:55 +08:00
DIYgod bf8e3b0398 feat(mobile): placeholderContentFit 2025-04-23 09:53:58 +08:00
Whitewater ae41eed457 fix: normalize safe area insets in android (#3554)
* fix: normalize safe area insets in android

* fix: import isAndroid utility
2025-04-22 17:37:28 +00:00
Innei ed171e7260 refactor: enhance Tailwind CSS configuration with improved merging and structure
- 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>
2025-04-23 00:49:55 +08:00
Innei fb8ee1b3b5 chore: update tailwindcss-uikit-colors to fix ts import
Signed-off-by: Innei <tukon479@gmail.com>
2025-04-23 00:47:08 +08:00
Konv Suu f3a60c49c2 chore(desktop): drop mark as read button in ai-daily (#3549) 2025-04-22 23:13:21 +08:00
Innei 1c588f39ac refactor: replace some legacy css color variables
Signed-off-by: Innei <tukon479@gmail.com>
2025-04-22 23:12:25 +08:00
Innei 2433d75e2a feat(desktop): unify variable colors
Signed-off-by: Innei <tukon479@gmail.com>
2025-04-22 23:11:12 +08:00
Innei ef0f0209f7 refactor: update datetime component for improved performance and clarity
- 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>
2025-04-22 19:55:57 +08:00
Innei cb29425373 refactor: comment out shortcuts section in GuideModalContent for future updates
- 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>
2025-04-22 19:32:24 +08:00
Innei b423654037 fix: update GuideModalContent and RSSHubGuide for improved functionality and layout
- 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>
2025-04-22 19:28:57 +08:00
Whitewater 3343ddb658 fix: adjust layout for Android (#3548)
* 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
2025-04-22 18:14:45 +08:00
Innei c3812be806 fix(markdown): enhance Markdown component with middleware support,fix ai summary entry id renderer
- 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>
2025-04-22 16:21:46 +08:00
Innei a0cfcd7ec4 fix(mobile): enhance Recommendations component with empty state message
- 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>
2025-04-22 13:18:36 +08:00
Innei 798f73dfe7 fix(mobile): add ScreenErrorScreen component for error handling
- 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>
2025-04-22 13:13:56 +08:00
Innei fcd21b2a53 fix(mobile): standardize separator styles across components
- 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>
2025-04-22 13:10:28 +08:00
Innei 017d9864cd fix(mobile): improve layout and styling consistency across components
- 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>
2025-04-22 12:57:03 +08:00
Innei c7afad6b27 fix(mobile): update device initialization and migration handling
- 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>
2025-04-22 12:47:33 +08:00
DIYgod 2d069023d8 feat(mobile): trust user certs in android (#3547)
* feat(mobile): trust user certs in android

* feat(mobile): trust user certs for non production only
2025-04-22 09:05:19 +08:00