Commit Graph

6 Commits

Author SHA1 Message Date
Shahan Nedadahandeh 3dd978c67e Added default word cloud width util (#102)
continuous-integration/drone/push Build is passing Details
Co-authored-by: shahanneda <shahan.neda@gmail.com>
Reviewed-on: #102
Reviewed-by: Mark Chiu <e26chiu@csclub.uwaterloo.ca>
2022-12-04 16:22:06 -05:00
Mark Chiu 1c0191facc Refactor default prop values into util file (Closes #82) (#87)
continuous-integration/drone/push Build is passing Details
This PR creates a new util file `DefaultProp` that provides default prop values for graph/chart components. More values could be added in the future as the pages are developed.

staging: (shahan: sorry, due to a unlucky naming this branch name doesnt work with staging )
Co-authored-by: e26chiu <e26chiu@csc.uwaterloo.ca>
Reviewed-on: #87
Reviewed-by: Shahan Nedadahandeh <snedadah@csclub.uwaterloo.ca>
2022-11-16 22:00:56 -05:00
Shahan Nedadahandeh e061850575 Fixed data and tooltip issues with wordcloud (#84)
continuous-integration/drone/push Build is passing Details
Closes #80
Closes #78

Added finer control for word cloud min/max font sizes. Changed defaults to be a bit more sensible, and also adjusted the values for the demographics page word cloud to display all data (main culprit was "wordPadding" was too big)
Added a console.error for when not all the words are being display to aid in development for when we're adjusting the min/max font sizes.
Fixed word cloud tooltip not being correct on centered word clouds.
Added a min width to the word cloud, aniticipating changes from #85

https://fix-wordcloud-data-csc-class-profile-staging-snedadah.k8s.csclub.cloud/samplePage/

https://fix-wordcloud-data-csc-class-profile-staging-snedadah.k8s.csclub.cloud/demographics/
Co-authored-by: shahanneda <shahan.neda@gmail.com>
Reviewed-on: #84
Reviewed-by: Mark Chiu <e26chiu@csclub.uwaterloo.ca>
2022-11-13 23:20:57 -05:00
Mark Chiu fb9c5243ab Add Demographics page (Closes #53) (#73)
continuous-integration/drone/push Build is passing Details
Changes: (outside of Demographics page)
* colour of the text (might be changed later on) because pure white strains the eye (contrast is too high).
* font size + line height
* SectionHeader word break fix of the title
* `isMobile` breakpoint is changed to 900

https://demographics-page-csc-class-profile-staging-snedadah.k8s.csclub.cloud/demographics/
Co-authored-by: e26chiu <e26chiu@csc.uwaterloo.ca>
Reviewed-on: #73
Reviewed-by: Shahan Nedadahandeh <snedadah@csclub.uwaterloo.ca>
2022-11-12 11:37:15 -05:00
Shahan Nedadahandeh 9cd5c158e7 Sample page and graph wrappers (#32)
continuous-integration/drone/push Build is passing Details
2022-09-02 17:39:46 -04:00
Shahan Nedadahandeh 126a61fc28 Add colors in JS and Color Palette (#18)
continuous-integration/drone/push Build is passing Details
2022-07-01 14:30:57 -04:00