Skip to content

Seating: searching a family or subgroup by name finds its members - #94

Merged
JFrusher merged 1 commit into
mainfrom
fix/seating-family-search
Oct 5, 2026
Merged

JFrusher merged 1 commit into
mainfrom
fix/seating-family-search

Conversation

@JFrusher

@JFrusher JFrusher commented Oct 4, 2026

Copy link
Copy Markdown
Owner

Closes #57

What a user would notice

Typing a family's or subgroup's name in Seating's guest search now shows its members. Before, only a personal name or the top-level group's name matched. A family in a real plan sits inside a subgroup inside a group, so this was the normal case.

Cause, with evidence

GuestPanel passed matchesSearch the top-level group only. The new component test showed exactly that split on main: searching by family name and by subgroup name failed, while group-name and personal-name searches passed.

Fix

matchesSearch(guest, containerNames, query) now takes the names of the group, subgroup and family the guest is in. GuestPanel builds those from the guest's own ids, in one shown() predicate used at all three levels of the list (grouped, standalone families, ungrouped), so every level behaves the same.

Checks

  • New GuestPanel.test.tsx: family name, subgroup name, group name, personal name. The first two failed on main; all four pass now.
  • Seating unit tests, typecheck: green. e2e as listed in the batch: 61/61.

🤖 Generated with Claude Code

https://claude.ai/code/session_01VhFp1PtVBwgmxST9ZrRTEs


Generated by Claude Code

The guest panel's search compared each guest with their own names and the
top-level group's name only. A family sits inside a subgroup inside a group
in any real plan, so searching "The Engines" found nobody unless one of
them happened to share the name.

Search now matches the names of the group, subgroup and family each guest
is in, the same way at every level of the list.

Closes #57

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VhFp1PtVBwgmxST9ZrRTEs
@vercel

vercel Bot commented Oct 4, 2026

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
knotwork-suite Ready Ready Preview Oct 4, 2026 7:47pm UTC

@JFrusher
JFrusher merged commit 776e046 into main Oct 5, 2026
10 checks passed
@JFrusher
JFrusher deleted the fix/seating-family-search branch October 5, 2026 06:40

This branch was successfully deployed

1 active deployment
Preview — 3ddf153e Deployed Oct 4, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Searching for a family or subgroup by name doesn't find its members

2 participants