Commit Graph

14 Commits

Author SHA1 Message Date
Rebecca-Chou b411055d88 nav-bottom 2022-09-14 15:45:08 -04:00
Rebecca-Chou 3bde1f4032 Merge branch 'main' of https://git.csclub.uwaterloo.ca/www/cs-2022-class-profile 2022-09-11 21:58:53 -04:00
Jared He e2d19a281a Add Textbox Component (#45)
continuous-integration/drone/push Build is passing Details
Closes #39.

Padding will look correct when !46 is merged in.

https://j285he-textbox-component-csc-class-profile-staging-snedadah.k8s.csclub.cloud
Co-authored-by: Jared He <66887902+jaredjhe@users.noreply.github.com>
Reviewed-on: #45
Reviewed-by: Amy <a258wang@csclub.uwaterloo.ca>
Reviewed-by: Shahan Neda <snedadah@csclub.uwaterloo.ca>
2022-09-09 17:01:34 -04:00
Jared He 9200e5f491 Pie chart component (#19)
continuous-integration/drone/push Build is passing Details
Closes #5.

To fix:

- [x] Inner pie slice text not perfectly centered

- [x] Create optional props for `padRadius` and `innerRadius`

- [x] Change colors to global colors and merge from main to get fonts

Also, outer labels can get cut off if they are long enough, but the `labelWidth` is provided as a prop for the user to adjust.

Staging url: https://j285he-pie-chart-csc-class-profile-staging-snedadah.k8s.csclub.cloud

Co-authored-by: Jared He <66887902+jaredjhe@users.noreply.github.com>
Reviewed-on: #19
Reviewed-by: Amy <a258wang@csclub.uwaterloo.ca>
2022-09-07 22:20:30 -04:00
Rebecca-Chou 5bee5a98c4 resolve conflict 2022-09-06 13:41:56 -04:00
Mark Chiu 9526f1b0f5 Add BoxPlot component (Closes #6) (#34)
continuous-integration/drone/push Build is passing Details
Done:

- [x] Display boxplot with left and bottom axis in `playground.tsx`
- [x] Add mock data for boxplot
- [x] Hovering over boxplot displays a Tool Tip box.

My version:
![image](/attachments/6c8c4499-a1bd-4434-9230-7117266691ea)

Note:

 - No percentage displayed next to value axis labels.
 - We can add outlier points although it could complicate the graph.
 - Still displays the following error:
 	- Error: Hydration failed because the initial UI does not match what was rendered on the server.
    - Error: Text content does not match server-rendered HTML.
    - Error: There was an error while hydrating. Because the error happened outside of a Suspense boundary, the entire root will switch to client rendering.

    Staging: https://boxplot-component-csc-class-profile-staging-snedadah.k8s.csclub.cloud/
Co-authored-by: Miniapple8888 <miniapple8888@gmail.com>
Co-authored-by: Emily Chiu <e26chiu@corn-syrup.csclub.uwaterloo.ca>
Co-authored-by: e26chiu <e26chiu@csc.uwaterloo.ca>
Reviewed-on: #34
Reviewed-by: Amy <a258wang@csclub.uwaterloo.ca>
2022-09-03 11:13:58 -04:00
Rebecca-Chou 5a0459f2db resolve conflict 2022-09-03 01:34:14 -04:00
Amy Wang a2dbcb90c6 Add Quotation Carousel (#36)
continuous-integration/drone/push Build is passing Details
Made without visx, because that was easier.

Closes #10.

Co-authored-by: Amy Wang <a258wang@csclub.uwaterloo.ca>
Reviewed-on: #36
Reviewed-by: j285he <j285he@localhost>
2022-09-02 21:53:05 -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
Rebecca-Chou fc939fbec3 version 1 with lines shown 2022-08-31 23:25:39 -04:00
Shahan Nedadahandeh b586d52f72 Add Wordcloud Component (#27)
continuous-integration/drone/push Build is passing Details
2022-08-04 02:17:19 -04:00
Amy Wang 933833d331 Fix monospace fallback (#28)
continuous-integration/drone/push Build is passing Details
Just realized that we shouldn't have quotes around `monospace` 🤦

Co-authored-by: Amy Wang <a258wang@csclub.uwaterloo.ca>
Reviewed-on: #28
Reviewed-by: j285he <j285he@localhost>
2022-07-27 20:45:10 -04:00
Amy Wang 6735c52914 Bar Graph Component (#16)
continuous-integration/drone/push Build is passing Details
Adds a `<BarGraphHorizontal />` component and a `<BarGraphVertical />` component.

Closes #1.

Possible changes for the future:
- Refactor to make the horizontal and vertical bar graphs into one component
- Add (optional) graph title

Co-authored-by: Amy Wang <a258wang@csclub.uwaterloo.ca>
Reviewed-on: #16
Reviewed-by: Shahan Neda <snedadah@csclub.uwaterloo.ca>
2022-07-27 19:46:08 -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