Skip to content

Try a narrow trash button#19131

Merged
karmatosed merged 1 commit intomasterfrom
try/trash-narrow
Dec 13, 2019
Merged

Try a narrow trash button#19131
karmatosed merged 1 commit intomasterfrom
try/trash-narrow

Conversation

@karmatosed
Copy link
Copy Markdown
Member

The trash button right now is full width, which is not a pattern used a lot elsewhere. It also encourages you to move to trash almost as so large.

3

A little fix to this could be to explore just making it a normal button here:

2

I would argue making it just a text link could also work, but let's see what feedback is about the button for now.

@karmatosed karmatosed added the Needs Design Feedback Needs general design feedback. label Dec 13, 2019
@karmatosed karmatosed requested a review from talldan as a code owner December 13, 2019 17:26
@ZebulanStanphill
Copy link
Copy Markdown
Member

Makes sense to me. 👍

@shaunandrews
Copy link
Copy Markdown
Contributor

The smaller button looks a little strange, visually, but I agree the wide button is way too prominent. I'd be in favor of trying a link style for this — but happy to have that be a separate PR. Along with that, it'd be really nice to add a confirmation to this action.

@karmatosed
Copy link
Copy Markdown
Member Author

Ok based on feelings, let's try a smaller button then we can try a PR for a link if people think it's too weird. I would also be happy to try a link. Thanks, everyone.

@karmatosed karmatosed merged commit 1a9094b into master Dec 13, 2019
@karmatosed karmatosed deleted the try/trash-narrow branch December 13, 2019 21:17
@MichaelArestad
Copy link
Copy Markdown
Contributor

I'd second revisiting as a link. It's not a primary or even secondary action. I don't see a need to draw more attention to it than necessary and a link feels about right in the visual hierarchy.

@karmatosed
Copy link
Copy Markdown
Member Author

@MichaelArestad it's now merged as a link #19138

@MichaelArestad
Copy link
Copy Markdown
Contributor

Oh heck yes!

@youknowriad youknowriad added this to the Gutenberg 7.2 milestone Jan 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Needs Design Feedback Needs general design feedback.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants