Folo/packages/utils/src
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
..
chain.ts refactor: Separate main application and external pages and SEO support (#987) 2024-10-21 23:02:25 +08:00
cjk.ts chore: enable noUncheckedIndexedAccess, better type check (#2608) 2025-01-18 22:35:23 +08:00
color.ts fix: correct ModalHeaderSubmitButton naming and enhance UI components 2025-01-23 18:36:15 +08:00
dom.ts refactor: update routes from /feeds to /timeline and improve timeline navigation (#2716) 2025-02-10 22:03:41 +08:00
environment.ts feat: add sentry trace id 2024-11-03 01:14:41 +08:00
event-bus.ts chore: enable noUncheckedIndexedAccess, better type check (#2608) 2025-01-18 22:35:23 +08:00
img-proxy.ts refactor: Separate main application and external pages and SEO support (#987) 2024-10-21 23:02:25 +08:00
jotai.ts chore: enable noUncheckedIndexedAccess, better type check (#2608) 2025-01-18 22:35:23 +08:00
link-parser.ts fix: remove gcore icon (#1220) 2024-10-29 16:51:23 +08:00
lru-cache.test.ts refactor: vlist and keep scroll position (#1931) 2024-11-29 22:51:37 +08:00
lru-cache.ts refactor: vlist and keep scroll position (#1931) 2024-11-29 22:51:37 +08:00
ns.ts refactor: Separate main application and external pages and SEO support (#987) 2024-10-21 23:02:25 +08:00
path-parser.test.ts feat: rsshub form layer 2024-12-31 20:26:14 +08:00
path-parser.ts chore: enable noUncheckedIndexedAccess, better type check (#2608) 2025-01-18 22:35:23 +08:00
route-builder.test.ts refactor: Separate main application and external pages and SEO support (#987) 2024-10-21 23:02:25 +08:00
route-builder.ts chore: enable noUncheckedIndexedAccess, better type check (#2608) 2025-01-18 22:35:23 +08:00
scroller.ts feat: support read indicator and back to top, fixed #2040 2024-12-09 22:25:57 +08:00
url-builder.ts refactor(monorepo): migrate to monorepo (#1059) 2024-10-24 14:37:43 +08:00
url-for-video.ts feat: get video preview url from attachments 2025-01-21 20:33:11 +08:00
utils.spec.ts refactor: Separate main application and external pages and SEO support (#987) 2024-10-21 23:02:25 +08:00
utils.ts chore: enable noUncheckedIndexedAccess, better type check (#2608) 2025-01-18 22:35:23 +08:00