-
-
Notifications
You must be signed in to change notification settings - Fork 31
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
Refactor: Tool tips #671
Comments
-Standardize sidebar and calculator strategies tooltips. |
Narrowed down that the sidebar uses tooltip.js(from the sidebar field) while the wizard uses react tooltips npm package. Should be a simple fix from here. Eta 1/7 |
Pull request submitted |
Pull request submitted. Awaiting review. |
I approving JK's PR but this issue isn't closed yet. I'll work to continue refactoring this. There are some files that could be deleted, some styling that's passed into a component when the component should already be responsible for its own styling. There's a lot of repetitive code in these tool tips so I will work to refactor and clean them up. |
#671 Refactored Sidebar and Calculator Tooltips
- Remove -webkit and -moz styling - Make tooltip icons responsible for its own styling instead of passing in containerStyle - Remove unused questionStyle and circleStyle from ToolTipIcon in RuleCalculation and Sidebar directories
I did some additional refactoring on top of what JK already did (which has already been approved and merged in) Mostly reorganizing files/components so that they are DRY
Bug FIx: Fixed the rendering of tooltip icon for Parking Provided / Baseline and City wide Parking baseline since the icon accidentally got added in |
- Remove unused code - Fix tooltip for parking baseline to only show up on tooltip icon (not label) - Rename variables and classname - Use jss theme colors when hovering on rows - Make RuleStrategy and RuleInput styles more consistent with each other - Restyled RuleStrategy so that columns and dropdowns are consistent and aligned - Refactor disabled styling & logic in RuleStrategy - Create new RuleStrategyLabel component
- Remove unused code - Fix tooltip for parking baseline to only show up on tooltip icon (not label) - Rename variables and classname - Use jss theme colors when hovering on rows - Make RuleStrategy and RuleInput styles more consistent with each other - Restyled RuleStrategy so that columns and dropdowns are consistent and aligned - Refactor disabled styling & logic in RuleStrategy - Create new RuleStrategyLabel component
Overview
Some of the tool tips are different on the page, we should refactor them to be consistent.
The text was updated successfully, but these errors were encountered: