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

Components: Improve Toolbar #18619

Closed
7 tasks done
diegohaz opened this issue Nov 20, 2019 · 4 comments · Fixed by #23316
Closed
7 tasks done

Components: Improve Toolbar #18619

diegohaz opened this issue Nov 20, 2019 · 4 comments · Fixed by #23316
Assignees
Labels
[Feature] UI Components Impacts or related to the UI component system [Focus] Accessibility (a11y) Changes that impact accessibility and need corresponding review (e.g. markup changes). [Status] In Progress Tracking issues with work in progress [Type] Enhancement A suggestion for improvement.

Comments

@diegohaz
Copy link
Member

diegohaz commented Nov 20, 2019

I'm creating this issue to place together the steps necessary to improve both the API and the accessibility of the Toolbar component in @wordpress/components. This work started on #17875, but, since the PR has become too complex, we've chosen to break it into more parts:

@gziolo gziolo added [Focus] Accessibility (a11y) Changes that impact accessibility and need corresponding review (e.g. markup changes). [Feature] UI Components Impacts or related to the UI component system [Type] Enhancement A suggestion for improvement. labels Nov 20, 2019
@gziolo
Copy link
Member

gziolo commented Nov 20, 2019

Re-sharing my comment #18534 (comment):

How about we also move packages/components/src/toolbar-context/index.js to be located inside packages/components/src/toolbar/context.js? Well, it might wait until we decide whether we need to expose it. My only concern is that it gives the impression that this is something that could use standalone since it is in the root folder.

There is also README.md missing for the newly introduced ToolbarGroup component. Given that JSDoc comments contain all required defaults, it should be quite straightforward to create a documentation file. A separate story is that it would be nice to be able to auto-generate such files based on JSDoc and Storybook stories :D

@gziolo
Copy link
Member

gziolo commented Jun 15, 2020

This will fix #15331 and #3383.

Can we close those issues? It seems like everything is ready. The only task left is deprecation warnings for the old approach, right?

@diegohaz
Copy link
Member Author

Can we close those issues? It seems like everything is ready. The only task left is deprecation warnings for the old approach, right?

There are still some blocks missing. I'll make a list of them.

@diegohaz
Copy link
Member Author

diegohaz commented Jun 17, 2020

Missing blocks:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] UI Components Impacts or related to the UI component system [Focus] Accessibility (a11y) Changes that impact accessibility and need corresponding review (e.g. markup changes). [Status] In Progress Tracking issues with work in progress [Type] Enhancement A suggestion for improvement.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants