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

[gui] ask before closing running terminal #3835

Draft
wants to merge 4 commits into
base: gui-open-shell-start-vm
Choose a base branch
from

Conversation

andrei-toterman
Copy link
Contributor

If a terminal is running, show a confirmation dialog that tells the user the state of the terminal will be lost.

MULTI-1682

we have bidirectional streaming rpcs, but we usually send only one
response back on that stream for most operations. therefore, the gui
would only read data from the stream until it got the first reply. but
this introduced errors in which the stream was disposed too early. now
we read everything from the stream, so that issue shouldn't happen.
@ricab
Copy link
Collaborator

ricab commented Dec 12, 2024

Was this designed? I am not used to terminals asking for confirmation to close, unless there are children processes running.

Copy link

codecov bot commented Dec 12, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 88.94%. Comparing base (bb77155) to head (7e57f2e).

Additional details and impacted files
@@                   Coverage Diff                    @@
##           gui-open-shell-start-vm    #3835   +/-   ##
========================================================
  Coverage                    88.94%   88.94%           
========================================================
  Files                          256      256           
  Lines                        14584    14584           
========================================================
  Hits                         12972    12972           
  Misses                        1612     1612           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@andrei-toterman andrei-toterman marked this pull request as draft December 12, 2024 19:53
@andrei-toterman andrei-toterman force-pushed the gui-open-shell-start-vm branch 2 times, most recently from a9bd618 to 859eef1 Compare December 17, 2024 14:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants