- 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>
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>
- 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>
- 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>
- 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>
- 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>
- 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>
- 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>
- 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>
- 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>
- 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>
- 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>
- 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>
- 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>
- 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>
- 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>
- 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>
- 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>
- 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>