Commit Graph

25 Commits

Author SHA1 Message Date
Jared He 959e094a07 Merge branch 'main' into j285he-about
continuous-integration/drone/push Build is passing Details
2022-09-09 17:29:38 -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 829d809a01 Merge main
continuous-integration/drone/push Build is passing Details
2022-09-07 23:16:11 -04:00
Jared He d3f1f08ff7 Code review fixes
continuous-integration/drone/push Build is passing Details
2022-09-07 23:15:26 -04:00
Jared He 22769fd391 Remove margin: 0 auto 2022-09-07 23:08:53 -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
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
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
Jared He 4915466f34 Add about
continuous-integration/drone/push Build is passing Details
2022-09-01 01:28:24 -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
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