-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cornellians Say Frontend #484
Conversation
[diff-counting] Significant lines: 143. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work on Cornellians Say frontend, Helen! Looks really smooth on my end, in all view sizes. Left a couple comments, on styling mostly, but this is super great work. Perhaps before merging both yours and Jacqueline's features, we can align on some nitpicky styling things (ex. font sizes, padding) because both components are meant to be similar looking -- this could happen in a middle-step PR before going to main
maybe, but really exciting!
* and a valid summary generated. | ||
*/ | ||
type SummaryProps = { | ||
classSummary: string; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe instead of not showing the CornelliansSay box if there isn't a course summary, we could have a default message that appears?
display: flex; | ||
align-items: center; | ||
gap: 10px; | ||
margin-bottom: 20px; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The margin on the bottom looks a little big imo
font-weight: bold; | ||
} | ||
|
||
.summary { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I feel like it looks a bit weird for the summary text to be different from the review text - so maybe no need to format this
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Esp the line height looks a bit funky
difficulty={selectedClass.classDifficulty} | ||
workload={selectedClass.classWorkload} | ||
/> | ||
<div> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this div may be unnecessary?
gap: 10px; | ||
} | ||
|
||
.tag { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the tags are too big somewhat, maybe reduce some of the padding
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Try
padding: 0 10px;
min-height: 25px;
It also helps when the tag is too long on certain screen widths the text stacks on top of each other and clips the tag container.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome work here Helen! Super happy to see your feature working end to end. I will approve this review as I think it is mostly functioning super well right now. Only have like one tiny style comment.
Summary
This PR works on the Cornellians Say feature.
PR Type
Mobile + Desktop Screenshots & Recordings
QA - Test Plan
Checked for courses that had summary and all tags, summary and some tags, and no summary. Also checked on different screen sizes.
Breaking Changes & Notes
Added Cornellians Say component to the frontend.
Added to documentation?
What GIF represents this PR?
gif