Skip to content

feat(servers): hide servers and their sessions across tabs, sidebars, and notifications - #2117

Merged
Hona merged 1 commit into
devfrom
upstream-f/up-388-hide-servers-across-ui
Dec 2, 2026
Merged

Hona merged 1 commit into
devfrom
upstream-f/up-388-hide-servers-across-ui

Conversation

@Hona

@Hona Hona commented Dec 2, 2026 •

Copy link
Copy Markdown
Member

Ports official anomalyco/opencode#67520 (feat(app): hide servers and their sessions across tabs, session list, and sidebars, commit 5f97187629).

Summary

  • Hide any server: Extended servers::registry::{is_hidden, can_hide} to allow hiding any server (local sidecar, HTTP, or plugin WSL/SSH) whenever at least one other visible server remains, and updated registry::tag_of to count visible servers (>= 2).
  • Settings > Servers & row menus: Added server.menu.hide (Hide), server.menu.show (Show), and settings.servers.hidden (Hidden) in crates/opencode-i18n/locales/official/en.json; updated server row menus (own, HTTP, Home, and WSL/SSH plugin rows) to use Hide/Show; dimmed hidden server rows (opacity(0.6)) with a Hidden badge in Settings > Servers.
  • Leave hidden server immediately: Hiding a server immediately clears any hover preview on that server and navigates away from any active session or draft route on that server to the return tab, last visible tab, or Home.
  • Filter tabs, closed stack, sidebars, pins, and pickers:
    • Filtered hidden-server tabs out of horizontal/vertical tab strips, titlebar, narrow mobile tab drawer/count, sidebar unread toggle, manual tab sections, auto-tab groups, tab groups, Customized sidebar, Recent sidebar, Pinned Area (vertical & horizontal), session list drafts, and project switcher.
    • Updated Closed::take_skip and recently_closed so reopening closed tabs skips hidden servers while preserving their stack entries for when the server is shown again; close_tab skips hidden-server tabs when picking the next active tab; reorder_visible_tabs preserves hidden-server tab positions.
  • Suppress notifications, sounds, and speech: Silenced sounds (sounds.rs), OS notifications (notifications.rs), and speech cues (speech.rs) for hidden servers.

Verification

  • Local scripts/guardrails.ps1: 11/11 passed.

Copilot AI balanced review requested due to automatic review settings December 2, 2026 04:45

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota.

An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.

@Hona
Hona merged commit e3b3a81 into dev Dec 2, 2026
8 checks passed
@Hona
Hona deleted the upstream-f/up-388-hide-servers-across-ui branch December 2, 2026 05:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants