feat: add search filter to docs sidebar file tree#807
Conversation
|
fullsend review is working on this — view logs |
Site previewPreview: https://4535a35f-site.fullsend-ai.workers.dev Commit: |
Review: #807Head SHA: e9c6730 SummaryClean, well-scoped feature addition that matches the linked issue's request. The FindingsMedium
Low
FooterOutcome: approve Previous runReview: #807Head SHA: 3cc73cd SummaryThis PR adds a real-time search filter to the docs sidebar file tree, closing #794. The implementation is clean and well-scoped: a new FindingsCriticalNone. HighNone. MediumNone. LowNone. Info
FooterOutcome: approve Previous run (2)Review: #807Head SHA: 48920ef SummaryClean, well-scoped feature addition that matches the linked issue (#794). The FindingsCriticalNone. HighNone. MediumNone. Low
Info
FooterOutcome: approve Previous run (3)Review: #807Head SHA: c528637 SummaryClean, well-scoped feature that adds a real-time search filter to the docs sidebar file tree, directly addressing #794. The FindingsInfo
FooterOutcome: approve Previous run (4)Review: #807Head SHA: fd1a27c SummaryClean, well-scoped feature addition that directly addresses the linked issue (#794). The implementation adds a client-side text filter to the docs sidebar using a new FindingsInfo
FooterOutcome: approve Previous run (5)Review: #807Head SHA: 83c54e6 SummaryClean, well-scoped feature addition that implements a real-time text filter for the docs sidebar file tree, directly matching the request in #794. The implementation is correct: FindingsInfo
FooterOutcome: approve |
|
fullsend review is working on this — view logs |
|
@ifireball give it another review |
Nice! I think you nailed it functionality-wise! Just a couple of nitpicks:
Both the search icon and the "clear" button seem misaligned, they probably should be vertically aligned to the text input. The "clear" icon could probably be bigger as well, it seems to be unnecessarily small. |
|
fullsend review is working on this — view logs |
We are not using icons, we are using SVG directly so the size is not something i know how to change easily. I think it is fine as is. |
WTYM you don't know? Can't your agent do it for you? Also its easy to change SVG size (SVG is basically a set of vector drawing instructions), you just change its positioning and it "stretches" itself... |
c528637 to
48920ef
Compare
|
fullsend review is working on this — view logs |
|
@ifireball take a look again please |
not sure why the search icon and the "clear" icon are outside the search bar area now, it seems conventional to include them inside it. (I know they are not really inside the text input tag, but CSS is typically used to make it appear as if they are) |
|
fullsend review is working on this — view logs |
3cc73cd to
d0b6252
Compare
|
fullsend review is working on this — view logs |
|
Ops, wrong force push |
Real-time text input in the sidebar filters the document tree by title and directory name. Matching is case-insensitive substring; ancestor directories are preserved for context. Filtered trees auto-expand all directories so matches are immediately visible. Closes #794 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Address PR feedback: multi-word fuzzy search, path-inclusive matching (routeKey for files, dir path for dirs), substring highlighting via <mark> tags, search icon, and clear button. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Hector Martinez <hemartin@redhat.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
fullsend review is working on this — view logs |



Summary
filterTreeutility with 6 unit testsTest plan
vitest run— all 188 tests pass (including 6 new filterTree tests)make lint— cleanCloses #794
🤖 Generated with Claude Code