Skip to content

Conversation

@mofojed
Copy link
Member

@mofojed mofojed commented Jul 19, 2021

Fixes #58

@mofojed mofojed added the enhancement New feature or request label Jul 19, 2021
@mofojed mofojed added this to the July 2021 milestone Jul 19, 2021
@mofojed mofojed requested a review from vbabich July 19, 2021 19:55
@mofojed mofojed self-assigned this Jul 19, 2021
vbabich
vbabich previously approved these changes Jul 20, 2021
Copy link
Collaborator

@vbabich vbabich left a comment

Choose a reason for hiding this comment

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

Can getConsoleTypes potentially resolve with an empty array?

@mofojed
Copy link
Member Author

mofojed commented Jul 21, 2021

Can getConsoleTypes potentially resolve with an empty array?

That's a good point. I'll add a case to handle that instead of assuming it's not empty.

mofojed added 3 commits July 23, 2021 16:41
Fixes deephaven#58

- The server does not support switching languages, remove that functionality
- Get the console types (languages) from the connection, use the first one as default
- Remove unused switchLanguages method
- Initialize language to null
Copy link
Contributor

@spasovski spasovski left a comment

Choose a reason for hiding this comment

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

Looks good.

@mofojed mofojed merged commit 62ef125 into deephaven:main Jul 27, 2021
@mofojed mofojed deleted the 58-language-select branch July 27, 2021 22:40
@mofojed mofojed mentioned this pull request Jul 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

UI: Select script session language

3 participants