Skip to content
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

blm: convert to button #3306

Merged
merged 1 commit into from
Sep 3, 2020
Merged

blm: convert to button #3306

merged 1 commit into from
Sep 3, 2020

Conversation

DerekNonGeneric
Copy link
Contributor

The commit improves the visual appeal of the BLM CTA.

Notes:
https://user-images.githubusercontent.com/17770407/87524387-1cbf2f00-c656-11ea-8e94-7f80de3ed847.png
https://user-images.githubusercontent.com/17770407/87524580-53954500-c656-11ea-8991-2935a8fcfdef.png

Refs: #3246


Please consider either making the BLM CTA a full banner or simply a button as my PR has done.

/cc @MylesBorins

@DerekNonGeneric DerekNonGeneric marked this pull request as draft July 15, 2020 09:23
@MylesBorins
Copy link
Contributor

Is there a strong reason for this design change? I personally like the banner + button, I felt it drew attention to the message and broke up the page nicely.

@DerekNonGeneric
Copy link
Contributor Author

Is there a strong reason for this design change?

Well, it's hard to speak objectively about design, but the unused space on either side of the button doesn't look right to me.

I personally like the banner + button, […]

I don't see a problem w/ having a banner + button.

[…] I felt it drew attention to the message and broke up the page nicely.

The message appears to be missing from the banner. Currrently it's a button that has a hashtag for the button text. Perhaps we can put this button inside of an alert component. It would turn out to look like a full-width flash alert with action button.

How about it? We would just need the message text. Thoughts?

@DerekNonGeneric
Copy link
Contributor Author

Closing due to lack of follow-up.

@mmarchini
Copy link
Contributor

@mhdawson
Copy link
Member

mhdawson commented Sep 2, 2020

I don't have a strong opinion but my personal preference is the 2nd one: https://user-images.githubusercontent.com/17770407/87524580-53954500-c656-11ea-8991-2935a8fcfdef.png

@mmarchini
Copy link
Contributor

mmarchini commented Sep 2, 2020

Personally I don't think either one looks better than the other, and both fit the current site design more than a full alert component would (although I'm saying that without seeing how it would look like, so maybe I'm wrong). I agree with Myles that the current button+banner design draws more attention though.

@MylesBorins
Copy link
Contributor

MylesBorins commented Sep 2, 2020

I still like the current design better personally. I feel like removing the spill on either side of the button leaves a lot of empty white space.

With that said I don't feel strongly about it, so if this is important to someone I am happy to see the change land

@mhdawson
Copy link
Member

mhdawson commented Sep 3, 2020

Discussed in TSC meeting and asked members to comment in the issue.

@apapirovski
Copy link
Member

I slightly prefer the current version, mostly due to the interaction with the hover state.

@BridgeAR
Copy link
Member

BridgeAR commented Sep 3, 2020

I personally prefer the design change while I do believe that the old one draws more attention. As such I'll abstain.

@mhdawson
Copy link
Member

mhdawson commented Sep 3, 2020

Discussion in TSC meeting today is that there are no objections to this landing, we can go ahead and land.

@MylesBorins MylesBorins marked this pull request as ready for review September 3, 2020 15:34
Copy link
Contributor

@MylesBorins MylesBorins left a comment

Choose a reason for hiding this comment

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

LGTM

@DerekNonGeneric
Copy link
Contributor Author

DerekNonGeneric commented Sep 3, 2020

Great, glad everyone is on board for a button. I believe I was able to address everyone's concerns in the latest commit.

No JavaScript for the ARIA states since it's really just a link (possibly unused styles too, but I'm not going to sweat it).

@DerekNonGeneric DerekNonGeneric merged commit d29ad75 into nodejs:master Sep 3, 2020
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.

7 participants