Commit Graph
2935 Commits
Author SHA1 Message Date
Innei 1ace5eaaa3 refactor(action): replace ActionCard with RuleCard and restructure action settings
- Removed ActionCard component and its associated imports.
- Introduced RuleCard component to handle action rules.
- Updated ActionSetting to utilize RuleCard instead of ActionCard.
- Added new sections for handling conditions and actions (WhenSection, ThenSection).
- Introduced constants for available actions and their configurations.
- Removed TargetActionList component as part of the refactor.

This refactor enhances the modularity and maintainability of the action settings UI.

Signed-off-by: Innei <tukon479@gmail.com>
2025-06-16 16:52:34 +08:00
Stephen Zhou 95b23c3be7 refactor: move image sync service to mobile, bring hydration back 2025-06-16 16:25:43 +08:00
Stephen Zhou 53957468c9 refactor(desktop): use summary from store package (#3944) 2025-06-16 16:14:58 +08:00
Stephen Zhou 9febfef3c5 fix(desktop): ui stuck when setting unread count 2025-06-16 15:34:18 +08:00
Innei c5afb8335c fix(desktop): update dock badge handling based on UI settings
Signed-off-by: Innei <tukon479@gmail.com>
2025-06-16 14:51:58 +08:00
Stephen Zhou 3d8285405a fix(desktop): sync dock badge with unread count 2025-06-16 12:06:03 +08:00
Eric Zhu 2ba7dde263 feat(locales): update zh-CN translations (#3941) 2025-06-16 11:41:20 +08:00
Cason Kervis 9af1b0eb06 feat: don't show the group entries when click the > button on desktop (#3935) 2025-06-16 11:40:29 +08:00
0-o0 cca1a9f268 fix: icon can't follow theme switch correctly (#3922) 2025-06-16 11:38:22 +08:00
lawvs e5b8705b9d fix: enhance text selection support for Android in summary 2025-06-16 02:51:45 +08:00
lawvs fa78bad335 fix: replace View with Animated.View for animations in ImageView component 2025-06-15 02:05:40 +08:00
lawvs 4ffc026fb9 refactor: improve ThumbnailImage layout 2025-06-15 01:50:06 +08:00
Stephen Zhou 1ad0312674 fix: remove coop & coep header, use localStorage for web for now 2025-06-13 23:42:40 +08:00
Innei 1ac1d464cf fix: mobile subview overflow, fixed #3886
- Updated the renderItem and renderValue props in the Recommendations and Trending components to improve clarity and consistency in rendering.
- Adjusted layout structure in the Trending component for better responsiveness and alignment.

Signed-off-by: Innei <tukon479@gmail.com>
2025-06-13 23:18:27 +08:00
Innei b6bccdf820 refactor: update layout structure in SubviewLayout and enhance renderValue type in ResponsiveSelect
- Modified SubviewLayout to use a div wrapper for improved layout management and added overflow handling.
- Updated the renderValue prop type in ResponsiveSelect to accept a ResponsiveSelectItem instead of a string for better type safety.

Signed-off-by: Innei <tukon479@gmail.com>
2025-06-13 23:18:27 +08:00
0-o0 3578188e02 fix(ssr):can't follow system theme switch issuse (#3917) 2025-06-13 22:59:48 +08:00
Innei 8f6113b953 chore: update user database with character limits for fields
- Introduced maximum character limits for user fields: name (64), email (64), profile image link (256), handle (36), bio (256), and website (256).
- Existing data exceeding these limits will be automatically shortened.
- Other user-related fields remain unaffected.

Signed-off-by: Innei <tukon479@gmail.com>
2025-06-13 22:22:16 +08:00
Stephen Zhou 65ebf9ef93 fix: sqlite wasm in electron production (#3920) 2025-06-13 22:12:07 +08:00
Innei d6bdcee6a9 fix: hide entry navigation button in no timeline view
- Updated import statement for FeedViewType to use a named import.
- Introduced a new constant, isInHasTimelineView, to determine if the current view supports timeline features.
- Modified rendering logic to conditionally display elements based on the new timeline view check.

Signed-off-by: Innei <tukon479@gmail.com>
2025-06-13 21:55:47 +08:00
Innei cf72753b59 feta: redesign image previewer, fixed #3884
- Removed unused response header configuration from Vite render config.
- Simplified the media preview component structure by removing unnecessary state and props.
- Enhanced the image loading experience with a new DOMImageViewer for better zoom functionality.
- Updated FeedIcon component to utilize the replaceImgUrlIfNeed utility for image URLs.
- Adjusted styles and properties for improved UI consistency and performance.

Signed-off-by: Innei <tukon479@gmail.com>
2025-06-13 21:52:54 +08:00
Innei ec0d861eb1 refactor: optimize entry selection in ListItem component
Signed-off-by: Innei <tukon479@gmail.com>
2025-06-13 19:57:21 +08:00
Stephen Zhou c6fb520975 fix(desktop): more reading history 2025-06-13 11:37:35 +08:00
Stephen Zhou 24ae0655ab fix: sort entries by publishedAt and insertedAt 2025-06-13 11:31:04 +08:00
lawvs 4fa8731e73 fix: update icon colors to use theme color in follow feed 2025-06-13 04:37:29 +08:00
lawvs 4523c10ed2 fix: follow feed screen layout shift 2025-06-13 04:34:14 +08:00
lawvs e3f27dd7d3 fix: text shift in TextInput for android 2025-06-13 04:19:57 +08:00
Innei b326501fc3 chore: unify i18n resolve in dev
Signed-off-by: Innei <tukon479@gmail.com>
2025-06-13 01:07:10 +08:00
Innei 9801006cb7 refactor: electron bundle all language to fix #3909
- Introduced a new look for personal profiles with added social attribute settings.
- Enhanced AI summarization with a new animation and improved performance.
- Fixed various bugs reported by the community to enhance overall user experience.

Signed-off-by: Innei <tukon479@gmail.com>
2025-06-13 00:55:22 +08:00
Innei 745abec03a fix: update UI components and improve keyboard handling
- Modified the FollowFeed component to remove unnecessary wrapper classes for better layout management.
- Enhanced the EditProfileScreen by wrapping the main view in a KeyboardAvoidingView to improve keyboard interaction.
- Added keyboard handling to the EditEmailScreen for better user experience.

Signed-off-by: Innei <tukon479@gmail.com>
2025-06-12 23:41:43 +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 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