Add filtering and a Compact list view

Summary

I’d like to add filtering and a compact list view option to the secrets listing to improve usability and reduce scrolling.


Title

Add filter and compact view options to secrets listing


Description

Current behavior: The secrets screen shows all items in a single scrollable list with only sort controls and a search bar, which can make it cumbersome to locate secrets when you have many entries and only want to filter by a single project.

Requested behavior:

  1. Filter bar at the top allowing users to filter by fields such as Project, Tag, or Date Modified.
  2. Compact mode toggle (for example: a button or menu option) that switches the list into a denser layout where each row uses minimal vertical space (single line entries), enabling more items per screen.

Use Cases

  • Large teams/projects: Quickly narrow down to secrets for “Project Alpha” without scrolling through unrelated entries.
  • Administrators: Audit recently modified items by filtering on “Date Modified” and exporting a compact list.
  • Power users: Toggle to compact view when presenting or triaging items, reducing page length.

Proposed Solution

  1. UI Filter Controls
  • Add a multi-select dropdown or tag‐style input above the list for “Project,”, “Tag,” and “Date Modified” filters.
  1. Compact View Toggle
  • Implement a switch in the view menu that applies a CSS class reducing row padding, font size, and hiding secondary metadata by default.
  1. Persistence
  • Remember the selected filters and view mode per session (or per user) so they persist on reload.