Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature]: Filter by the current repository/working directory #20

Open
emocharnik opened this issue Sep 6, 2024 · 4 comments
Open

[Feature]: Filter by the current repository/working directory #20

emocharnik opened this issue Sep 6, 2024 · 4 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@emocharnik
Copy link
Collaborator

Is your feature request related to a problem? Please describe.
Now the extension returns all workspaces available to the user, and it doesn't take into account the current context (repository, working directory, git branch). It overwhelms the workspaces' widget and forces users to apply filters on their own.

Describe the solution you'd like
I'd like the extension to read the current git config and current working directory and use this data for the workspace filter automatically. This will allow me to understand the current state of workspaces faster and take action if any of the workspaces have to be fixed/approved/etc.

Describe alternatives you've considered
Alternatively, we can add another filter just by repository (like environments filter), and implement automatic filtering by working directory in future releases.

Additional context
Feedback from the Mike Hodgkins:

Any ideas if our 3000 workspaces would cause adverse performance?
Some things I think would be cool:

  • workspace list only shows workspaces that relate to the repo/directory I have open in VSCode.
  • We’re doing a lot more monorepo stuff, and our main monorepo has 10+ workspaces connected to various subdirectories, so opening reponame/src/MyService/terraform as my VSCode working dir would list about 200 workspaces configured with those VCS settings.

Vote on this feature request
If you think this feature is valuable, please give this issue a 👍 thumbs up! The more votes, the higher the priority.

@emocharnik emocharnik added the enhancement New feature or request label Sep 6, 2024
@emocharnik emocharnik self-assigned this Sep 6, 2024
@emocharnik emocharnik changed the title [Feature]: Filter by current repository [Feature]: Filter by current repository/working directory Sep 6, 2024
@penja
Copy link
Member

penja commented Sep 6, 2024

@emocharnik How these filters should work in combination with others filters? Or you mean this filter must be applied by default

@emocharnik
Copy link
Collaborator Author

@penja I think it can be a separate setting of the extension, where users select the strategy: all or only workspaces created from the current repository.

@penja
Copy link
Member

penja commented Sep 6, 2024

@emocharnik Do you mean the extension settings? Should these settings be enabled by default?

@emocharnik
Copy link
Collaborator Author

@penja yes, but I wouldn't enable it by default.

@emocharnik emocharnik changed the title [Feature]: Filter by current repository/working directory [Feature]: Filter by the current repository/working directory Sep 23, 2024
@emocharnik emocharnik added this to the v0.0.6 milestone Oct 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants