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

Standards Report: Progress box tooltips #32589

Merged
merged 5 commits into from
Jan 10, 2020
Merged

Conversation

Erin007
Copy link
Contributor

@Erin007 Erin007 commented Jan 8, 2020

LP-962 && LP-1128
Spec

This adds tooltips to the progress boxes that will be displayed on the standards view of the progress tab. They include the lesson name, completion status and # of students out of the total # in the section who have completed the lesson.

Screen Shot 2020-01-08 at 3 17 24 PM

Screen Shot 2020-01-08 at 3 17 18 PM

And links the progress box to the lesson plan on curriculum.code.org

link-to-lesson-plan

Right now, this is all fake data.

@Erin007 Erin007 requested a review from a team as a code owner January 8, 2020 23:25
Copy link
Contributor

@dmcavoy dmcavoy left a comment

Choose a reason for hiding this comment

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

One question but overall looks good to me.

lessonNumber={lesson.lessonNumber}
/>
<span>
<ReactTooltip
Copy link
Contributor

Choose a reason for hiding this comment

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

Could we move the ReactTooltip inside ProgressBoxForLessonNumber?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sounds good! I moved the tooltips and added lesson to a new standards shapes file.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Wait - I don't think we actually want the tooltip to live inside the ProgressBoxForLessonNumber component because we'll use that component in the dialogs where we don't want it to have a tooltip.
Screen Shot 2020-01-09 at 1 09 50 PM

Copy link
Contributor

Choose a reason for hiding this comment

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

Ya makes sense we wouldn't want them there. Good catch!

@Erin007 Erin007 merged commit 820b1ba into staging Jan 10, 2020
@Erin007 Erin007 deleted the progress-box-tooltips branch January 10, 2020 16:11
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