Skip to content

Add a is-checked class to element where the input is checked to ease customisation #141

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 4 commits into from
Mar 10, 2017

Conversation

lionel-bijaoui
Copy link
Member

close #140

…e customisation. Add checklist back into the schema of dev
@icebob
Copy link
Member

icebob commented Mar 6, 2017

Could you add tests, which checks the new classes?

Copy link
Member Author

@lionel-bijaoui lionel-bijaoui left a comment

Choose a reason for hiding this comment

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

@icebob should I continue this way with the other unit test ?

});


describe("test values reactivity to changes", () => {
Copy link
Member Author

Choose a reason for hiding this comment

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

I have grouped the test a little bit, is this okay, and can I do the same thing in checklist's tests ?

Copy link
Member

Choose a reason for hiding this comment

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

Great! Yes please!

vm.$nextTick( () => {
expect(model.skills).to.be.equal("HTML5");
done();
describe("test 'is-checked' class attribution reactivity to changes", () => {
Copy link
Member Author

Choose a reason for hiding this comment

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

Same thing, grouping test for better readability

Copy link
Member

Choose a reason for hiding this comment

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

Nice!

@lionel-bijaoui
Copy link
Member Author

@icebob can you validate what I did, this is blocking my progress on this PR. Thanks !

@icebob
Copy link
Member

icebob commented Mar 10, 2017

I checked & approved your changes, just I thought you will do this grouping on checklist too in this PR.

});


describe("test values reactivity to changes", () => {
Copy link
Member

Choose a reason for hiding this comment

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

Great! Yes please!

vm.$nextTick( () => {
expect(model.skills).to.be.equal("HTML5");
done();
describe("test 'is-checked' class attribution reactivity to changes", () => {
Copy link
Member

Choose a reason for hiding this comment

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

Nice!

@lionel-bijaoui
Copy link
Member Author

Sorry, I haven't been notified of your replies. Of course, I'm going to do the same for checklist, I just wanted to confirm this format before doing it for checklist.

@lionel-bijaoui
Copy link
Member Author

@icebob Is everything OK ? I can merge ?

@icebob
Copy link
Member

icebob commented Mar 10, 2017

Ok, mergeable.

@lionel-bijaoui lionel-bijaoui merged commit 7deb30d into vue-generators:master Mar 10, 2017
@lionel-bijaoui lionel-bijaoui deleted the lb_is-checked branch March 10, 2017 12:53
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.

Customise label when input is inside of it and checked
2 participants