fix(sidebar): the room filter hides empty sections and says when nothing matches (#289) #387

Merged
jared merged 1 commits from fix/room-filter-empty into lotus 2026-10-18 00:45:29 -04:00
Owner

Fixes #289.

A Home sidebar filter that matched nothing left the Favorites / Projects / Rooms / Low Priority headers on screen with nothing under them.

Change

  • While filtering, every section with no match is hidden. That covers the built-in sections and the custom u.* sections.
  • With no match at all, the list shows No rooms match “…” with a Clear filter button.
  • Without a filter, nothing changes.

Verified (Chromium, Home):

  • zzqqxx-nothing: no headers, plus the message (screenshot attached).
  • nav-bravo: only the sections containing a match (Projects, Low Priority).
  • Clear filter: all four sections are back.

tsc clean · ESLint clean.

🤖 Generated with Claude Code

https://claude.ai/code/session_017PCb59uY3UKqDqt7B6hzd5

Fixes #289. A Home sidebar filter that matched nothing left the **Favorites / Projects / Rooms / Low Priority** headers on screen with nothing under them. **Change** - While filtering, every section with no match is hidden. That covers the built-in sections and the custom `u.*` sections. - With no match at all, the list shows **No rooms match “…”** with a **Clear filter** button. - Without a filter, nothing changes. **Verified** (Chromium, Home): - `zzqqxx-nothing`: no headers, plus the message (screenshot attached). - `nav-bravo`: only the sections containing a match (Projects, Low Priority). - Clear filter: all four sections are back. `tsc` clean · ESLint clean. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_017PCb59uY3UKqDqt7B6hzd5
jared added 1 commit 2026-10-17 20:09:00 -04:00
fix(sidebar): the room filter hides empty sections and says when nothing matches (#289)
CI / Build & Quality Checks (pull_request) Successful in 3m7s
CI / Trigger Desktop Build (pull_request) Skipped
CI / Docker image build & smoke test (pull_request) Skipped
CI / Secret scan (gitleaks) (pull_request) Successful in 11s
CI / Playwright smoke (e2e) (pull_request) Successful in 15m7s
6ae4d7adc0
A filter matching nothing left Favorites / Projects / Rooms / Low
Priority headers with nothing under them. While filtering, sections
without a match are hidden, and with no match at all the list shows
"No rooms match “…”" with a Clear filter button.

Fixes #289

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

No-match state:

filter-none

No-match state: ![filter-none](https://code.lotusguild.org/attachments/8330dc4c-1563-4a14-a828-3e2179223924)
jared merged commit ad5631819d into lotus 2026-10-18 00:45:29 -04:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: LotusGuild/cinny#387