-
Notifications
You must be signed in to change notification settings - Fork 481
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
Add code review UI messages #41781
Add code review UI messages #41781
Conversation
<div style={styles.commentsSection}> | ||
<div style={styles.messageText}>{javalabMsg.feedbackBeginning()}</div> | ||
{this.renderComments(comments, !isReadyForReview)} | ||
{this.renderCommentEditor(forceRecreateEditorKey)} |
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.
Nice reorganization!
marginBottom: '25px', | ||
textAlign: 'center', | ||
fontStyle: 'italic', | ||
color: '#818181' |
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.
Where possible, prefer one of our existing colors, listed here: https://github.com/code-dot-org/code-dot-org/blob/staging/shared/css/color.scss
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.
They can be used like this:
import color from '@cdo/apps/util/color'; |
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.
Ah nice, thanks! These are helpful - I didn't find the exact same grey in this file, but I can use something similar if it's not noticeably different or add this to colors.scss
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.
Nice work! Leaving it up to you if integrating the color update makes sense.
Adds UI messages to the code review window and some associated view/style reorganization. Messages are shown based on whether the student has comments in the project and if peer review is enabled or not. Note - this only includes messages for a student viewing their own project. For students viewing another student's project, there is a different header message that is still TODO (pending peer review dropdown).
Peer.Review.Messages.UI.7.28.mov
Links
https://codedotorg.atlassian.net/browse/CSA-557
Testing story
Tested locally.
Deployment strategy
Follow-up work
Privacy
Security
Caching
PR Checklist: