Skip to content

Commit

Permalink
Update to latest client changes
Browse files Browse the repository at this point in the history
- Update glsp next dependencies
- Use debuggable feature ids for all vscode feature modules
- Fix bug with `vscodeNavigationModule` that accidently reused the feature id from the navigation module instead of requiring it
- Adjust tool palette css
- Customize css for newly introduced features
- Ensure that `GLSPProjectionView` is properly rendered
   - disable overflow of root div
   - Add mouse listeners to diagram widget to only show projections bars when the diagram is focused
- Update example1.wf
- Fix title menu contributions. Vscode now requires an icon to render them properly
  • Loading branch information
tortmayr committed Jun 20, 2024
1 parent d6654e4 commit 3f5770f
Show file tree
Hide file tree
Showing 16 changed files with 848 additions and 649 deletions.
14 changes: 14 additions & 0 deletions CHANGELOG.MD
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
# Eclipse GLSP VSCode Integration Changelog

## 2.2.0 - active

### Changes

- [diagram] Fix minor styling and behavioral issues when using `GLSPProjectionView` [#62](https://github.com/eclipse-glsp/glsp-vscode-integration/pull/62)

### Potentially Breaking Changes

- [protocol] Fix a bug in the client-server action forwarding that prevented proper marking and handling of server received actions [#58](https://github.com/eclipse-glsp/glsp-vscode-integration/pull/58)</br> Following classes and methods are now deprecated:
- `VsCodeGLSPModelSource`: Rebinding to a custom model source is no longer necessary. Use the default `GLSPModelSource` instead.
- `ExtensionAction`: The concept of marking actions as locally dispatched `ExtensionActions` is no longer necessary and usage is discouraged.
- `GlspVscodeConnector.sendToActiveClient`: Use `GlspVscodeConnector.dispatchAction` instead.
- `GlspVscodeConnector.setActionToClient`: Use `GlspVscodeConnector.dispatchAction` instead.

## [2.1.0 - 24/01/2024](https://github.com/eclipse-glsp/glsp-vscode-integration/releases/tag/v2.1.0)

## [2.0.0 - 14/10/2023](https://github.com/eclipse-glsp/glsp-vscode-integration/releases/tag/v2.0.0)
Expand Down
19 changes: 11 additions & 8 deletions example/workflow/extension/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,21 +60,24 @@
"enablement": "activeCustomEditorId == 'workflow.glspDiagram'"
},
{
"command": "workflow.goToNextNode",
"title": "Go to next Node",
"command": "workflow.goToPreviousNode",
"title": "Go to previous Node",
"icon": "$(arrow-circle-left)",
"category": "Workflow Navigation",
"enablement": "activeCustomEditorId == 'workflow.glspDiagram' && workflow.editorSelectedElementsAmount == 1"
},
{
"command": "workflow.goToPreviousNode",
"title": "Go to previous Node",
"command": "workflow.goToNextNode",
"title": "Go to next Node",
"icon": "$(arrow-circle-right)",
"category": "Workflow Navigation",
"enablement": "activeCustomEditorId == 'workflow.glspDiagram' && workflow.editorSelectedElementsAmount == 1"
},
{
"command": "workflow.showDocumentation",
"title": "Show documentation...",
"category": "Workflow Diagram",
"category": "Workflow Navigation",
"icon": "$(code-oss)",
"enablement": "activeCustomEditorId == 'workflow.glspDiagram' && workflow.editorSelectedElementsAmount == 1"
},
{
Expand Down Expand Up @@ -146,12 +149,12 @@
"group": "bookmarks"
},
{
"command": "workflow.goToNextNode",
"group": "navigation",
"command": "workflow.goToPreviousNode",
"group": "",
"when": "activeCustomEditorId == 'workflow.glspDiagram' && workflow.editorSelectedElementsAmount == 1"
},
{
"command": "workflow.goToPreviousNode",
"command": "workflow.goToNextNode",
"group": "navigation",
"when": "activeCustomEditorId == 'workflow.glspDiagram' && workflow.editorSelectedElementsAmount == 1"
},
Expand Down
17 changes: 10 additions & 7 deletions example/workflow/web-extension/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,21 +61,24 @@
"enablement": "activeCustomEditorId == 'workflow.glspDiagram'"
},
{
"command": "workflow.goToNextNode",
"title": "Go to next Node",
"command": "workflow.goToPreviousNode",
"title": "Go to previous Node",
"icon": "$(arrow-circle-left)",
"category": "Workflow Navigation",
"enablement": "activeCustomEditorId == 'workflow.glspDiagram' && workflow.editorSelectedElementsAmount == 1"
},
{
"command": "workflow.goToPreviousNode",
"title": "Go to previous Node",
"command": "workflow.goToNextNode",
"title": "Go to next Node",
"icon": "$(arrow-circle-right)",
"category": "Workflow Navigation",
"enablement": "activeCustomEditorId == 'workflow.glspDiagram' && workflow.editorSelectedElementsAmount == 1"
},
{
"command": "workflow.showDocumentation",
"title": "Show documentation...",
"category": "Workflow Diagram",
"category": "Workflow Navigation",
"icon": "$(code-oss)",
"enablement": "activeCustomEditorId == 'workflow.glspDiagram' && workflow.editorSelectedElementsAmount == 1"
},
{
Expand Down Expand Up @@ -147,12 +150,12 @@
"group": "bookmarks"
},
{
"command": "workflow.goToNextNode",
"command": "workflow.goToPreviousNode",
"group": "navigation",
"when": "activeCustomEditorId == 'workflow.glspDiagram' && workflow.editorSelectedElementsAmount == 1"
},
{
"command": "workflow.goToPreviousNode",
"command": "workflow.goToNextNode",
"group": "navigation",
"when": "activeCustomEditorId == 'workflow.glspDiagram' && workflow.editorSelectedElementsAmount == 1"
},
Expand Down
Loading

0 comments on commit 3f5770f

Please sign in to comment.