Folo/apps/server/client
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
..
@types chore: enable noUncheckedIndexedAccess, better type check (#2608) 2025-01-18 22:35:23 +08:00
atoms refactor: lazy create atom selector and shallow eq 2024-11-27 13:36:35 +08:00
components fix(share): fix share page feed item style 2025-01-26 21:04:02 +08:00
initialize chore: enable noUncheckedIndexedAccess, better type check (#2608) 2025-01-18 22:35:23 +08:00
lib feat: migrate to better auth (#1951) 2024-12-03 12:59:41 +08:00
modules/login feat: optimize login modal 2025-02-07 20:08:37 +08:00
pages refactor: update routes from /feeds to /timeline and improve timeline navigation (#2716) 2025-02-10 22:03:41 +08:00
providers fix: window titlebar maximize state sync, fixed #1982 (#1989) 2024-12-03 15:39:16 +08:00
query chore: enable noUncheckedIndexedAccess, better type check (#2608) 2025-01-18 22:35:23 +08:00
styles
App.tsx chore: upgrade to router v7 2024-11-24 17:27:29 +08:00
configs.ts
global.d.ts
i18n.ts chore: enable noUncheckedIndexedAccess, better type check (#2608) 2025-01-18 22:35:23 +08:00
index.tsx chore: upgrade to router v7 2024-11-24 17:27:29 +08:00
router.tsx chore: upgrade to router v7 2024-11-24 17:27:29 +08:00