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

HtmlType property in info.json files #634

Closed
wants to merge 14 commits into from
Closed

HtmlType property in info.json files #634

wants to merge 14 commits into from

Conversation

harshkhandeparkar
Copy link
Member

@harshkhandeparkar harshkhandeparkar commented Jan 8, 2019

Fixes #570

Added separate property htmlType to info.json files to make the type property more specific.

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 rake test
  • code is in uniquely-named feature branch and has no merge conflicts
  • PR is descriptively titled
  • ask @publiclab/reviewers for help, in a comment below

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

Thanks!

tech4GT and others added 5 commits December 27, 2018 19:00
@harshkhandeparkar harshkhandeparkar changed the title Html type in info files HtmlType property in info.json files Jan 8, 2019
@harshkhandeparkar
Copy link
Member Author

@jywarren @tech4GT please review.

@harshkhandeparkar
Copy link
Member Author

@jywarren should I change the docs too?

@harshkhandeparkar
Copy link
Member Author

The step toggle thing was not working so I fixed it. Was a small fix so I included it. Had to do that or otherwise, I was not able to work. I made it more efficient too!

collapse-fix

@harshkhandeparkar
Copy link
Member Author

@jywarren I found something, grunt build does not compile UI files only grunt serve does.

HarshKhandeparkar added 2 commits January 9, 2019 18:46
@harshkhandeparkar
Copy link
Member Author

harshkhandeparkar commented Jan 9, 2019

@harshkhandeparkar
Copy link
Member Author

The tests are failing. Please help me here!

@harshkhandeparkar
Copy link
Member Author

@jywarren please help me with the errors.

@harshkhandeparkar
Copy link
Member Author

The errors are weird. Seems like channel and blur modules are causing errors.

@harshkhandeparkar
Copy link
Member Author

Those modules are having default parameters but the expected does not. How does this link to my pr?

@harshkhandeparkar
Copy link
Member Author

harshkhandeparkar commented Jan 10, 2019

@jywarren If I change the line

options.channel = options.channel || "green";

to

options.channel = options.channel;

then the tests pass for the toString() part

@harshkhandeparkar
Copy link
Member Author

Also the same for blur module. Why is this happening? Does this link to my PR?

@harshkhandeparkar
Copy link
Member Author

My mistake sorry! I looked into the source code. The inputs need to have the min max desc etc properties as direct children. I am closing this one. Will open a new one.

@harshkhandeparkar
Copy link
Member Author

Tests are passing!!

@jywarren
Copy link
Member

jywarren commented Jan 10, 2019 via email

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.

3 participants