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

Button: Add clarification on selections #770

Merged
merged 6 commits into from
May 16, 2024

Conversation

maximedegreve
Copy link
Contributor

@maximedegreve maximedegreve commented Apr 30, 2024

Following some confusion in Slack (internally) regarding the display of multiple selections within our buttons, we convened to discuss and concluded that documenting this would be beneficial.

Copy link
Contributor

@mperrotti mperrotti left a comment

Choose a reason for hiding this comment

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

Generally looking good! Main concern is the mention of a select controlling a button label.

@@ -428,6 +428,39 @@ Limit primary button usage. Only use one primary button on the page, whenever po
</Dont>
</DoDontContainer>

### Selections

Buttons are commonly used to show a choice within a `select`, [SelectPanel](/components/selectpanel) or [ActionMenu](/components/action-menu). In such instances, they are frequently paired with an internal or external label.
Copy link
Contributor

Choose a reason for hiding this comment

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

to show a choice within a select

When do we use a button to show the selections from a select?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Oops that was wrong. Removed it. 🙂‍↔️

content/components/button.mdx Outdated Show resolved Hide resolved
maximedegreve and others added 2 commits May 1, 2024 11:43
Co-authored-by: Mike Perrotti <mperrotti@github.com>
@maximedegreve maximedegreve merged commit d0da875 into main May 16, 2024
6 checks passed
@maximedegreve maximedegreve deleted the feature/clarification-on-buttons branch May 16, 2024 12:24
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.

None yet

2 participants