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

Add select component #232

Merged
merged 17 commits into from
Oct 25, 2018
Merged

Add select component #232

merged 17 commits into from
Oct 25, 2018

Conversation

andrewpye
Copy link
Member

Closes #228 by adding polaris-select. Original component source is here.

I've added a test page to the dummy app - here's a GIF of it in action:
polaris-select

You can compare it to the same page in React world here.

Copy link
Member

@vladucu vladucu left a comment

Choose a reason for hiding this comment

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

nice and clean!!

minor comments really

* @default ''
* @public
*/
value: '',
Copy link
Member

Choose a reason for hiding this comment

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

was the intention to use PLACEHOLDER_VALUE const here?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes, but I avoided doing so to stop the linter moving this to the end of the file 😬

Copy link
Member

Choose a reason for hiding this comment

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

ah, yeah...no biggie

addon/components/polaris-select.js Show resolved Hide resolved
* @type {Object[]}
* @private
*/
normalizedOptions: computed(function() {
Copy link
Member

Choose a reason for hiding this comment

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

should this depend on options at least?

Copy link
Member

@vladucu vladucu left a comment

Choose a reason for hiding this comment

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

👍
looks solid to me!

@andrewpye andrewpye merged commit 0849a0a into dev Oct 25, 2018
@delete-merged-branch delete-merged-branch bot deleted the feature/add-select-component branch October 25, 2018 17:53
@andrewpye andrewpye mentioned this pull request Oct 25, 2018
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