Commit Graph

2906 Commits

Author SHA1 Message Date
Innei 70255af458
refactor(dock): implement PollingManager for unread count updates, fixed #3891
- Removed redundant polling logic from DockService and replaced it with a PollingManager class to handle polling operations more efficiently.
- Updated the setting-sync provider to utilize the new polling mechanism for managing dock badge updates.
- Cleaned up unused setDockBadge method from SettingService.

Signed-off-by: Innei <tukon479@gmail.com>
2025-06-12 21:20:46 +08:00
Innei 20d8590c58
fix(auth): add support for dark mode icons in login components
- Introduced `iconDark64` property to `AuthProvider` interface for dark mode icon support.
- Updated `LoginModalContent` and `Login` components to conditionally render dark mode icons based on the current theme.

Signed-off-by: Innei <tukon479@gmail.com>
2025-06-12 21:06:15 +08:00
Innei a42ae14278
feat(settings): add 'Hide Extra Badge' option to appearance settings and update translations
Signed-off-by: Innei <tukon479@gmail.com>
2025-06-12 21:03:45 +08:00
Konv Suu 37ec87b121
fix(discover): borken style in discover page (#3905) 2025-06-12 16:49:31 +08:00
Stephen Zhou 52dd557d3d
refactor(desktop): remove old database and service (#3911) 2025-06-12 15:58:47 +08:00
Stephen Zhou f928707264
feat(desktop): export sqlite database 2025-06-12 15:33:28 +08:00
lawvs cb4ed60142 fix: adjust layout for ThumbnailImage 2025-06-12 14:15:35 +08:00
Stephen Zhou b9936b87d6
fix: bring back changes in create and update list 2025-06-12 14:03:47 +08:00
Whitewater 547a4fdc96
feat(mobile): lightbox (#3882)
* feat(mobile): lightbox

* chore: auto-fix linting and formatting issues

* feat: enhance back handler to close lightbox when active

* feat: integrate Lightbox component and move SafeAreaProvider to RootProviders

* refactor: update renderItem function to use destructured props

* feat: add Android manifest plugin to enable large heap size

* fix: add rounded corners to AspectRatioImage

* feat: set priority to high for image loading in ImageItem component

* chore: remove unused zIndex from ImageViewing

* feat: update ImageDefaultHeader and LightboxFooter for improved layout

* chore: simplify renderItem function signature in PagerList and Subscriptions components

* refactor: update galeria

* chore: tweak component

* feat: integrate lightbox functionality for media previews
2025-06-12 13:52:07 +08:00
Stephen Zhou 8d6489f605
refactor: remove duplicated fetchEntryContentByStream 2025-06-11 22:55:44 +08:00
Innei d8f76c5f6a
refactor(glow-effect): remove GlowEffect view and integrate animation handling
- Deleted the GlowEffect view implementation to streamline the module.
- Introduced IntelligenceAnimationController to manage animation presentation in a separate window.
- Updated AppleIntelligenceGlowEffectModule to utilize new showIntelligenceEffect and hideIntelligenceEffect functions for better encapsulation of animation logic.
- Added IntelligenceAnimationView for the new animation display.

Signed-off-by: Innei <tukon479@gmail.com>
2025-06-11 20:55:08 +08:00
Innei b89c0270d2
feat(ai-summary): implement selectable text sheet for AI summary copying
- Added a new SelectableTextSheet component to allow users to copy AI summary text.
- Integrated the new component into the AISummary component, enabling long-press functionality for text selection.
- Updated EntryAISummary to pass the raw summary for copying.
- Enhanced styles and layout for better user experience.

Signed-off-by: Innei <tukon479@gmail.com>
2025-06-11 20:06:43 +08:00
Innei 5a63521043
style(entry-list): update AspectRatioImage component with dynamic sizing and background color
- Modified the AspectRatioImage component to include dynamic width and height styles.
- Added a red background color to the container for improved visibility.

Signed-off-by: Innei <tukon479@gmail.com>
2025-06-11 19:12:35 +08:00
Innei 8c0a5be15c
feat(profile): add social media icons and links to user header banner
- Introduced social media icons for platforms like GitHub, Twitter, YouTube, Discord, Instagram, and Facebook in the UserHeaderBanner component.
- Enhanced the UserHeaderBanner to display user bio, website, and social links dynamically.
- Updated database schema to include new fields for user profiles: bio, website, and social_links.
- Adjusted layout and styles for better presentation of user information.

Signed-off-by: Innei <tukon479@gmail.com>
2025-06-11 19:11:31 +08:00
Innei 95616e2d6c
feat(profile): enhance user profile editing capabilities
- Added fields for bio, website, and social media links to the EditProfileScreen.
- Updated database schema to include new fields for user profiles.
- Modified UserAvatar component to adjust font size dynamically.
- Expanded environment options in debug settings to include 'local'.

Signed-off-by: Innei <tukon479@gmail.com>
2025-06-11 18:35:20 +08:00
Stephen Zhou 0c5e7f208c
fix(mobile): render entry list for every view in page list 2025-06-11 17:14:38 +08:00
Stephen Zhou f325da0c31
fix(desktop): translate content for social media 2025-06-11 13:22:19 +08:00
Stephen Zhou d3f889a42d
refactor(desktop): use translation and readability from shared store (#3902) 2025-06-11 12:36:26 +08:00
Stephen Zhou 784a95cff1
refactor(desktop): use database and store from shared package (#3897) 2025-06-11 11:36:25 +08:00
Innei d3b65ac033
fix(language-selector):remove language description label on onboarding modal
- Updated LanguageSelector component to include a showDescription prop, allowing conditional rendering of the language description.
- Modified the Intro component to set showDescription to false, streamlining the user interface in the new user guide.

Signed-off-by: Innei <tukon479@gmail.com>
2025-06-11 00:50:37 +08:00
Innei 0fd9298f20
fix(desktop): fix switch sub hotkey scope
- Renamed FeedColumn to SubscriptionColumn for consistency and clarity.
- Updated imports and component references throughout the subscription column module.
- Introduced new SubscriptionColumnHeader, SubscriptionList, and SubscriptionTabButton components to enhance functionality and organization.
- Removed the deprecated TimelineList component to streamline the codebase.

Signed-off-by: Innei <tukon479@gmail.com>
2025-06-11 00:04:04 +08:00
Innei 228b4b09ae
feat(profile): redesign user profile modal
- Introduced a new ListCard component to display user-created lists with relevant details.
- Updated user data handling to include image and improved structure for user information.
- Refactored the UserProfileModalContent to streamline rendering of user info, lists, and subscriptions.
- Removed unnecessary state management and improved overall layout for better user experience.

Signed-off-by: Innei <tukon479@gmail.com>
2025-06-10 23:43:20 +08:00
Innei c7607dec09
fix: unfollow before list delete
- Replaced object key checks with direct array length checks for list and inbox subscriptions to enhance performance and readability.
- Updated components to utilize the new subscription ID variables for improved clarity in data management.
- Removed unnecessary list invalidation after deletion to simplify the mutation success flow.

Signed-off-by: Innei <tukon479@gmail.com>
2025-06-10 21:51:17 +08:00
Innei d39f95c5b3
fix(desktop): can update list after create list
- Replaced grouped data hooks with direct ID retrieval for lists and inboxes to simplify data management.
- Updated related components to utilize the new hooks for improved performance and clarity.
- Enhanced list creation and update logic to utilize centralized actions for better maintainability.

Signed-off-by: Innei <tukon479@gmail.com>
2025-06-10 21:45:56 +08:00
Cason Kervis e03d1ec872
fix(profile): fix input box not fully width (#3898)
* fix(profile): fix input box not fully width

* fix: update translate
2025-06-10 20:17:50 +08:00
huanfei ad7d191b74
fix: adjust some style (#3896)
* feat: adjust style

* fix: preview button line break
2025-06-10 20:16:50 +08:00
Innei 4d7c01c68c
refactor(profile): simplify user profile modal layout and enhance user info display
- Removed unnecessary state management for header simplicity and scroll handling.
- Updated user info display to include bio, website, and social links in a more structured layout.
- Integrated follow button functionality for users to follow others directly from the profile modal.
- Improved overall styling and organization of the user profile modal for better user experience.

Signed-off-by: Innei <tukon479@gmail.com>
2025-06-10 00:28:06 +08:00
Innei b934d65a7b
chore(profile): extract social media constants and functions into a separate module
- Created a new constants file for social media icons and links to improve code organization and reusability.
- Updated the user profile modal components to utilize the new constants and functions for rendering social links.
- Refactored social link handling to streamline the process of generating URLs based on user data.

Signed-off-by: Innei <tukon479@gmail.com>
2025-06-10 00:13:58 +08:00
Innei 507a525965
feat(profile): add user profile with bio, website, and social links
- Added fields for user bio, website, and social links (Twitter, GitHub, Instagram, Facebook, YouTube, Discord) in the profile settings form.
- Updated the user profile modal to display bio, website, and social links.
- Improved email management UI for better layout and user experience.
- Introduced new translations for the added fields in the settings locale.

Signed-off-by: Innei <tukon479@gmail.com>
2025-06-10 00:08:25 +08:00
Stephen Zhou f0cdcaaac0
Revert "chore: ignore type error for now"
This reverts commit 051ac49831.
2025-06-09 23:37:53 +08:00
Stephen Zhou 051ac49831
chore: ignore type error for now 2025-06-09 23:36:46 +08:00
Innei 9f63483332
feat(upgrade): add linkifyChangelog utility and update changelog rendering
- Introduced a new utility function `linkifyChangelog` to convert commit hashes, issue/PR numbers, and contributor mentions into clickable links.
- Updated the `AppNotificationContainer` to utilize the new utility for rendering the changelog in both development and production environments.
- Modified the `Paper` component styling for improved visual consistency.

Signed-off-by: Innei <tukon479@gmail.com>
2025-06-09 22:31:18 +08:00
Innei 33fb011e88
fix(markdown): update markdown rendering to use TextInput for headings and paragraphs
- Changed rendering of markdown elements (h1-h6, p) to use TextInput for better compatibility with React Native.
- Added support for strikethrough, superscript, subscript, and section elements in markdown rendering.
- Improved styling for blockquote and horizontal rules.

Signed-off-by: Innei <tukon479@gmail.com>
2025-06-09 22:21:03 +08:00
Innei a92bdb89b3
feat(user-profile): integrate user lists and subscriptions in profile page
- Added functionality to fetch and display user-created lists alongside subscriptions.
- Introduced new components for rendering lists and subscriptions with loading states.
- Updated metadata fetching to include lists data for user profiles.
- Refactored user subscriptions query for better data handling.

Signed-off-by: Innei <tukon479@gmail.com>
2025-06-09 21:20:22 +08:00
lawvs 6dcf03894a fix: SquareImage not showing 2025-06-09 16:57:09 +08:00
Konv Suu 7db6dd277a
refactor(desktop): update import to use shared utils module (#3892) 2025-06-09 14:34:44 +08:00
Konv Suu c578bda828
fix(desktop): update unread count labels and descriptions for appearance settings (#3893) 2025-06-09 14:34:17 +08:00
DIYgod ec2839931b
docs: update contributor acknowledgment in changelog 2025-06-09 12:16:05 +08:00
DIYgod 8fe3b372fd
docs: update changelog 2025-06-09 10:36:33 +08:00
DIYgod 2dc9daabb5
Merge pull request #3889 from RSSNext/sync/main-to-dev-20250609
Sync main branch to dev branch
2025-06-09 10:31:41 +08:00
DIYgod 06a88b0f33
release(mobile): Release v0.2.1
release(mobile): Release v0.2.1
2025-06-09 10:30:55 +08:00
lawvs d7e270377b feat: add loading state to entry thumbnail 2025-06-09 02:22:27 +08:00
Innei b833864c9c
fix(meta-handler): update URL handling in injectMetaHandler to include search parameters
- Refactored the URL parsing logic to create a new URL object for better handling of pathname and search parameters.
- Added searchParams to the handler's parameters for improved data accessibility.

Signed-off-by: Innei <tukon479@gmail.com>
2025-06-08 11:56:39 +08:00
DIYgod 8f37d441f2
Merge pull request #3883 from RSSNext/sync/main-to-dev-20250608
Sync main branch to dev branch
2025-06-08 10:11:57 +08:00
lawvs 5a2f8fcb5b fix: tweak styles for android 2025-06-08 04:04:35 +08:00
lawvs 86b2d083fb fix: wrap code highlight theme selector in a view for layout consistency 2025-06-08 03:22:19 +08:00
lawvs 3be9af23d7 fix: lint 2025-06-08 02:54:45 +08:00
lawvs 0f68ecadba fix: ensure pager list is always visible on Android to prevent blank screen 2025-06-07 03:39:57 +08:00
Innei e0ff343ac0
feat(settings): enhance data export functionality and UI improvements
- Updated the data control settings to include a new export data feature with improved UI elements.
- Refactored the modal dialog to utilize the new `useDialog` hook for confirmation prompts.
- Enhanced localization strings for clarity and consistency in export-related descriptions.
- Added success feedback for cache cleaning actions to improve user experience.

Signed-off-by: Innei <tukon479@gmail.com>
2025-06-07 01:48:03 +08:00
Innei e05fc74ca3
feat(settings): enhance appearance settings with descriptions and layout adjustments
- Added descriptions to various appearance settings for improved user understanding.
- Refactored layout to utilize `SettingItemGroup` for better organization and visual clarity.
- Updated the `SettingTabbedSegment` to include an optional description prop.
- Introduced a new `GlobalFontSize` component to manage overall text size settings.

Signed-off-by: Innei <tukon479@gmail.com>
2025-06-07 01:37:54 +08:00