1
Fork 0
mirror of https://github.com/thegeneralist01/archivr synced 2026-07-22 11:15:41 +02:00
archivr/frontend/src/components
TheGeneralist 6eef53ee3a
fix(frontend): tighten isPlaylistSource to mirror backend routing exactly
Previous fix excluded /watch but still returned true for any youtube.com
URL with a ?list= param (e.g. /shorts/xxx?list=yyy). Backend determine_source
only routes to YouTubePlaylist on /playlist?list=... and to YouTubeChannel on
/@handle, /channel/, /c/, /user/ paths — everything else is a single item.

Rewrite the HTTP block to match:
- youtube.com: pathname==='/playlist' && list param → playlist
             : /@, /channel/, /c/, /user/ → channel
             : anything else (incl. /watch&list=, /shorts?list=) → false
- music.youtube.com: pathname==='/playlist' && list param → YTM playlist
                   : /watch → single track (falls through to false)
2026-07-20 22:50:55 +02:00
..
AdminView.jsx ui: comprehensive UI polish pass 2026-06-28 22:14:08 +02:00
AudioBar.jsx feat: entry previews (#24) 2026-07-12 16:23:04 +02:00
CaptureDialog.jsx fix(frontend): tighten isPlaylistSource to mirror backend routing exactly 2026-07-20 22:50:55 +02:00
CaptureDialog.stories.jsx feat(ui): add Storybook design system refinements 2026-06-28 21:01:50 +02:00
CollectionsView.jsx ui: comprehensive UI polish pass 2026-06-28 22:14:08 +02:00
ContextRail.jsx frontend: Esc deselects entry; group font artifacts in rail 2026-07-18 21:38:22 +02:00
EntriesView.jsx fix(frontend): make child entry rows interactive 2026-07-20 16:09:42 +02:00
EntryRow.jsx fix(frontend): make child entry rows interactive 2026-07-20 16:09:42 +02:00
EntryRow.stories.jsx feat(ui): add Storybook design system refinements 2026-06-28 21:01:50 +02:00
IframePreview.jsx feat: entry previews (#24) 2026-07-12 16:23:04 +02:00
ImagePreview.jsx feat: entry previews (#24) 2026-07-12 16:23:04 +02:00
LoginPage.jsx ui: comprehensive UI polish pass 2026-06-28 22:14:08 +02:00
PreviewModal.jsx feat: entry previews (#24) 2026-07-12 16:23:04 +02:00
PreviewPage.jsx feat: style X article standalone preview to match x.com 2026-07-18 20:20:27 +02:00
PreviewPanel.jsx feat: style X article standalone preview to match x.com 2026-07-18 20:20:27 +02:00
RunsView.jsx feat: non-blocking batch capture dialog, toasts on failure, fix /runs errors 2026-07-05 13:56:00 +02:00
SettingsView.jsx feat: integrate Modal Closer as injected browser script (#27) 2026-07-14 13:47:47 +02:00
SetupPage.jsx ui: comprehensive UI polish pass 2026-06-28 22:14:08 +02:00
SkeletonEntryRow.jsx feat(frontend): add async capture UX with skeleton entries for in-progress captures (#31) 2026-07-20 14:27:15 +02:00
TagsView.jsx feat(tags): revamp tags tab (#29) 2026-07-19 11:02:57 +02:00
TagsView.stories.jsx feat(tags): revamp tags tab (#29) 2026-07-19 11:02:57 +02:00
ToastStack.jsx capture: close dialog on Archive; rich per-URL and batch toast notifications (#22) 2026-07-11 15:29:10 +02:00
Topbar.jsx feat: reorder nav tabs to archive, tags, collections, runs, admin, settings 2026-07-04 11:46:11 +02:00
Topbar.stories.jsx feat(ui): add Storybook design system refinements 2026-06-28 21:01:50 +02:00
TweetPreview.jsx feat: style X article standalone preview to match x.com 2026-07-18 20:20:27 +02:00
UIPatterns.stories.jsx feat(ui): add Storybook design system refinements 2026-06-28 21:01:50 +02:00
VideoPreview.jsx feat: entry previews (#24) 2026-07-12 16:23:04 +02:00