Skip to content
This repository has been archived by the owner on Mar 28, 2023. It is now read-only.

limit contribution within views registered by this extension #215

Open
Eskibear opened this issue Feb 1, 2023 · 0 comments
Open

limit contribution within views registered by this extension #215

Eskibear opened this issue Feb 1, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@Eskibear
Copy link

Eskibear commented Feb 1, 2023

It's contributing items into views of other extensions.

E.g. the item's context value is "BootApp_running", which matches below when clause.

image

"command": "github-actions.workflow.run.open",
"when": "viewItem =~ /run/",
"group": "inline"

Suggestion

Add view == viewId into the when clauses, otherwise it's likely to register menu items/inline buttons into views of other extensions.

@cschleiden cschleiden added the bug Something isn't working label Feb 2, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants