-
Notifications
You must be signed in to change notification settings - Fork 0
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
edit classes frontend redesign #887
base: master
Are you sure you want to change the base?
Conversation
[diff-counting] Significant lines: 568. |
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.
This is a really nice redesign! It looks so much more cleaner. I have a few suggestions you could add:
- When searching for a class that doesn't exist, maybe add some padding between the label thing and the end of the white part so it doesn't look too crammed together
- I think making the Go to Course buttons more visible by changing the color or adding a border or something else would be good. And also maybe adding more padding again to make the class cards look more vertically symmetric
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.
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.
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.
just a couple more minor things, everything else looks good!
roleString = 'PROF'; | ||
let roleString = ""; | ||
let roleColor = ""; | ||
let selectedBackgroundColor = "#F5F5F5"; |
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.
oh can we put these in the associated .scss file?
)} | ||
</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.
nit: let's avoid empty components <></>
and use &&
where we can, assuming that has the same behavior
import * as React from "react"; | ||
import { useHistory } from "react-router"; | ||
import { Icon } from "semantic-ui-react"; | ||
import { Grid } from "@material-ui/core"; | ||
|
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.
Summary
Update of edit classes page:
current design:
redesign:
Test Plan
Notes
Breaking Changes
None