Commit Graph

12 Commits

Author SHA1 Message Date
Richard Shuai ff27c3cbc0 Component Switcher (#169)
continuous-integration/drone/push Build is passing Details
Closes Issue #142.

Created a new PR for component switcher changes.

https://richardshuai-component-switcher-csc-class-pr-snedadah.k8s.csclub.cloud/samplePage/
Co-authored-by: ricsign <ricsign123@gmail.com>
Co-authored-by: shahanneda <shahan.neda@gmail.com>
Reviewed-on: #169
Reviewed-by: Shahan Nedadahandeh <snedadah@csclub.uwaterloo.ca>
2023-02-07 13:28:17 -05:00
Shahan Nedadahandeh 743f050ec8 Fix tooltip not being correctly positioned for certain centered graphs (#118)
continuous-integration/drone/push Build is passing Details
Applied the fix used by the WordCloud to all graphs so that tooltips will be properly positioned, even if the graph is centered on the page. Did so by refactoring some tooltip logic in to a common getTooltipPosition used by all graphs.

One thing is that this simplifies all the tooltips to simply follow the mouse, instead of locking onto certain "blocks"/bars like in the grouped bar graph, which is more consitant with all the other tooltips, since we only had this in some cases.

Do we think that having the tooltip be sticky to a certain bar/group is important?

Closes #89

https://fix-tooltip-center-csc-class-profile-staging-snedadah.k8s.csclub.cloud/samplePage/
Co-authored-by: shahanneda <shahan.neda@gmail.com>
Reviewed-on: #118
Reviewed-by: Mark Chiu <e26chiu@csclub.uwaterloo.ca>
2022-12-28 01:54:32 -05:00
Shahan Nedadahandeh b8590f7a28 Adjust pie chart (#117)
continuous-integration/drone/push Build is passing Details
https://adjust-pie-1-csc-class-profile-staging-snedadah.k8s.csclub.cloud/academics/
Co-authored-by: shahanneda <shahan.neda@gmail.com>
Co-authored-by: Mark Chiu <e26chiu@csclub.uwaterloo.ca>
Reviewed-on: #117
Reviewed-by: Mark Chiu <e26chiu@csclub.uwaterloo.ca>
2022-12-28 01:32:07 -05:00
Beihao Zhou db9f74a42a Enable customized colors for line graph (#92)
continuous-integration/drone/push Build is passing Details
Co-authored-by: Rebecca-Chou <beihaozhou@gmail.com>
Reviewed-on: #92
Reviewed-by: Shahan Nedadahandeh <snedadah@csclub.uwaterloo.ca>
2022-11-30 21:48:36 -05:00
Shahan Nedadahandeh 97aa2261f2 Created TooltipWrapper (#88)
continuous-integration/drone/push Build is passing Details
Co-authored-by: shahanneda <shahan.neda@gmail.com>
Reviewed-on: #88
Reviewed-by: Mark Chiu <e26chiu@csclub.uwaterloo.ca>
2022-11-16 21:35:55 -05:00
Shahan Nedadahandeh d39a1f8274 Add media query to section header and update sample page (#85)
continuous-integration/drone/push Build is passing Details
https://update-smpl-page-csc-class-profile-staging-snedadah.k8s.csclub.cloud/demographics/
Co-authored-by: shahanneda <shahan.neda@gmail.com>
Reviewed-on: #85
Reviewed-by: Mark Chiu <e26chiu@csclub.uwaterloo.ca>
2022-11-13 23:11:29 -05:00
Shahan Nedadahandeh 80530c1c1a Made bottom arrows optional and refactored routes (Closes #72) (#76)
continuous-integration/drone/push Build is passing Details
2022-11-05 14:06:24 -04:00
Shahan Nedadahandeh 0fcc367ab6 Make section component body text optional (Closes #70) (#77)
continuous-integration/drone/push Build is passing Details
https://opt-descrp-csc-class-profile-staging-snedadah.k8s.csclub.cloud/samplePage/
Co-authored-by: shahanneda <shahan.neda@gmail.com>
Reviewed-on: #77
Reviewed-by: Mark Chiu <e26chiu@csclub.uwaterloo.ca>
2022-11-05 12:18:44 -04:00
Mark Chiu 7404c60d8f Add SectionHeader component (Closes #74) (#75)
continuous-integration/drone/push Build is passing Details
This PR adds the SectionHeader component as described in the issue. The text is centered, so it's adapted for mobile. Possible improvements (or nitpicks) would be to add spacing around the text in mobile version (left and right margin/padding) or maybe make the title or subtitle smaller? I think it looks fine otherwise.

![image](/attachments/9666a512-dd29-471a-943e-d91db7836bd9)

https://sectionheader-component-csc-class-profile-st-snedadah.k8s.csclub.cloud/
Co-authored-by: e26chiu <e26chiu@csc.uwaterloo.ca>
Reviewed-on: #75
Reviewed-by: Shahan Nedadahandeh <snedadah@csclub.uwaterloo.ca>
2022-11-05 09:01:46 -04:00
Shahan Nedadahandeh bfa3e9960c Header/Side Menu (#52)
continuous-integration/drone/push Build is passing Details
2022-10-22 14:04:12 -04:00
Beihao Zhou fc2bf48706 Add Bottom Navigation (#64)
continuous-integration/drone/push Build is passing Details
Co-authored-by: Beihao Zhou <b72zhou@csclub.uwaterloo.ca>
Co-committed-by: Beihao Zhou <b72zhou@csclub.uwaterloo.ca>
2022-10-05 21:07:49 -04: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