Skip to content

Preserve search/filter input in server list when navigating back #1801

Description

@nilswald

Description

When I type a search term in the server list's search field and then open a session, the filter is lost as soon as I go back to the server list (e.g. by tapping the server list button from within a session). The search field is empty again and the full list is shown.

Steps to reproduce

  1. Open the server list.
  2. Enter a search term in the search field (e.g. prod) to filter the list.
  3. Open one of the filtered servers to start a session.
  4. From within the session, tap/click the server list button.

Expected behavior

The server list shows the previously entered search term, and the list stays filtered.

Actual behavior

The search field is cleared and all servers are shown again.

Why this matters

With many servers, I often work on a group of related hosts one after another (e.g. all prod-* machines). Having to retype the filter every time I switch sessions slows this down.

Suggestion

Keep the search field content (and the resulting filter) for the lifetime of the app session, or at least while navigating between sessions and the server list. A clear button (×) in the search field would still let users reset it on purpose.

Environment

  • WebSSH version: 33.3 (1874
  • Platform/OS: macOS 26 / 27

Activity

  1. isontheline commented on Nov 20, 2026

    @isontheline
    Owner

    Hey @nilswald 👋

    Thanks for your feedback about this trouble 🙏

    I'll take a look at it soon to provide a way to persist this search field

  2. self-assigned this
    on Nov 20, 2026
  3. added
    ✨ enhancement
    on Nov 20, 2026
  4. added this to the 33 - Ladybug milestone on Nov 20, 2026
  5. isontheline commented on Nov 24, 2026

    @isontheline
    Owner

    Hey folks 👋

    This feature can now be tested 🎉
    👉 https://testflight.apple.com/join/QSrBK59z

    Feedback is welcome 🙏

    Want to help me to support WebSSH further?

    If you'd like to support my work, you can buy me a coffee ☕️, become a sponsor or subscribe to the WebSSH Developer Tip inside the app 🎁

    Enjoying WebSSH? A quick App store review really helps. Thanks!

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

Metadata

Metadata

Assignees

Labels

✨ enhancement

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions