-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
[ZEPPELIN-2388] Improve the keyboard shortcuts dialog #2274
Conversation
@1ambda @Leemoonsoo Could you guys review this PR, please? |
really great improvement! let me test and comment soon! |
min-height: 16.428571429px; | ||
padding: 15px; | ||
border-bottom: 1px solid #9cb4c5; | ||
background-color: #3071a9; |
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.
} | ||
|
||
.kbd-white { | ||
color: #777777; |
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.
@@ -15,292 +15,297 @@ | |||
<div class="modal fade" id="shortcutModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true"> | |||
<div class="modal-dialog"> | |||
<div class="modal-content"> | |||
<div class="modal-header"> | |||
<div class="shortcut-modal-header"> | |||
<button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">×</span><span class="sr-only">Close</span></button> |
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.
} | ||
|
||
.shortcut-modal-title { | ||
color: white; |
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 think, it's better to add margin-top: 2px
, margin-bottom: 2px
(or 3px
)since it takes too much space. (it's just title).
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.
background-color: #d6dde7; | ||
border-color: 1px solid #9cb4c5; | ||
color: #337ab7; | ||
font-size: 14px !important; |
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.
.table-shortcut > tbody > tr > th { | ||
background-color: #d6dde7; | ||
border-color: 1px solid #9cb4c5; | ||
color: #337ab7; |
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.
awesome! |
Thank you @1ambda @felixcheung for seeing this! |
Cool! Significantly better than before 😄 |
6ce8954
to
854522c
Compare
LGTM!!! |
great - just my preference - I actually like the tighter spacing and without line separator look better... |
@felixcheung Thanks for your opinion 👍 |
854522c
to
a5b038e
Compare
I updated as @felixcheung suggestion such as the following screenshot! |
Awesome! I like the new spacing and layout
|
very nice! LGTM |
a5b038e
to
7751758
Compare
need to be rebased to make CI green. |
7751758
to
ff0a3ad
Compare
@1ambda Thanks, I did. |
ff0a3ad
to
d77f6ac
Compare
CI failed but irrelevant.
|
LGTM. |
d77f6ac
to
2428787
Compare
Ping! |
LGTM and merge to master if no further comments |
What is this PR for?
This PR is for Improving the keyboard shortcuts dialog form and here is what i improve.
What type of PR is it?
[Bug fix | Improvement]
What is the Jira issue?
How should this be tested?
Keyboard Shortcuts
shape.Screenshots (if appropriate)
[Before - 1. default]
[Before - 2. text is misaligned when resizing windows]
[Before - 3. not scrollbar]
[After - 1. default]
[After - 2. resizing windows (my image is a little broken.)]
Last improvement dialog shape
Questions: