-
Notifications
You must be signed in to change notification settings - Fork 231
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
Add fullscreen terminal support #1167
Conversation
67dc20d
to
fb64804
Compare
app/scripts/controllers/pod.js
Outdated
@@ -316,6 +317,17 @@ angular.module('openshiftConsole') | |||
} | |||
}; | |||
|
|||
var focusTerminal = function() { | |||
$('.terminal').focus(); |
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.
do we actually have multiple terminals when there are multiple containers (with only one visible)? or do we just maintain the connections?
or does jquery only find the visible ones by default, cant remember
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.
Good catch. It looks like we keep the terminal once it's been used, so it's possible to have multiple. I'll change it to only focus the visible terminal.
Updated |
fc32691
to
5cbafe8
Compare
Rebased |
[merge] |
Evaluated for origin web console merge up to a6d44e8 |
[Test]ing while waiting on the merge queue |
Evaluated for origin web console test up to a6d44e8 |
Origin Web Console Test Results: SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pull_requests_origin_web_console/1052/) (Base Commit: e812e57) |
Origin Web Console Merge Results: SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pull_requests_origin_web_console/1067/) (Base Commit: 5b16b10) |
@jwforres FYI I have fullscreen support working for terminals. Need to test more across browsers.
@csrwng CC
TODO:
fa-expand
/fa-compress
)