-
-
Notifications
You must be signed in to change notification settings - Fork 8.7k
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
Label destructive 'Dismiss' buttons red #7364
Conversation
I definitely like the separation between the buttons +1 |
ed7deaf
to
3ea3f90
Compare
Good call, it does indeed, most notably by dropping the primary effect. |
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, would be good if the UI for this was more standardised by default rather than all this copy and paste (well out of scope of this though)
any downstream PRs need filing for plugins?
I'm currently not aware of plugins out of my mind, but if I spot some, I'll happily propose upgrade PRs, as always. |
Needs downstream PRs in |
Not a complete list either:
|
The only repository I can submit a PR to would be opentelemetry, all other ones have an ancient baseline from years ago, which do not support the concept of |
It's just adding these attributes isn't it?
If they aren't supported on those baselines they'll just be ignored. and users on newer versions will get the benefits |
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 PR is now ready for merge. We will merge it after approximately 24 hours if there is no negative feedback. Please see the merge process documentation for more information about the merge process. Thanks!
Causes JENKINS-70128. |
This reverts commit cf42eb7.
This PR intends to distinguish better between primary buttons' with positive and negative operations. Dismissing warnings silences them forever. Making the button red draws more attention to it, like buttons used in other views themed red for irreversible actions.
Additionally, this gets a rid of multiple primary buttons with different, non-primary, tasks for the same notification window.
Testing done
Before:
After:
Proposed changelog entries
Proposed upgrade guidelines
N/A
Submitter checklist
@Restricted
or have@since TODO
Javadocs, as appropriate.@Deprecated(since = "TODO")
or@Deprecated(forRemoval = true, since = "TODO")
, if applicable.eval
to ease future introduction of Content Security Policy (CSP) directives (see documentation).Desired reviewers
@mention
Maintainer checklist
Before the changes are marked as
ready-for-merge
:upgrade-guide-needed
label is set and there is a Proposed upgrade guidelines section in the pull request title (see example).lts-candidate
to be considered (see query).