Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add search filter to Coder Workspaces tree views#603

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
EhabY merged 1 commit intocoder:mainfromEhabY:add-search-filter-to-tree-views
Oct 2, 2025

Conversation

EhabY
Copy link
Collaborator

@EhabYEhabY commentedSep 30, 2025
edited
Loading

Fixes#330

Adds a search filter for both views "My Workspaces" and "All Workspaces", this depends on the VS Code commandlist.find so support fuzzy match and filtering but does not differentiate between nodes (so we filter on everything not just workspaces or agents... etc).

Also, I have addids to all tree items, this guarantees that the expansion state stays the same between refreshes.

One downside to using this method is that whenever the tree view refreshes (which is every ~1s) the focus is shifted to the tree instead of the input. I tried to implement selective refreshing such that we refresh only the affected nodes but that didn't fix it :/. See:

Screencast.from.2025-09-08.15-32-59.webm

@EhabYEhabYforce-pushed theadd-search-filter-to-tree-views branch 2 times, most recently fromc274710 tof558120CompareSeptember 30, 2025 11:50
@EhabYEhabY changed the titleAdd search filter to tree viewsAdd search filter to Coder Workspaces tree viewsSep 30, 2025
@EhabYEhabY requested a review fromaslilacSeptember 30, 2025 11:56
@EhabYEhabYforce-pushed theadd-search-filter-to-tree-views branch fromf558120 to017ad5fCompareOctober 1, 2025 15:24
@EhabYEhabY merged commit66377d2 intocoder:mainOct 2, 2025
2 checks passed
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@aslilacaslilacaslilac approved these changes

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

Add search filter to sidebar
2 participants
@EhabY@aslilac

[8]ページ先頭

©2009-2025 Movatter.jp