Summary
Quick follow-up fixes for the filter bar (#308/PR #309).
1. Shorten filter labels on mobile
On mobile, writer:Human genre:Science Fiction lang:Korean is too long for one line. Shorten labels on small screens:
writer: → W: on mobile
genre: → G: on mobile
lang: → L: on mobile
- Desktop: keep full labels
Use responsive classes (e.g. <span className="sm:hidden">W:</span><span className="hidden sm:inline">writer:</span>) or a similar approach.
File: src/components/FilterBar.tsx
2. Remove orphaned filter components
The old filter components are no longer imported anywhere after FilterBar replaced them:
src/components/WriterFilter.tsx — only the type WriterFilterValue is still imported in page.tsx; move the type to FilterBar or a shared types file, then delete
src/components/GenreLanguageFilter.tsx — completely unused
src/components/SortDropdown.tsx — completely unused
3. Add flex-shrink safety on narrow screens
The filter bar container (flex items-center gap-x-3) has no wrapping. On very narrow screens (<370px), tokens may crowd. Add min-w-0 and shrink-0 on the sort icon, or consider overflow-x-auto on the container as a safety net.
Acceptance Criteria
Labels
agent/T3, plotlink, ui, mobile
Summary
Quick follow-up fixes for the filter bar (#308/PR #309).
1. Shorten filter labels on mobile
On mobile,
writer:Human genre:Science Fiction lang:Koreanis too long for one line. Shorten labels on small screens:writer:→W:on mobilegenre:→G:on mobilelang:→L:on mobileUse responsive classes (e.g.
<span className="sm:hidden">W:</span><span className="hidden sm:inline">writer:</span>) or a similar approach.File:
src/components/FilterBar.tsx2. Remove orphaned filter components
The old filter components are no longer imported anywhere after FilterBar replaced them:
src/components/WriterFilter.tsx— only the typeWriterFilterValueis still imported inpage.tsx; move the type to FilterBar or a shared types file, then deletesrc/components/GenreLanguageFilter.tsx— completely unusedsrc/components/SortDropdown.tsx— completely unused3. Add flex-shrink safety on narrow screens
The filter bar container (
flex items-center gap-x-3) has no wrapping. On very narrow screens (<370px), tokens may crowd. Addmin-w-0andshrink-0on the sort icon, or consideroverflow-x-autoon the container as a safety net.Acceptance Criteria
W:,G:,L:— desktop: fullwriter:,genre:,lang:npm run typecheckandnpm run lintpass (no new issues)Labels
agent/T3,plotlink,ui,mobile