Skip to content

fix #111587 Apply enablement to command links in welcome views - #113841

Merged
João Moreno (joaomoreno) merged 1 commit into
microsoft:masterfrom
gjsjohnmurray:fix-111587
Jan 25, 2021
Merged

João Moreno (joaomoreno) merged 1 commit into
microsoft:masterfrom
gjsjohnmurray:fix-111587

Conversation

@gjsjohnmurray

Copy link
Copy Markdown
Contributor

This PR fixes #111587

A viewsWelcome contribution from an extension in which an enablement expression is specified will now render command links inactive when the expression evaluates as false. Prior to this change only command buttons behaved that way.

To test, create an extension that contributes a welcome view with an enablement expression and at least one command link in the contents. Verify that the link is only clickable when the expression is true. Include a regular link in the content and verify it is always clickable.

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

Labels

workbench-views Workbench view issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Apply enablement to all command links

5 participants