Skip to content
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

Feedback Tab Student-Facing UI #22628

Merged
merged 7 commits into from May 31, 2018
Merged

Feedback Tab Student-Facing UI #22628

merged 7 commits into from May 31, 2018

Conversation

epeach
Copy link

@epeach epeach commented May 23, 2018

This PR is part of a feature to add a tab with a feedback box to the studio instructions.
Axosoft: https://codeorg.axosoft.com/viewitem?id=1461&type=features&force_use_number=true

For the May 11th deadline, a tab with 'coming soon' text was added for training. This is behind the 2018-teacher-experience flag.

For the June 4th deadline, behind the 'devCommentBoxTab', we are adding the follow features for students (using temporary text):
*display feedback comment, date, and teacher

This PR includes tests.

This PR builds on:
#22568

Upcoming PRs will include:
*Backend to the save and display comments.
*Only display feedback tab for students when a teacher has provided feedback.

Picture:
screenshot from 2018-05-23 13-57-55

@epeach epeach requested a review from islemaster May 23, 2018 21:20

class StudentFeedback extends Component {
static propTypes = {
viewAs: PropTypes.oneOf(['Teacher', 'Student']),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PropTypes.oneOf(Object.keys(ViewType))

}
{this.props.viewAs === ViewType.Student &&
<StudentFeedback
ref="commentTab"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FYI this is a deprecated ref style. No need to fix in this PR but maybe in a followup?

@epeach epeach merged commit 93003b2 into staging May 31, 2018
@epeach epeach deleted the feedback-tab-student-update branch June 27, 2018 16:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants