Skip to content

Add tag builder options #621

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

Merged
merged 14 commits into from
Feb 8, 2023
Merged

Add tag builder options #621

merged 14 commits into from
Feb 8, 2023

Conversation

Krable55
Copy link
Collaborator

@Krable55 Krable55 commented Feb 7, 2023

Description of proposed changes

No breaking changes. Just adding a few components.

Adding:

  • <Detail /> A menu dropdown component we used in Relay and have meant to add. Doing it now because some compliance mocks are using it for the new menus.
  • <Menu /> A component for quickly building custom menus and managing menu-item focus. It's not meant to replace the ButtonSelect or the ActionSelect, but it allows us to build more complex & product-specific menus faster going forward.
  • <Menu.Search /> Built using the previous two components, it displays and groups options in a searchable/filterable menu. I thought it might be useful outside of Tag-specific usage.
  • <Tag.Search /> Built using the previous three components, it uses Menu.Search, for searching tags and displaying the selected ones. The compliance mock can be found here

Screenshot of proposed changes

Detail

Screen Shot 2023-02-06 at 7 07 34 PM
Screen Shot 2023-02-06 at 7 06 45 PM

Menu

Screen Shot 2023-02-06 at 7 14 09 PM

Menu.Search

Screen Shot 2023-02-06 at 7 20 37 PM

Tag.Search

Screen Shot 2023-02-06 at 7 22 26 PM
Screen Shot 2023-02-06 at 7 30 30 PM
Screen Shot 2023-02-06 at 7 29 37 PM

@Krable55 Krable55 requested a review from a team as a code owner February 7, 2023 03:44
@@ -1,6 +1,6 @@
{
"name": "@puppet/react-components",
"version": "5.33.9",
"version": "5.34.9",
Copy link
Collaborator

@Lukeaber Lukeaber Feb 8, 2023

Choose a reason for hiding this comment

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

should this not go to 5.34.0 ??

Also make sure to add an entry into the change log to explain whats in this release.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

It should! Thanks, Luke.

Copy link
Collaborator

@Lukeaber Lukeaber left a comment

Choose a reason for hiding this comment

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

Pulled down and tested, all looks good and great to get in. Added a small comments but will approved as will still be okay

@Krable55 Krable55 merged commit afe4139 into main Feb 8, 2023
sean-mckenna added a commit that referenced this pull request Dec 6, 2024
* Add tag filter

* Add focus helpers

* Cleanup & lint

* Split popup menu into its own component

* Add detail component

* Update search menu to use Detail component

* Add docs and fix issues

* Add menu tests

* lint

* Add lodash to dependencies

* Bump & lint

* Update snapshot

* Update changelog

* Fix version
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.

2 participants