Repository navigation
feat(workspaces): add search, faster polling, and startup fixes to the panel - #1205
Merged
Merged
Conversation
EhabY
marked this pull request as ready for review
November 19, 2026 13:33
EhabY
force-pushed
the
feat/workspaces-panel-features
branch
from
November 19, 2026 13:48
e7235af to
216b565
Compare
…e panel Fills the gaps in the experimental workspaces panel before it becomes the default view. - Search: a title bar button, or Ctrl+F while the panel has focus, opens a find widget over the list that filters by name, owner, or template. `TreeFindWidget` in @repo/ui mirrors VS Code's tree find widget. VS Code resolves a forwarded Ctrl+F to the editor's find, so the webview takes the key itself. - Polling: like the dashboard, list every 5 seconds while a build runs or agents come up, and every 30 otherwise. The Agent chat lookup runs only when the listed workspaces change. - Sockets: a dropped agent metadata socket is no longer replaced, since it reconnects on its own. Socket errors log as warnings, and a reconnect logs at info. - Startup: show loading, not the login page, until the stored session is checked. - The panel gets the Create Workspace title button the trees have.
EhabY
force-pushed
the
feat/workspaces-panel-features
branch
from
November 19, 2026 14:47
216b565 to
698ddd3
Compare
jeremyruppel
approved these changes
Nov 19, 2026
jeremyruppel
left a comment
Collaborator
There was a problem hiding this comment.
just type nits, looks good!
EhabY
added a commit
that referenced
this pull request
Nov 19, 2026
…1202) Shows the Workspaces panel in the Coder Remote sidebar in place of the legacy My, Shared and All Workspaces tree views, with a visible setting to switch back. - Add coder.workspacesPanel.enabled (default true, application scope), replacing the hidden experimental setting and its activity bar container - Show exactly one of the panel and the tree views, using when clauses that read the setting directly and switch without a reload - Add Switch to Legacy Tree Views and Switch to Workspaces Panel to the title bar menus and Command Palette - Merge the refresh commands into coder.workspaces.refresh, which refreshes every visible workspace view - Skip panel refreshes while hidden, so the panel no longer shows a stale failure - Collect the setting in support bundles - List the panel's features in the CHANGELOG Related to #1113, #1205
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fills the gaps in the experimental Workspaces panel before it becomes the default view in #1202. Everything here is still behind
coder.experimental.workspacesPanel, so there is no changelog entry; #1202 lists the panel's features once users see it.Polling and sockets
/api/v2/chats/by-workspace) runs only when the listed workspace IDs change, or on refresh, filter switch, or session change, instead of after every list.ReconnectingWebSocketalready reconnects it, andCoderApiresumes it when credentials change.Startup
extension.tshas checked the stored session (the same momentcoder.loadedis set for the trees' welcome view), and the webview shows the login only once that list settles.Search
TreeFindWidgetin@repo/ui, built from VS Code's tree find widget (.monaco-tree-type-filterin 1.143): 200px wide, 3px padding,widget.border, bottom radii,listFilterWidget.backgroundandlistFilterWidget.shadow(none in high contrast), a 23px input, the 20px close action, and the slide-in from above when motion is allowed. Modern UI has no rules for this widget, so it looks the same in stable and Modern.focusedViewcontext never matches its overlay webview), so the webview takes the key itself in the capture phase. Ctrl+Shift+F still reaches VS Code.Create Workspace
🤖 Generated with Claude Code