Repository navigation
Reposition notification banner CTA - #5043
Conversation
donokuda
left a comment
There was a problem hiding this comment.
Only had a couple of suggestions.
Looks good overall! 😎✨
| </p> | ||
| </div> | ||
| <div className="notification-banner-cta"> | ||
| <Button onClick={this.onComparedClicked}>Compare</Button> |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
| } | ||
|
|
||
| .notification-banner-cta { | ||
| padding-top: 5px; |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
|
@donokuda Made those changes! ✨ |
|
I'm gonna wait for CI to pass and then merge this into @iAmWillShepherd's branch (foregoing the 24-hour wait policy.) Feel free to push back if I'm overstepping my boundaries 😄 |
|
@donokuda , I'm cool with you merging this whenever. When I add the Merge CTA button, the styles will likely need to be updated a tidbit, but I'll be building off of the base branch for this PR. |
iAmWillShepherd
left a comment
There was a problem hiding this comment.
Approved by merge
|
A little late to reply here but wanted to respond to a couple of comments:
I can't recall when I decided to switch the primary button, but I feel it makes more sense to have the Merge button be the primary action since it's the final action the user would take. Viewing commits is more of an informative action that gives a little more context of what would be brought into the branch via a merge.
Yup! This should be dark theme compatible given that there aren't any new colors added or modified in this pull request. (The banner was updated to support dark theme in #4978) |


This bumps the button on the notification banner down so it doesn't look all broken!
Targets the
i-wanna-comparebranch in #5034