Add explicit context menu commands for the experimental visual designer#19262
Open
Add explicit context menu commands for the experimental visual designer#19262
Conversation
…e background flash - revealFileRange: open documents in an existing text editor group instead of ViewColumn.Beside to avoid creating a third column - Move background-color from body to #root in GlobalStyle to avoid conflicting with VS Code's body background - Initialize activeThemeAtom with getThemeFromBody() so the first render uses the correct theme instead of always starting with lightTheme
- Remove spring bounce (bounce: 0) for smoother node animations - Hide graph during major topology changes (>50% nodes replaced) to avoid showing frozen nodes while ELK computes - Keep graph visible for incremental edits (add/remove a few nodes) - Use node centers for position snapshots so spawn centroid matches the visual center of the existing graph
On initial DOM measurement, shift the node's min position back by half its dimensions so the node's center aligns with the spawn origin rather than its top-left corner.
- Empty modules (no children) now render as ResourceDeclaration instead of ModuleDeclaration for a consistent leaf-node appearance - Add resourceType to atomic module data so ResourceDeclaration can display the type label - Map <module> resourceType to folder icon in ResourceDeclaration - Remove unused data parameter from getContentComponent
- Remove bicep.experimental.visualizerV2 setting - Add bicep.showVisualDesigner and bicep.showVisualDesignerToSide commands with menu entries in all context menus and command palette - Old visualizer commands always open the Cytoscape.js visualizer - New visual designer commands always open the React-based visualizer
- Increase grab cursor size from 22px to 32px - Use CSS class with !important to hide native cursor on container and all child elements during drag
Contributor
|
Test this change out locally with the following install scripts (Action run 23468505177) VSCode
Azure CLI
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Replace the hidden
bicep.experimental.visualizerV2setting with discoverable context menu commands:These appear alongside the existing visualizer commands in the command palette, editor context menu, explorer context menu, and editor title context menu.
Other improvements