* refactor: update routes from /feeds to /timeline and improve timeline navigation
Signed-off-by: Innei <tukon479@gmail.com>
* refactor: improve timeline selector and list view rendering
- Optimize timeline selector with auto-scrolling and dynamic rendering
- Enhance list switch button with improved styling and title display
- Memoize and optimize timeline-related hooks and components
- Add utility functions for scrolling and visibility detection
Signed-off-by: Innei <tukon479@gmail.com>
* fix: prevent timeline selector error when timelineId is undefined
- Add null check for timelineId before processing timeline selection
- Ensure safe handling of timeline selector when no timeline is selected
Signed-off-by: Innei <tukon479@gmail.com>
* feat: add InboxSwitchButton for timeline navigation
- Implement InboxSwitchButton component for inbox timeline selection
- Add handling for inbox timeline in TimelineSwitchButton
- Support unread indicator and navigation for inbox timelines
Signed-off-by: Innei <tukon479@gmail.com>
---------
Signed-off-by: Innei <tukon479@gmail.com>
- Renamed `ModalHeaderShubmitButton` to `ModalHeaderSubmitButton` for consistency.
- Updated `SwipeableItem` to include animated text for action labels.
- Refactored `TextField` to support an input postfix element and improved styling.
- Enhanced `GroupedInsetListCard` to conditionally show separators between children.
- Adjusted `MarkdownWeb` to prevent vertical overflow.
- Updated `FollowFeed`, `FollowList`, and `rsshub-form` to use the corrected `ModalHeaderSubmitButton`.
- Added navigation functionality to the `AddListButton` in `ListsScreen`.
- Improved color validation in utility functions.
These changes improve code consistency and enhance the user interface across various components.
Signed-off-by: Innei <tukon479@gmail.com>
- Removed unused code from package.json.
- Simplified description rendering in FormSwitch component.
- Enhanced Follow modal with new subscription logic and improved form handling.
- Updated error messages in locales for better clarity.
- Added new properties to the subscription sync service for better data handling.
This commit improves code readability and enhances the user experience in the subscription process.
Signed-off-by: Innei <tukon479@gmail.com>
- Updated TextField to ensure full width and flex behavior.
- Optimized MarkdownWeb to memoize parsed content for better performance.
- Adjusted Markdown rendering in rsshub-form and DiscoverFeedForm to fix directive formatting.
- Enhanced ModalError to allow text selection in error stack trace.
- Minor adjustments in parse-markdown utility for directive handling.
These changes enhance the user interface and improve performance in Markdown rendering.
Signed-off-by: Innei <tukon479@gmail.com>
- Added `@microflash/remark-callout-directives` to `package.json` and `pnpm-lock.yaml`.
- Updated `MarkdownWeb` component to utilize a new markdown parsing utility.
- Removed unused imports related to `remark-gh-alerts` and refactored markdown parsing logic.
- Enhanced `parse-markdown` function to integrate with the new utility and support custom components.
This update improves markdown rendering capabilities and streamlines the codebase.
Signed-off-by: Innei <tukon479@gmail.com>