-
-
Notifications
You must be signed in to change notification settings - Fork 9k
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
Update appearance of keyboard shortcut tooltips #8435
Update appearance of keyboard shortcut tooltips #8435
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.
works nicely
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.
Looks fine from a security perspective!
/label ready-for-merge This PR is now ready for merge, after ~24 hours, we will merge it if there's no negative feedback. Thanks! |
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.
Is there a way to demonstrate the CMD/CTRL behavior? Right now it's unused code.
</st:documentation> | ||
|
||
<div class="jenkins-tooltip__keyboard-shortcut"> | ||
<j:if test="${attrs.prefix != null}"> |
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 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 spot - updated.
Subjective design feedback: The animation doesn't look good at the actual size. I first thought it was a bug, in particular on the default (non-dark) theme. weird.animation.firefox.mov |
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.
@daniel-beck @timja Updated this - big thanks to both of you for the comments and assistance. |
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 - tested the latest changes and reviewed the code, much more in line with what was expected and cleaner, thanks. Apologies for the delay
Re-requested @NotMyFault review as the code has changed a fair bit since last approved. @daniel-beck do you have an ETA / plan to review again? Thanks |
Please take a moment and address the merge conflicts of your pull request. Thanks! |
cc @NotMyFault ^^ |
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.
Makes sense to me
@daniel-beck Would you like to review again? c.c. @NotMyFault |
been 4 months since the original request for another review time to move on unless @daniel-beck you're able to make a commitment to review? In the meantime: /label ready-for-merge This PR is now ready for merge, after ~24 hours, we will merge it if there's no negative feedback. Thanks! |
Small one in preparation for #7569. This PR adds a new component for showing keyboard shortcuts, it's currently used in the tooltip for search bars.
Screen.Recording.2023-08-25.at.21.29.41.mov
This will be used for the Command Palette button too, where hovering over the Search icon will list what shortcuts activate it.
Testing done
Proposed changelog entries
Proposed upgrade guidelines
N/A
Submitter checklist
Desired reviewers
@jenkinsci/sig-ux
Before the changes are marked as
ready-for-merge
:Maintainer checklist