Commit Graph

5020 Commits

Author SHA1 Message Date
Olexandr88 0741d75ecc
fix(docs): the link to the stars badge has been replaced (#3912) 2025-06-12 21:24:29 +08:00
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 be45c9b8f5
chore: export db name 2025-06-12 15:36:22 +08:00
Stephen Zhou f928707264
feat(desktop): export sqlite database 2025-06-12 15:33:28 +08:00
Stephen Zhou 03cfbbcf94
chore: still use sqlite in db for electron 2025-06-12 15:17:34 +08:00
Stephen Zhou eb24166279
chore: use localStorage for dev database 2025-06-12 15:10:18 +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
Stephen Zhou 1864548140
fix: wait entry content for translation 2025-06-11 22:49:17 +08:00
Stephen Zhou a6678c4f48
fix(desktop): add feed fetch 2025-06-11 21:27:25 +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 68e1c24119
chore(mobile): remove default for inbox secret column 2025-06-11 17:22:45 +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 b82da59a5f
fix(mobile): catch database clone 2025-06-11 16:07:09 +08:00
Stephen Zhou fa99d6f266
fix(mobile): database migration (#3903) 2025-06-11 16:05:01 +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 c2e0c3d20d
fix(mobile): auto delete database when migrate fail 2025-06-11 11:47:42 +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 e6b905c796
fix(list): update fetchOwnedLists to include query parameter
- Modified fetchOwnedLists method to pass an empty query object to the API call, ensuring compatibility with the updated API structure.
- This change enhances the data retrieval process for owned lists.

Signed-off-by: Innei <tukon479@gmail.com>
2025-06-11 00:38:10 +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 0750ebf39c
feat(footer): redesign PoweredByFooter with structured links and social media icons
- Introduced a new layout for the footer, including sections for product, community, and resources with relevant links.
- Added social media icons for GitHub, Twitter, and Discord.
- Improved accessibility and styling for footer elements.

Signed-off-by: Innei <tukon479@gmail.com>
2025-06-09 21:56:17 +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