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

Stabilize and document the angle picker component; Rename to AnglePickerControl; #20118

Conversation

jorgefilipecosta
Copy link
Member

Description

This PR stabilizes and documents the angle picker component.

How has this been tested?

I verified in the browser console that the angle picker component was now exposed as wp.components.AnglePicker.

@jorgefilipecosta jorgefilipecosta added [Type] Developer Documentation Documentation for developers [Feature] UI Components Impacts or related to the UI component system [Package] Components /packages/components labels Feb 8, 2020
Copy link
Contributor

@chrisvanpatten chrisvanpatten left a comment

Choose a reason for hiding this comment

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

I reviewed the docs and they look good to me, although I'm curious why this is AnglePicker vs. AnglePickerControl?

To me, appending "Control" is an implicit commitment that the component is wrapped in a BaseControl, which is the case here.

@jorgefilipecosta jorgefilipecosta force-pushed the update/stabilize-and-document-the-angle-picker-component branch from cf0cd76 to 4c117bb Compare February 9, 2020 23:03
@jorgefilipecosta
Copy link
Member Author

Hi @chrisvanpatten, I renamed the component to AnglePickerControl.

@jorgefilipecosta jorgefilipecosta changed the title Stabilize and document the angle picker component Stabilize and document the angle picker component; Rename to AnglePickerControl; Feb 9, 2020
Copy link
Contributor

@chrisvanpatten chrisvanpatten left a comment

Choose a reason for hiding this comment

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

Looks great to me!

@jorgefilipecosta jorgefilipecosta force-pushed the update/stabilize-and-document-the-angle-picker-component branch 3 times, most recently from b0f06c9 to d48680d Compare February 10, 2020 14:49
@jorgefilipecosta jorgefilipecosta force-pushed the update/stabilize-and-document-the-angle-picker-component branch from d48680d to b2132a7 Compare February 10, 2020 14:56
@jorgefilipecosta jorgefilipecosta merged commit be379ef into master Feb 10, 2020
@jorgefilipecosta jorgefilipecosta deleted the update/stabilize-and-document-the-angle-picker-component branch February 10, 2020 15:38
@github-actions github-actions bot added this to the Gutenberg 7.5 milestone Feb 10, 2020
"resolved": "https://registry.npmjs.org/node-pre-gyp/-/node-pre-gyp-0.12.0.tgz",
"resolved": false,
Copy link
Member

Choose a reason for hiding this comment

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

I don't see why these changes would be expected here?

When I run npm install on master using the recommended (latest) version of NPM (6.13.7), I see this being flipped back to the value it was previously.

Copy link
Member

Choose a reason for hiding this comment

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

See a59a5d9

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 [Package] Components /packages/components [Type] Developer Documentation Documentation for developers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants