Skip to content

feat: add directory filter dropdown to dashboard sessions panel#1

Merged
sleipi merged 6 commits into
feat/active-session-highlightfrom
feat/directory-filter
May 10, 2026
Merged

feat: add directory filter dropdown to dashboard sessions panel#1
sleipi merged 6 commits into
feat/active-session-highlightfrom
feat/directory-filter

Conversation

@sleipi
Copy link
Copy Markdown
Owner

@sleipi sleipi commented May 10, 2026

Summary

  • Add a dropdown filter in the right panel of the dashboard to filter sessions by working directory
  • New getDistinctDirectories() repo method returns all unique directory values for populating the dropdown
  • getRootSessions() accepts an optional directory parameter to filter results
  • Dropdown uses custom styling (no native browser chrome) matching the dark dashboard theme
  • Filter state persists across auto-refresh cycles via JS save/restore
  • New /api/directories JSON endpoint for programmatic access
  • 3 new unit tests covering directory filtering, deduplication, and null exclusion

@sleipi sleipi merged commit 0ff7057 into feat/active-session-highlight May 10, 2026
4 checks passed
@sleipi sleipi deleted the feat/directory-filter branch May 10, 2026 19:54
@sleipi sleipi added the enhancement New feature or request label May 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant