Commit Graph
5070 Commits
Author SHA1 Message Date
Innei 072f503ba6 refactor(feed): optimize feed display and error handling
- Introduced a constant `SIZE` to manage the number of feeds displayed, improving maintainability.
- Updated the feed count display to use `list.data.feedCount` for accuracy.
- Enhanced error handling in `callNotFound` to specifically manage `FetchError` instances, improving robustness.

These changes aim to streamline feed management and enhance error reporting in the application.

Signed-off-by: Innei <tukon479@gmail.com>
2025-06-17 20:44:37 +08:00
Stephen Zhou e0f03e1e7b fix(desktop): update sqlocal, better compatibility, use opfs sah 2025-06-17 16:00:17 +08:00
Stephen Zhou 5ff76b5fbb fix(desktop): the expanded state is reset 2025-06-17 09:53:26 +08:00
Innei 704c11d5c6 feat(discover): add SimpleDiscoverModal for enhanced feed discovery
resolves FOL-1537

- Introduced `SimpleDiscoverModal` component to facilitate searching and adding feeds via keywords or URLs.
- Implemented form validation using Zod and integrated with the API for feed discovery.
- Updated `SubscriptionList` to show the modal when adding feeds, improving user experience.
- Enhanced localization with new strings for the discover functionality.

These changes aim to streamline the process of discovering and adding feeds, providing users with a more intuitive interface.

Signed-off-by: Innei <tukon479@gmail.com>
2025-06-17 01:31:12 +08:00
Cason Kervis 67180d3bf3 fix(marquee): improved antimate effect (#3937)
* feat(marquee): add space between head and tail, stop when one cycle complete

* feat(marquee): support corner-player
2025-06-17 00:59:31 +08:00
Innei ed752c51e7 refactor(ui): extract shared ui components
- Added `HeaderActionButton` and `HeaderActionGroup` components for improved action handling in the UI.
- Introduced `Media`, `MediaContainerWidthProvider`, and related context components to manage media dimensions and rendering.
- Enhanced markdown rendering components (`BlockImage`, `InlineImage`, `MarkdownLink`) to utilize the new media structure, improving image handling and layout.
- Updated various components to import from the new media structure, ensuring consistency and better organization.

These changes aim to enhance the media handling capabilities and improve the overall user experience in the application.

Signed-off-by: Innei <tukon479@gmail.com>
2025-06-17 00:55:53 +08:00
Innei 423f1298c3 refactor(entry-content): handle entry actions, fixed #3841
- Introduced `ApplyEntryActions` component to manage entry actions more effectively.
- Updated `NoContent` component to utilize `useShowSourceContent` for better state management.
- Refactored `EntryContent` to remove unnecessary readability and source content effects, enhancing performance.
- Enhanced `RuleCardToolbar` to include confirmation dialog for rule deletion, improving user experience and preventing accidental deletions.

These changes aim to improve the modularity and usability of the entry content features across the application.

Signed-off-by: Innei <tukon479@gmail.com>
2025-06-17 00:38:42 +08:00
Innei 7b3ec02d5a feat(ui): enhance user interface with new components and layout improvements
- Redesigned the Discover, RSSHub, and Actions pages for a more modern and user-friendly experience.
- Introduced `HeaderActionButton` and `HeaderActionGroup` components to streamline action button layouts.
- Updated the `ActionSetting` and `RSSHub` components to utilize the new button components, improving functionality and visual consistency.
- Enhanced the `WhenSection` component with improved spacing and label styling for better readability.

These changes aim to elevate the overall user experience and maintain a cohesive design across the application.

Signed-off-by: Innei <tukon479@gmail.com>
2025-06-17 00:09:05 +08:00
Innei f9aca60d6f refactor(ui): re-design rsshub page ui
- Improved the layout and styling of the ActionSetting, Recommendations, UserProfileModal, Trending, and RSSHub components for better visual consistency and responsiveness.
- Adjusted class names to center elements and enhance spacing, ensuring a more cohesive user experience.
- Updated the UserAvatar component to display either the user's name or handle when the name is not available.
- Refactored the discover page to include a more structured header and additional content sections, improving overall navigation and accessibility.

These changes aim to enhance the user interface and provide a more intuitive experience across the application.

Signed-off-by: Innei <tukon479@gmail.com>
2025-06-16 23:22:56 +08:00
Innei 5ddf4b8b18 refactor(action): enhance ActionSetting layout and styling
- Updated the layout of the ActionSetting component for improved responsiveness and visual clarity.
- Replaced the animated placeholder with a simpler static design and adjusted icon sizes for better alignment.
- Enhanced the ActionButtonGroup with a more structured layout, including dynamic labels and improved spacing.
- Refined the overall user interface to provide a more cohesive experience when managing action rules.

This refactor aims to improve usability and maintainability of the action settings interface.

Signed-off-by: Innei <tukon479@gmail.com>
2025-06-16 18:19:20 +08:00
Innei 671750b21a fix(action): action button group with dynamic labels and disabled states
- Updated the ActionButtonGroup to conditionally render button labels based on the presence of actions.
- Added disabled states for the export and copy to clipboard options when no actions are available.
- Improved user interface by ensuring appropriate icons and labels are displayed for share and import actions.

This enhancement provides clearer feedback to users regarding available actions and improves overall usability.

Signed-off-by: Innei <tukon479@gmail.com>
2025-06-16 18:03:52 +08:00
Innei c9dc6426f8 feat(action): add empty state placeholder for action rules
- Introduced an `EmptyActionPlaceholder` component to display a message when no action rules are present.
- Updated `ActionSetting` to conditionally render the placeholder or the list of action rules based on their availability.
- Enhanced the user interface with animations for the empty state and a prompt to create new actions.

This addition improves user experience by guiding users to start creating action rules when none exist.

Signed-off-by: Innei <tukon479@gmail.com>
2025-06-16 18:02:01 +08:00
Innei 394d00f1a2 feat: support share actions and import from clipboard
- Added a new utility function `copyToClipboard` to handle clipboard operations with error handling.
- Refactored existing clipboard interactions across various components and hooks to utilize the new utility function.
- Introduced import/export functionality for action rules, allowing users to copy rules to clipboard and import from clipboard.
- Enhanced user feedback with toast notifications for clipboard actions.

This update improves code reusability and user experience when interacting with the clipboard.

Signed-off-by: Innei <tukon479@gmail.com>
2025-06-16 17:55:15 +08:00
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
Kingsword f5e9c9cf56 docs: update mobile app development steps in contributing guide (#3938) 2025-06-16 11:36:55 +08:00
Stephen Zhou f161297d52 fix: sqlocal multi tab support (#3943) 2025-06-16 11:36:21 +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 146d9b4b81 fix: fallback to OPFS_SAH when SharedArrayBuffer isn't available (#3924) 2025-06-14 16:43:11 +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 e386a72b8a fix: all timestamp_ms for database 2025-06-13 15:14:01 +08:00
Stephen Zhou 711b0f14ac fix: store time as timestamp_ms 2025-06-13 12:39:18 +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
Stephen Zhou 182adb3690 fix: reset service 2025-06-13 10:53:40 +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 b69ead18e5 fix: update schema
- Removed the `customUpdateUser` endpoint from the auth configuration.
- Updated user-related columns in the database schema from `PgText` to `PgVarchar` with specified lengths for better data integrity and performance.

Signed-off-by: Innei <tukon479@gmail.com>
2025-06-12 23:07:41 +08:00
dependabot[bot] 24cf4cee9a chore(deps): bump stefanzweifel/git-auto-commit-action from 5 to 6 (#3901)
Bumps [stefanzweifel/git-auto-commit-action](https://github.com/stefanzweifel/git-auto-commit-action) from 5 to 6.
- [Release notes](https://github.com/stefanzweifel/git-auto-commit-action/releases)
- [Changelog](https://github.com/stefanzweifel/git-auto-commit-action/blob/master/CHANGELOG.md)
- [Commits](https://github.com/stefanzweifel/git-auto-commit-action/compare/v5...v6)

---
updated-dependencies:
- dependency-name: stefanzweifel/git-auto-commit-action
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-06-12 21:24:43 +08:00