Skip to content

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

Open

Description

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

feature-requestRequest for new features or functionalitytree-viewsExtension tree view issues

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions