-
Notifications
You must be signed in to change notification settings - Fork 351
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
Improve styles and readability #195
Conversation
This pull request is being automatically deployed with ZEIT Now (learn more). 🔍 Inspect: https://zeit.co/covid19-scenarios/covid19-scenarios/kibja0a2d |
Thanks, @gj262 ! (let me cc @rodolfoalmeida01 here) |
@arieltonglet @rodolfoalmeida01 Wow! I don't recognize this beauty! Fantastic work! |
cherry-pick additional faqs
internationalize number display
this fixes the plots in different language
…tial distribution
…re clearly. allows easier change to simulation data structure while keeping interface constant
This time shout out goes to @agoralski, @kbobrowski, @kimuraz, @kmid5280, @mickeypearce, @t-eckert, @tryggvigy
This time shout out goes to @kant, @miksa1987
This time shout out goes to @agonhasani, @aschelch, @Christian-G-UT, @chriswien, @gabrielhomsi, @gstvribs, @hongaar, @ivan-aksamentov, @kant, @kupad95, @kupadchoco, @MaozGelbart, @MikaMaracuja, @mserranom, @nnoll, @noleti, @rcbevans, @rneher, @vejmelkam
We need CI to build on changes in order to integrate the list of contributors on the website page
…ases-none allow confirmed cases to be "none"
Adds library to properly filter the "label" variable and display only the relevant information, standardizing the heading
hi guys, i think i finished the last adjustments for the general styles. A major change, which was not "formally" planned in the layout, was in the help tooltips. So I made some adjustments to FormHelpButton.tsx and now the "label" prop is being filtered to get the text content only, which goes to the same (Maybe a better approach would be to edit the props that are being sent to FormHelpButton, but I didn't think that it was the scope for this PR, as I was trying to stick my editions as much as I could to stuff like classNames and styles only) |
@arieltonglet This is fantastic! @gj262 @rcbevans Is there a way for us to help @arieltonglet and unscrew the diff on our side somehow? |
I really like the new look! Excited to see this. One thought I had is whether we want title bars and lines to be pitch black or some sort of dark grey. The navigation bar is grey. But that is minor and I am happy to go with other people's judgment here. |
Ok, I thought I was rebasing the right way but clearly it wasn't the case. Sorry I'm a little lost here. If you think its better, I could review my commits and start a clean slate RP (following better practices this time 🙃 ) |
@arieltonglet Yes, this would be awesome. Try to just check out master, copy your final stuff over, commit and make a PR. We just need a reasonably readable diff. Don't bother with any fancy stuff, like commit history etc. I postpone merging anything to master meanwhile so that it stays in sync. Thanks so much! |
@arieltonglet I rebased and merged in #336. Thanks a lot for the contribution! |
Description
Improvements to the general user experience described at #83 :
Alter font weights in titles and subtitles to improve hierarchy
Give form inputs clear visual distinction by using white background color
Add instructive subtitles to modules (“Use presets”, “Input data below” etc)Push help buttons to the right side of labels and change its color/opacity to a more subtle one (from light blue to a light grey)
Add h1 to main title “COVID-19 Scenarios” and proper semantic tags for subtitles (h2, h3 and so on), as well as “main”, “article”, “section” etc where applicable
The text on the "severity assumptions" module is overflowing on mobile. We should wrap it in its divAdd a spinner to “Run simulation” button, to indicate to the user that the simulation is being created/updated
Related issues
Implements the design improvements proposed at #83
Related: #13 #
Impacted Areas in the application
Main.tsx
Changes to bootstrap's props and classes
ResultsCard.tsx
ScenariosCard.tsx
Changes to bootstrap's props and classes, altered subtitles tags
ScenarioCardContainment.tsx
ScenarioCardEpidemiological.tsx
ScenarioCardPopulation.tsx
ScenarioCardPopulation.tsx
Altered subtitles tags
FormHelpButton.tsx
HelpLabel.tsx
Changes to classes and elements orders
global.scss
FormHelpButton.scss
Testing