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

Home & Teacher home: show "HOC is coming" until actual HOC #19403

Merged
merged 1 commit into from Nov 27, 2017

Conversation

breville
Copy link
Member

@breville breville commented Nov 27, 2017

On the homepage's call-to-action and teacher homepage's special announcement, the celebrity content was intended to coincide with "actual-hoc", but launched a week earlier. This change updates each so that the relevant headings say "HOC is coming" until the the Hour of Code actually begins.

For the homepage, the "HOC is coming" will change to "HOC is here" when this flag is flipped (from soon-hoc):

DCDO.set("hoc_mode", "actual-hoc")

For the teacher homepage special announcement, the "HOC is coming" will change to "HOC is here" when this flag is flipped (from celebs2017):

DCDO.set("hoc_launch", {"special_announcement"=>"celebs2017actualhoc"})

current

screenshot 2017-11-26 23 29 21

screenshot 2017-11-26 23 32 40

when flags flipped

screenshot 2017-11-26 23 38 07

screenshot 2017-11-26 23 33 40

On the homepage's call-to-action and teacher homepage's special announcement, the celebrity content was intended to coincide with "actual-hoc", but launched a week earlier.  This change updates each so that the relevant headings say "HOC is coming" until the the Hour of Code actually begins.

{hocLaunch &&
hocLaunch.special_announcement &&
hocLaunch.special_announcement === "celebs2017actualhoc" &&
Copy link
Contributor

Choose a reason for hiding this comment

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

Should this be a separate PR? It seems like we should hotfix the "Hour of Code is here" change below, then push the announcement update as part of the normal DTP.

Copy link
Member Author

Choose a reason for hiding this comment

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

Turns out that neither needs a hotfix, so we can just send them both out together as part of normal DTP.

@breville
Copy link
Member Author

war approved 11/27.

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

4 participants