Repository navigation
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Free-text search on the Items page, server-side.
GET /items/takes an optionalq(max 255 chars, NUL rejected). It does a case-insensitiveILIKEon title OR description, with%/_/\escaped so they match literally. The filter applies to both the data andcountqueries and respects ownership (superuser sees all). The change is additive: withoutq, behavior is unchanged.ItemsReadItemsData.q?: string | null)./items?q=…). It's validated with zod: number→string, trimmed, max 255, NUL dropped, malformed values fall back to no search.SearchItemsdebounces input by 300 ms intonavigate({ replace: true }). A consumed echo queue keeps the field and the URL in sync on back/forward, the sidebar link and clears.useDeferredValuekeeps previous results visible (dimmed) while a new query loads, with no skeleton flash.No items match "…"state with a "Clear search" button.<search>landmark, labelled input and ×, Esc clears (IME-safe), focus returns to the input,<output>live region announces the result count.No migration, flag or env var. Rollback = revert.
ClickUp
Docs
docs/plans/2026-10-01-items-search/design.mddocs/plans/2026-10-01-items-search/plan.mddocs/backlog/user-stories-items-search-2026-10-01.mddocs/project_context/items-search/qa-report.mddocs/project_context/items-search/ux-review.md(+screens/)docs/project_context/items-search/journals/Verification
scripts/lint.sh(mypy, ty, ruff) ✅. Frontendbun run lint✅ andbun run build✅.3c44b91: opacity, live region placement,enterKeyHint, echo edge case) landed after QA/UX and was verified with lint and build only.Known trade-offs
ILIKE '%x%'does a sequential scan, which is fine at template scale. Addpg_trgm+ GIN if it becomes an issue.replace: truemeans Back inside/itemsleaves the page rather than undoing the previous query.?q=1e3becomes"1000"(the router's JSON parsing). Typed values are unaffected.🤖 Generated with Claude Code