-
Notifications
You must be signed in to change notification settings - Fork 151
Updates to number input step, min val, and types #283
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
Conversation
* Updated min value and step for most number inputs. * Updated format for float inputs to display as float instead of as int. Cleanup * Removed unused imports
This looks good. I really like the float inputs. doubling_time float is useful. I assume we're stuck with the less useful +/- steps for some of the controls, and there might not be a way to suppress the +/- buttons. I don't know what cypress is doing, otherwise I'd approve. |
Ops says that all cypress tests are failing right now, so the PR isn't breaking anything that we can tell. |
I haven't looked into the +/- controls. I'll do that today. Cypress is failing since the step for regional population changed the post-click value isn't what is expected. I'll fix that today, too. |
All changes in
./src/penn_chime/
Fixes for issue 269
presentation.py
Updated min value and step for most number inputs.presentation.py
Updated format for float inputs to display as float instead of as int.defaults.py
Change Constants type for doubling_time and relative_contact_rate from int to floatsettings.py
Change default doubling_time from int to floatCleanup
presentation.py
Fixes #269