Commit Graph

31 Commits

Author SHA1 Message Date
e26chiu 5136922e32 Merge branch 'main' of https://git.csclub.uwaterloo.ca/www/cs-2022-class-profile into stackedbar-component
continuous-integration/drone/push Build is passing Details
2022-09-03 14:07:32 -04:00
e26chiu b6d72f7d0b add horizontal stacked bar graph 2022-09-03 13:53:28 -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
e26chiu d53468a0eb fix visual nits + tooltip 2022-09-03 10:36:03 -04:00
e26chiu e346069421 fix visual nits 2022-09-03 08:25:03 -04:00
e26chiu 9e6f1e86d0 Merge branch 'main' of https://git.csclub.uwaterloo.ca/www/cs-2022-class-profile into stackedbar-component 2022-09-03 08:24:13 -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
Miniapple8888 feb7191a2d remove boxplot
continuous-integration/drone/push Build is passing Details
2022-09-02 16:58:17 -04:00
Miniapple8888 35463a6718 delete CandleStick graph
continuous-integration/drone/push Build is passing Details
2022-08-29 14:44:00 -04:00
Miniapple8888 4cd27dbbaf move legend to the right of the graph
continuous-integration/drone/push Build is failing Details
2022-08-29 14:31:48 -04:00
Miniapple8888 c3b33493e5 add stacked bar graph component
continuous-integration/drone/push Build is failing Details
2022-08-29 14:14:12 -04:00
Miniapple8888 2496e34798 add boxplot
continuous-integration/drone/push Build is failing Details
2022-08-18 17:02:10 -04:00
Miniapple8888 f25839702b Merge branch 'main' of https://git.csclub.uwaterloo.ca/www/cs-2022-class-profile into boxplot-component 2022-08-15 12:56:33 -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
Miniapple8888 9a7ca4f445 Merge branch 'main' of https://git.csclub.uwaterloo.ca/www/cs-2022-class-profile into candlestick-chart-component 2022-07-20 18:59:36 -04:00
Miniapple8888 43e8f70ccc add candlesticks 2022-07-20 18:57:53 -04:00
Amy Wang 5ce2efdc31 Fix Inconsolata font (#24)
continuous-integration/drone/push Build is passing Details
Fixes #23

Kudos to @j285he for noticing that we had commas in `pages/font.css` when we should've had semicolons.

Co-authored-by: Amy Wang <a258wang@csclub.uwaterloo.ca>
Reviewed-on: #24
Reviewed-by: Shahan Neda <snedadah@csclub.uwaterloo.ca>
2022-07-11 02:28:47 -04:00
Shahan Nedadahandeh 854c5d5bae Fix Staging server 404 error (#22)
continuous-integration/drone/push Build is passing Details
2022-07-07 19:52:43 -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
Shahan Nedadahandeh 67aa21fd65 Add CI (#13)
continuous-integration/drone/push Build is passing Details
2022-06-26 16:14:27 -04:00
Jared He b8e43bcf64 Change sans-serif fallback to monospace (#20)
Since inconsolata is a monospace font, I think we should change the fallback to be monospace as well (it also matches the aesthetic of the design more closely).

What do you all think?

Co-authored-by: Jared He <66887902+jaredjhe@users.noreply.github.com>
Reviewed-on: #20
Reviewed-by: Amy <a258wang@csclub.uwaterloo.ca>
2022-06-18 23:08:14 -04:00
Mark Chiu e5acb92e3e Add global colours and styles (Closes #11) (#14)
- Added variables for the theme colours (pink, orange, lighter pink, dark blue, etc.)
- Added variables for common styles (header, background, text, link, etc.) in dark mode and light mode; default theme is in dark mode
- Added font family Inconsolata
- Styled the page background + font family

Note: Using custom properties for variables (CSS as a single source of truth)

Missing:
- Line height
- Spacing

Co-authored-by: Emily Chiu <e26chiu@uwaterloo.ca>
Reviewed-on: #14
Reviewed-by: Shahan Neda <snedadah@csclub.uwaterloo.ca>
Reviewed-by: Amy <a258wang@csclub.uwaterloo.ca>
2022-06-17 23:41:09 -04:00
Amy Wang 591b885ae2 Fix typo 2022-06-03 02:15:22 -04:00
Amy Wang e4c7be3931 Add sample mock data 2022-06-03 02:11:48 -04:00
Amy Wang 25c3c75a06 Add playground 2022-06-03 01:31:07 -04:00
Amy Wang ce166cf404 Install basic visx packages and tweak settings 2022-06-03 01:31:07 -04:00
Amy Wang 3007e63263 Set up repo 2022-06-03 01:31:07 -04:00
Amy Wang da4f4b10c8 Initial commit from Create Next App 2022-06-03 01:31:07 -04:00