Repository navigation
feat(j5): search people in settings - #759
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
No actionable comments were generated in the recent review.
|
| Layer / File(s) | Summary |
|---|---|
People filtering logic apps/web/src/j5/sharing/people.logic.ts, apps/web/src/j5/sharing/people.logic.test.ts |
Added normalized, case-insensitive substring matching for names and person identifiers. Missing names match the displayed “Someone without a name yet” label. Tests cover whitespace, case, identifiers, and unmatched queries. |
Search controls and filtered results apps/web/src/j5/sharing/PeoplePage.tsx |
Added a search input that is disabled until people data loads. Escape clears a nonempty query or blurs an empty one; Clear empties the query and refocuses the input. The count, empty state, and rows reflect the filtered list. |
Priority:
Estimated code review effort: 2 (Simple) | ~12 minutes
Change: Feature
Sequence Diagram(s)
sequenceDiagram
actor User
participant OwnedServerPeople
participant filterPeople
User->>OwnedServerPeople: Enter a search query
OwnedServerPeople->>filterPeople: Filter sorted people by query
filterPeople-->>OwnedServerPeople: Return matching people
OwnedServerPeople-->>User: Show matching rows and count
Suggested reviewers: asianham
Merge Risk: 
Minimal · up to 50c42
-
No merge-blocking issue is established from the supplied evidence.
Pre-merge checks: 
4
-
Full details: Description check
-
Explanation
The description covers the problem, implementation, UI evidence, live testing, focused checks, scope, and checklist. It is complete enough for review. The Problem section does not include a tracking issue link, but this is a minor omission.
-
Finishing Touches
-
📝 Generate docstrings
-
- Commit to this branch
- Create a new PR
🧪 Generate unit tests (beta)
-
- Commit to this branch
- Create a new PR
-
- Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Comment @coderabbitai help to get the list of available commands.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Problem
Finding someone in Settings → People required scrolling through everyone on a busy server.
What changed
Added a local search to the owner’s People list using upstream’s InputGroup search control and settings spacing. It matches partial names and person IDs without case, ignores extra whitespace in names, announces the filtered count, and provides Clear and Escape handling. Person ordering, row actions, permissions, and the Links section retain their existing behavior.
UI changes
Same 34-person test roster, light theme, and 1280×800 viewport.
Search and Clear interaction. The base has no search control.
pr759-search-clear.mp4
Loading/error states were not captured: both lists loaded normally. An empty owner roster was not captured: the first owner remains in the list.
Live testing
Pass from an independent Peer Agent in its own worktree, using
j5-live-test --base origin/j5/main. Tested commit and current head:50c4257c774b7a3fbde862b8ab60f9d02cdf9b77; base:50e5f284634f68b8f319026074b2e9d63d7eaf8b. No source changes followed the test, so no re-test was needed.The isolated test servers were stopped and the base checkout cleaned up. Detailed report in J5:
artifacts/test-reports/test/settings-people-search-759/50c4257c774b7a3fbde862b8ab60f9d02cdf9b77.md.Focused checks passed:
vp test run apps/web/src/j5/sharing/people.logic.test.ts— 23 tests.vp lint apps/web/src/j5/sharing/PeoplePage.tsx apps/web/src/j5/sharing/people.logic.ts apps/web/src/j5/sharing/people.logic.test.tsvp run --filter @t3tools/web typecheckgit diff --checkChecklist
FORK.md(case text and file-table row) in this PR — only J5-owned paths changeddocs/j5/product/upstream.md— no upstream product changeAGENTS.md) — web and desktop share this page; mobile sharing is not implemented (Share links: sharing on mobile #609). Client-side filtering uses the existing permission-gated roster with no wire, provider, MCP, or connection-mode changes. Clear and Escape restore the full list; changing servers resets the query.docs/j5/product/and user docs rewritten where this changes them — current guidance remains accurate; this small list control needs no new documentationImplementation: GPT-6.1-Sol, Codex in J5 Code. Independent live verification: GPT-6-Luna, Codex in J5 Code.