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

[gui2] Language Server binary protocol, and loading of visualization data #7873

Merged
merged 155 commits into from
Oct 7, 2023

Conversation

somebody1234
Copy link
Contributor

Pull Request Description

  • Depends on Vue visualizations #7773.

  • Implements binary WebSocket protocol (data protocol)

  • Performs some editor initialization (the bare minimum so that visualizations work)

  • Adds event handlers to receive visualization data updates

Important Notes

None

Checklist

Please ensure that the following checklist has been satisfied before submitting the PR:

  • The documentation has been updated, if necessary.
  • Screenshots/screencasts have been attached, if there are any visual changes. For interactive or animated visual changes, a screencast is preferred.
  • All code follows the
    Scala,
    Java,
    and
    Rust
    style guides. In case you are using a language not listed above, follow the Rust style guide.
  • All code has been tested:
    • Unit tests have been written where possible.
    • If GUI codebase was changed, the GUI was tested when built using ./run ide build.

Frizi and others added 30 commits September 4, 2023 00:15
Vue supports `style scoped`.
@somebody1234 somebody1234 requested review from Frizi and removed request for indiv0 and PabloBuchu September 29, 2023 11:19
@somebody1234
Copy link
Contributor Author

note: this is still not tested with a new build of PM, so it may be broken.

Frizi added 3 commits October 4, 2023 14:54
- Added stateful async queue for managing visualization registration.
- Added error handling and exponential backoff to many language server requests.
@Frizi Frizi linked an issue Oct 6, 2023 that may be closed by this pull request
app/gui2/src/components/GraphNode.vue Outdated Show resolved Hide resolved
app/gui2/src/components/VisualizationContainer.vue Outdated Show resolved Hide resolved
app/gui2/src/util/shortcuts.ts Show resolved Hide resolved
app/gui2/ydoc-server/edits.ts Outdated Show resolved Hide resolved
Copy link
Contributor

@farmaazon farmaazon left a comment

Choose a reason for hiding this comment

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

I''d like to see some tests of

app/gui2/shared/languageServerTypes.ts Outdated Show resolved Hide resolved
app/gui2/src/stores/project.ts Outdated Show resolved Hide resolved
app/gui2/src/util/net.ts Show resolved Hide resolved
app/gui2/src/util/net.ts Outdated Show resolved Hide resolved
@Frizi Frizi added the CI: Ready to merge This PR is eligible for automatic merge label Oct 7, 2023
@mergify mergify bot merged commit 44f2f42 into develop Oct 7, 2023
30 checks passed
@mergify mergify bot deleted the wip/sb/connect-viz branch October 7, 2023 20:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI: No changelog needed Do not require a changelog entry for this PR. CI: Ready to merge This PR is eligible for automatic merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Make engine connections more robust against occasional timeouts
3 participants