Skip to content

[Feature]: Add an environment filter to the Sidebar #6229

Description

@ArionStudio

Before submitting

  • I searched existing issues and did not find a duplicate.
  • I am describing a concrete problem or use case, not just a vague idea.

Area

apps/desktop

Problem or use case

The Sidebar can currently filter threads by project, but it cannot filter them by environment. I need to narrow the thread list to one connected environment.

Proposed solution

Add an environment filter alongside the existing project filter in the Sidebar.

The filter should offer:

  • All environments
  • Each configured environment

Selecting an environment should filter the existing thread list by that environment. The environment and project filters should work together when both are selected.

Why this matters

This would let users with multiple connected environments focus on the threads from one environment while keeping every environment connected and available.

Smallest useful scope

Add a single-select environment filter with All environments as the default.

It should apply consistently to drafts, search results, and the existing pinned, active, snoozed, and settled thread sections. It should not introduce new grouping or sorting behavior.

Alternatives considered

None.

Risks or tradeoffs

The environment filter must interact predictably with the existing project filter. If changing environments makes the selected project unavailable, the project filter should reset to All projects.

Changing the environment filter should also clear any selected thread rows so hidden threads cannot remain selected for bulk actions. If the selected environment is removed, the filter should reset to All environments.

Examples or references

None.

Contribution

  • I would be open to helping implement this.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementRequested improvement or new capability.needs-triageIssue needs maintainer review and initial categorization.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions