Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GLSP-1347: Fix autocomplete widget #362

Merged
merged 1 commit into from
Jun 18, 2024
Merged

GLSP-1347: Fix autocomplete widget #362

merged 1 commit into from
Jun 18, 2024

Conversation

tortmayr
Copy link
Contributor

What it does

  • Update onSelect method of autocomplete Widget to dispatch a input event instead of a keyup event. (Since autocompleter 8.x the suggestion update uses input instead of keyup
  • Enable task editor in standalone example by adding an explicit standaloneTaskEditorModule. Fixes Autcomplete widget does not work as expeceted glsp#1347

In addition:

  • Update dependencies and align with sprotty
  • Use fixed version of vscode-jsonrpc to avoid conflicts with Theia
  • Restore original container configuration order in workflow-diagram-module (was changed on accident in GLSP-1349 Improve container configuration #355)

How to test

  • Trigger task editing mode by selectin a task then press Ctrl+F2
  • Verify that task editing works as expected.
    • Applying suggestions + validation

Follow-ups

Changelog

  • This PR should be mentioned in the changelog
  • This PR introduces a breaking change (if yes, provide more details below for the changelog and the migration guide)

- Update `onSelect` method of autocomplete Widget to dispatch a `input` event instead of a `keyup` event. (Since autocompleter 8.x the suggestion update uses `input` instead of `keyup`
- Enable task editor in standalone example by adding an explicit standaloneTaskEditorModule.
Fixes eclipse-glsp/glsp#1347

In addition:
- Update dependencies and align with sprotty
- Use fixed version of vscode-jsonrpc to avoid conflicts with Theia
- Restore original container configuration order in `workflow-diagram-module`
  (was changed on accident in #355)
@tortmayr tortmayr requested a review from martin-fleck-at June 18, 2024 11:40
Copy link
Contributor

@martin-fleck-at martin-fleck-at left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great fix, everything looks good and works for me, thank you Tobias!

@tortmayr tortmayr merged commit 1570f91 into master Jun 18, 2024
6 checks passed
@tortmayr tortmayr deleted the glsp-1347 branch June 18, 2024 12:17
holkerveen pushed a commit to holkerveen/glsp-client that referenced this pull request Dec 21, 2024
- Update `onSelect` method of autocomplete Widget to dispatch a `input` event instead of a `keyup` event. (Since autocompleter 8.x the suggestion update uses `input` instead of `keyup`
- Enable task editor in standalone example by adding an explicit standaloneTaskEditorModule.
Fixes eclipse-glsp/glsp#1347

In addition:
- Update dependencies and align with sprotty
- Use fixed version of vscode-jsonrpc to avoid conflicts with Theia
- Restore original container configuration order in `workflow-diagram-module`
  (was changed on accident in eclipse-glsp#355)
holkerveen pushed a commit to holkerveen/glsp-client that referenced this pull request Dec 21, 2024
- Update `onSelect` method of autocomplete Widget to dispatch a `input` event instead of a `keyup` event. (Since autocompleter 8.x the suggestion update uses `input` instead of `keyup`
- Enable task editor in standalone example by adding an explicit standaloneTaskEditorModule.
Fixes eclipse-glsp/glsp#1347

In addition:
- Update dependencies and align with sprotty
- Use fixed version of vscode-jsonrpc to avoid conflicts with Theia
- Restore original container configuration order in `workflow-diagram-module`
  (was changed on accident in eclipse-glsp#355)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Autcomplete widget does not work as expeceted
2 participants