Skip to content

Reposition notification banner CTA - #5043

Merged
iAmWillShepherd merged 3 commits into
i-wanna-comparefrom
compare-button
Jun 27, 2018
Merged

iAmWillShepherd merged 3 commits into
i-wanna-comparefrom
compare-button

Conversation

@ampinsk

@ampinsk ampinsk commented Jun 26, 2018 •

Copy link
Copy Markdown
Contributor

This bumps the button on the notification banner down so it doesn't look all broken!

Targets the i-wanna-compare branch in #5034

Before After
screen shot 2018-06-26 at 2 08 51 pm screen shot 2018-06-26 at 2 23 15 pm

@donokuda donokuda left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Comment thread app/styles/ui/_notification-banner.scss Outdated
}

.notification-banner-cta {
padding-top: 5px;

This comment was marked as spam.

@donokuda donokuda self-assigned this Jun 26, 2018
@ampinsk

ampinsk commented Jun 26, 2018

Copy link
Copy Markdown
Contributor Author

@donokuda Made those changes! ✨

@donokuda donokuda left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

giphy 7

@donokuda

Copy link
Copy Markdown
Contributor

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 😄

@iAmWillShepherd

iAmWillShepherd commented Jun 26, 2018 •

Copy link
Copy Markdown
Contributor

Compare button should be the primary button.

Also, is this black theme compatible?

@iAmWillShepherd

Copy link
Copy Markdown
Contributor

@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
iAmWillShepherd merged commit 01347e8 into i-wanna-compare Jun 27, 2018
@iAmWillShepherd
iAmWillShepherd deleted the compare-button branch June 27, 2018 15:04

@iAmWillShepherd iAmWillShepherd left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved by merge

@donokuda

Copy link
Copy Markdown
Contributor

A little late to reply here but wanted to respond to a couple of comments:

 Compare button should be the primary button.

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.

Also, is this black theme compatible?

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)

@lock lock Bot locked as resolved and limited conversation to collaborators Aug 26, 2018
@desktop desktop unlocked this conversation Sep 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants