-
Notifications
You must be signed in to change notification settings - Fork 64
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
VNC in new window #425
VNC in new window #425
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking great! I did add a link to an early design idea we had on exposing this as an option as well as "Expand to full screen". Just in case it's any sort of inspiration :)
|
||
In order to add an option to open the VNC console in a new window, we’ll add a new button ‘Open Console in new window’ to the existing ‘VNC console’ dropdown with the ‘Disconnect before switching’ checkbox option and ‘Send key’ button. | ||
|
||
![oprn from the new button](img/Open-console-1c.png) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There were some early ideas around some text and iconography (long ago!!) for expanding this to a full window and opening in a new window/tab that I wanted to share incase it helps:
https://docs.google.com/document/d/1Fh2eb9TD0aq9JulVbLlss2ucdqYzx_uqTaThse_fcgE/edit#heading=h.3m45k77pubys
One thing I think this older design does is save some vertical space.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh wow, blast from the past. 😄
I was going to suggest the same, maybe placing this button to the left of the Send key
button to save some vertical space (should Send key
be a dropdown by the way?). An external link icon may also be good here since a new tab/window opens when clicked. That old design was inspired by the actions in the Logs and Terminal tabs you can see in a Pod Details page today.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @lizsurette and @andybraren.
The original design (as mentioned at the 'Note' in the google doc https://docs.google.com/document/d/1YFJDCWJj8NdodFhtXqq7KbhXz9EhHeBg9xyfybA0mVs/edit#heading=h.4kmd69x7yzsn) had all the buttons in one row to save some vertical space, but due to limitations of the buttons being part of the console component, we had to place the ‘Open Console in new window’ button in a separate row.
But now that I see it was already done in the past, maybe we can change it back. @glekner WDYT?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think that part of the old design doc was ever implemented, but agreed, I'd be interested to hear if the component itself could be updated with the new button. Is the VNC Console component used anywhere else in the OpenShift UI? Maybe this is the only place? 🤷♂️
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think that part of the old design doc was ever implemented, but agreed, I'd be interested to hear if the component itself could be updated with the new button. Is the VNC Console component used anywhere else in the OpenShift UI? Maybe this is the only place? 🤷♂️
@yaacov any idea?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for that old link @lizsurette I totally forgot about that :)
I did confirm with the OCP stakeholders today that we don't have this surfacing anywhere else so it would be great to move this over to a PF4 approach. @glekner WDYT?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Its doable, but it should be a different PR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1 from me to move to PF4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Its doable, but it should be a different PR.
@glekner Yes, we discussed off-line that #5593 will use current component, and we will continue to make it closer to the design in follow-up PRs.
designs/virtualization/4.x/vnc-in-new-window/vnc-in-new-window.md
Outdated
Show resolved
Hide resolved
designs/virtualization/4.x/vnc-in-new-window/vnc-in-new-window.md
Outdated
Show resolved
Hide resolved
designs/virtualization/4.x/vnc-in-new-window/vnc-in-new-window.md
Outdated
Show resolved
Hide resolved
@matthewcarleton @yfrimanm @glekner hi, We discussed some topics in Slack: a - opening the console in a new tab instead of a new window. @yfrimanm can you see how you can update the design to match this discussed topics ? |
@yfrimanm in the old design: we have a help link "Remote connection settings" that explain how to open |
When users click the ‘Open Console’ button, they will get a new tab that represents another OS (no toolbar) with a dismissble inline info notification about the consoles tab features. | ||
They will be able to toggle between the 2 tabs: their original OpenShift cluster and the other OS tab they have opened. | ||
|
||
![new tab](img/Detached3-new-tab.png) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This image include a long info text, can you add the text as text here (and not just as an image) ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@yaacov here it is and also added to the MD file
Consoles tab
The Consoles tab allows the user to connect an in-browser or desktop-based Graphical and/or Serial console to the virtual machine.
You can change the console type using the dropdown selector. The Graphical VNC console is selected by default and will open in a separate tab of the console view when clicking the ‘Open console’ button link. You can drag the new tab into a new browser window.
The Expand action makes the console viewport fill the current window’s full width and height.
@@ -0,0 +1,47 @@ | |||
--- | |||
parent: Virtualization | |||
version: 4.x |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I know this work is being implemented now. Can we confirm it isn't getting into 4.6?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just some small tweaks and then this should be GTG!
designs/virtualization/4.x/vnc-in-new-window/vnc-in-new-window.md
Outdated
Show resolved
Hide resolved
designs/virtualization/4.x/vnc-in-new-window/vnc-in-new-window.md
Outdated
Show resolved
Hide resolved
designs/virtualization/4.x/vnc-in-new-window/vnc-in-new-window.md
Outdated
Show resolved
Hide resolved
|
||
![open from the kebab menu](img/Open-console2.png) | ||
|
||
## In the Developer console |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've reached out to @beaumorley @serenamarie125 about how we want to deal with the dev side of this. We may want to push it out to another release or put the design under the dev console designs.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok we are ok I've confirmed that this is already pulled into the dev perspective.
I did noticed though that the icon for a new window/tab didn't get added so we could file a bug for that.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
In order to add an option to open the VNC console in a new window, we’ll add a new button ‘Open Console in new window’ and allow that to take action from the Admin console as well as from the Developer console. we'll also show how the detached window looks like.
@openshift/team-ux-leads
@openshift/team-ux-review (Administrator perspective)
@openshift/team-devconsole-ux (Developer perspective)