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

Allow extensions to opt-out of having a "contextualTitle" for a view #185362

Open
eamodio opened this issue Jun 16, 2023 · 3 comments
Open

Allow extensions to opt-out of having a "contextualTitle" for a view #185362

eamodio opened this issue Jun 16, 2023 · 3 comments
Assignees
Labels
feature-request Request for new features or functionality tree-views Extension tree view issues
Milestone

Comments

@eamodio
Copy link
Contributor

eamodio commented Jun 16, 2023

Currently extensions are forced to have a "contextual" title on their views, otherwise the name of the "home" container gets automatically tacked on to the view title as a prefix. I'm not sure I've really ever understood the value of this broadly (as opt-in it makes sense if your view title needs it), but it creates a far less than ideal experience for users in many cases.

For example, with GitLens, we have 3 "homes" for views -- Source Controls, GitLens, and GitLens Inspect. Views are grouped within these for optimized usage patterns, but users can drag these views out of those "homes" to better suit their needs. But once views get moved out of their home, they are forced to get prefixed.

So for example, if a user wants to drag the File History view out of the GitLens Inspect side bar and into any other, it will end up with a GitLens: prefix. It would be great if extensions could maybe set contextualTitle to null or have some other way to opt out of that behavior.

/cc @sbatten @sandy081

@aiday-mar aiday-mar assigned sbatten and sandy081 and unassigned aiday-mar Jun 19, 2023
@sandy081 sandy081 assigned alexr00 and unassigned sandy081 Jun 19, 2023
@alexr00 alexr00 added feature-request Request for new features or functionality tree-views Extension tree view issues labels Jun 19, 2023
@alexr00 alexr00 added this to the Backlog Candidates milestone Jun 19, 2023
@VSCodeTriageBot
Copy link
Collaborator

This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.

Happy Coding!

@alexr00
Copy link
Member

alexr00 commented Jun 19, 2023

I intend to move this to the backlog. I've assigned to backlog candidates for now to see how much interest there is in this to help me decide how to prioritize this.

@VSCodeTriageBot
Copy link
Collaborator

This feature request has not yet received the 20 community upvotes it takes to make to our backlog. 10 days to go. To learn more about how we handle feature requests, please see our documentation.

Happy Coding!

@alexr00 alexr00 modified the milestones: Backlog Candidates, Backlog Aug 9, 2023
@alexr00 alexr00 removed their assignment Dec 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request Request for new features or functionality tree-views Extension tree view issues
Projects
None yet
Development

No branches or pull requests

6 participants