Folo/packages/utils
Innei 8fede2f0c4
refactor: update routes from /feeds to /timeline and improve timeline navigation (#2716)
* 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>
2025-02-10 22:03:41 +08:00
..
src refactor: update routes from /feeds to /timeline and improve timeline navigation (#2716) 2025-02-10 22:03:41 +08:00
exports.ts feat: rsshub form layer 2024-12-31 20:26:14 +08:00
package.json chore: update deps 2025-02-03 01:45:49 +08:00
tsconfig.json chore: enable noUncheckedIndexedAccess, better type check (#2608) 2025-01-18 22:35:23 +08:00
vitest.config.ts chore: fix types and lint error 2025-02-04 23:35:51 +08:00