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

Dropdown 'Select a Module' fix #1352

Merged
merged 8 commits into from Dec 12, 2019
Merged

Conversation

tsparksh
Copy link
Member

@tsparksh tsparksh commented Dec 11, 2019

Fixes #1307

Make sure these boxes are checked before your pull request (PR) is ready to be reviewed and merged. Thanks!

  • tests pass -- look for a green checkbox ✔️ a few minutes after opening your PR -- or run tests locally with npm test
  • code is in uniquely-named feature branch and has no merge conflicts
  • PR is descriptively titled
  • ask @publiclab/is-reviewers for help, in a comment below
  • Insert-step functionality is working correct as expected.

We're happy to help you get this ready -- don't be afraid to ask for help, and don't be discouraged if your tests fail at first!

If tests do fail, click on the red X to learn why by reading the logs.

Please be sure you've reviewed our contribution guidelines at https://publiclab.org/contributing-to-public-lab-software
Please make sure to get at least two reviews before asking for merging the PR as that would make the PR more reliable on our part
Thanks!

dropdownfix

@tsparksh
Copy link
Member Author

@publiclab/reviewers, please check

@codecov
Copy link

codecov bot commented Dec 11, 2019

Codecov Report

Merging #1352 into main will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #1352   +/-   ##
=======================================
  Coverage   66.57%   66.57%           
=======================================
  Files         125      125           
  Lines        2546     2546           
  Branches      397      397           
=======================================
  Hits         1695     1695           
  Misses        851      851

examples/demo.js Outdated Show resolved Hide resolved
examples/demo.js Outdated Show resolved Hide resolved
@harshkhandeparkar
Copy link
Member

Do you think adding a few comments to the code would help?

@harshkhandeparkar
Copy link
Member

harshkhandeparkar commented Dec 11, 2019 via email

Copy link
Member

@harshkhandeparkar harshkhandeparkar left a comment

Choose a reason for hiding this comment

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

LGTM 👍! Well done!

@tsparksh
Copy link
Member Author

@keshav234156 , can you accept my GCI task?

examples/demo.js Outdated
this.$control.on("click", () => {
this.ignoreFocusOpen = true;
setTimeout(() => {
this.ignoreFocusOpen = false; // trigger onFocus and open dropdown
Copy link
Member

Choose a reason for hiding this comment

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

Sorry but I forgot to tell you that comments need to follow certain rules from now on. We want to increase the consistency of docs in the codebase. Please start with a Capital letter and end with a full stop.

Copy link
Member Author

Choose a reason for hiding this comment

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

Sure.

Copy link
Member Author

Choose a reason for hiding this comment

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

Is it okey now?

Copy link
Member

Choose a reason for hiding this comment

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

Please add full stops. Sorry for delaying this.

Copy link
Member Author

Choose a reason for hiding this comment

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

Like this? Sorry I’m not sure that understood word “full stop” correctly

Copy link
Member

@harshkhandeparkar harshkhandeparkar left a comment

Choose a reason for hiding this comment

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

Awesome. Thanks a lot!

@jywarren jywarren merged commit 76575b5 into publiclab:main Dec 12, 2019
@jywarren
Copy link
Member

Awesome work! Thank you!

jywarren pushed a commit that referenced this pull request Dec 16, 2019
* Update demo.js

* Codeclimate

* Update demo.js

* Code comments

* Comments codestyle

* Update demo.js
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.

Dropdown doesn't close on click
4 participants