Skip to content

update state drop - #880

Merged
rileytaylor merged 1 commit into
developfrom
863-update-state-dropdown
Dec 17, 2016
Merged

update state drop#880
rileytaylor merged 1 commit into
developfrom
863-update-state-dropdown

Conversation

@rileytaylor

Copy link
Copy Markdown
Contributor

What's in this PR?

This updates the state dropdown to include a list of states and their corresponding postal codes.

References

Fixes #863

Progress on: #853

@rileytaylor rileytaylor added this to the Launch Donations milestone Dec 16, 2016
@rileytaylor
rileytaylor force-pushed the 863-update-state-dropdown branch 2 times, most recently from 28c456d to 237fc12 Compare December 17, 2016 07:48

@joshsmith joshsmith left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Some quick changes needed. Should be fast to do.

export default Component.extend({
classNames: ['select-state'],
stateOptions: [
{ name: 'Alabama', id: 'AL' },

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

page.setContext(this);
},
afterEach() {
page.setContext(this);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This should be page.removeContext();. We may have this wrong in some other tests. Like country, it looks like. Can fix in this PR.

},
afterEach() {
page.setContext(this);
page.removeContext(this);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I believe this is just page.removeContext()

page.setContext(this);
},
afterEach() {
page.removeContext(this);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

page.removeContext()

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

oh duh.

@rileytaylor
rileytaylor force-pushed the 863-update-state-dropdown branch from 0fa8479 to f94d012 Compare December 17, 2016 08:13
@joshsmith

Copy link
Copy Markdown
Contributor

@rileytaylor LGTM. Merge when passing.

@rileytaylor
rileytaylor merged commit f43b42f into develop Dec 17, 2016
@rileytaylor
rileytaylor deleted the 863-update-state-dropdown branch December 17, 2016 08:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants