Skip to content

HoC 2023 - Add Dance Party AI side-by-side announcement banners#55099

Merged
kelbyhawn merged 4 commits into
stagingfrom
hoc-2023-add-dance-ai-announcement-banners
Nov 23, 2023
Merged

HoC 2023 - Add Dance Party AI side-by-side announcement banners#55099
kelbyhawn merged 4 commits into
stagingfrom
hoc-2023-add-dance-ai-announcement-banners

Conversation

@kelbyhawn

@kelbyhawn kelbyhawn commented Nov 21, 2023

Copy link
Copy Markdown
Contributor

Add side-by-side announcement banners to the following pages:

Jira ticket: ACQ-1121


Teacher homepage, logged in - studio.code.org/home

Screenshot 2023-11-21 at 1 17 33 PM

Student homepage, logged in - studio.code.org/home

Screenshot 2023-11-21 at 1 15 45 PM

Student Courses page, logged in - studio.code.org/courses

Screenshot 2023-11-21 at 1 14 35 PM

Learn/Courses page, logged out - studio.code.org/courses

Screenshot 2023-11-21 at 1 16 12 PM

@kelbyhawn kelbyhawn requested a review from a team as a code owner November 21, 2023 20:48

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I think eventually we should deprecate this SpecialAnnouncement component and set up the MarketingAnnouncementBanner component to work on the Student homepage similarly to the Teacher homepage and Student logged in courses page.

@kelbyhawn kelbyhawn requested a review from a team November 21, 2023 21:22
Comment on lines +36 to +37
? pegasus('/images/dance-hoc/dance-party-activity-ai-edition.png')
: pegasus('/images/dance-hoc/dance-party-activity-ai-edition.png');

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Am I tired or are this the same? Is there a reason not to simplify this?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

They are the same — I can definitely simplify it in this PR, but this comment gives more context why I didn't (tl:dr is that this component should probs be deprecated so I didn't want to mess anything up trying to refactor it)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

ah got it -- didn't connect that comment to this

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

do we plan to revert this change after HoC? If so, I'm fine leaving it like this, but if this is the indefinite state, then I might ask for at least a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Nope, it'll stay this way after HoC. I'll clean it up and leave a comment 🙌

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

thank you! sorry for the nitpicking -- I just know I'd have the exact same question if I worked on this file in six months 😅

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Haha no worries at all, I appreciate the thorough review! I just updated it to no longer use logic to determine what to show for teachers or english — can you take another look? Updates are in this commit: fc71173

removed logic to differentiate between teacher and student and made it show for all languages

@bethanyaconnor bethanyaconnor left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thank you! Excited to see all these changes coming together 🎉

@kelbyhawn kelbyhawn merged commit 66fa151 into staging Nov 23, 2023
@kelbyhawn kelbyhawn deleted the hoc-2023-add-dance-ai-announcement-banners branch November 23, 2023 03:22
davidsbailey added a commit that referenced this pull request Nov 27, 2023
* HoC 2023 - Add Dance AI tutorial to marketing website (#55060)

* update link on /dance

* add tile to /ai

* add media-wrapper around img on /dance

* HoC 2023 - Code.org - set Dance Party AI hero banner live (#55064)

* add responsive styles

* update primary link to /dance for soon-hoc

* HoC 2023 - Add Dance Party AI skinny banners to code.org (#55091)

* add dance_party_ai_skinny_banner.haml view

* add banner to /teach

* add to /ai/index.haml

* add to /ai/how-ai-works

* add to /ai/pl/101

* add responsive styles

* clean up css

* HoC 2023 - Add Dance Party AI side-by-side announcement banners (#55099)

* add banner to announcements.json

* add strings to marketing_announcements.json

* add banner to SpecialAnnouncement.jsx on student homepage

* refactor SpecialAnnouncement.jsx component

removed logic to differentiate between teacher and student and made it show for all languages

* Add tile for self-paced Teaching Interactive Animations and Games PL (#55029)

* tile update

* new tile page

* update image and add aria labels

---------

Co-authored-by: Kelby Hawn <9256643+kelbyhawn@users.noreply.github.com>

* staging content changes (-robo-commit)

* Update en.yml - Add Dance Party: AI Edition strings

* staging content changes (-robo-commit)

* Revert "HoC 2023 - Code.org - set Dance Party AI hero banner live (#55064)" (#55149)

This reverts commit b1c16f1.

* manual DTT (Staging > Test) (#55160)

* Updated the dance-ai course video.

* hoc2023: fix code flip

* Fix authored hint lightbulb number circle in RTL (#55087)

Fix authored hint lightbulb number circle in RTL

* Updates to teacher application emails for 2024-2025 school year (#54998)

* Most updates to teacher application emails for 2024-2025

* Finish updates to need_admin_approval email

* Minor updates

* Updates to accepted email

* PR feedback

* Small update to wording

* minitoolbox open by default (#55151)

* [JIMT][Dance AI Modal refactoring] (#55089)

* jimt/dance-ai-modal-refactoring - broke up utils.ts file; move types to ai/types

* jimt/dance-ai-modal-refactoring - pulled all functions out of DanceAiModal

* jimt/dance-ai-modal-refactoring - changed types import

* jimt/dance-ai-modal-refactoring - changed types import

* jimt/dance-ai-modal-refactoring - renaming of methods

* jimt/dance-ai-modal-refactoring - validateAndSetFieldValue now accepts a logger

* jimt/dance-ai-modal-refactoring renamed logger -> invalidValueLogger

* jimt/dance-ai-modal-refactoring - renamed ai/types -> ai/ai-types

* jimt/dance-ai-modal-refactoring - retooled to remove field param in favor of logValues

* jimt/dance-ai-modal-refactoring - restores field key

* jimt/dance-ai-modal-refactoring - moved ai-types back to types

* jimt/dance-ai-modal-refactoring - message/value non-optional and exported

* HoC 2023 - Fix Dance AI homepage hero banner (#55154)

* add dance ai hero banner to homepage.json again

* add styles with z-index fix

* Check if levelbuilder is ahead of staging before doing DTS (#55152)

---------

Co-authored-by: Jessica Kulwik <jessica@code.org>
Co-authored-by: breville <brendan@code.org>
Co-authored-by: fisher-alice <107423305+fisher-alice@users.noreply.github.com>
Co-authored-by: Bethany Connor <46464143+bethanyaconnor@users.noreply.github.com>
Co-authored-by: Mike Harvey <43474485+mikeharv@users.noreply.github.com>
Co-authored-by: Brendan Reville <breville@users.noreply.github.com>
Co-authored-by: Jim Thomason <jim.thomason@code.org>
Co-authored-by: Kelby Hawn <9256643+kelbyhawn@users.noreply.github.com>

---------

Co-authored-by: Jessica Kulwik <jessica@code.org>
Co-authored-by: Kelby Hawn <9256643+kelbyhawn@users.noreply.github.com>
Co-authored-by: Code.org Deploy Systems <dev@code.org>
Co-authored-by: Dmytro Antonyuk <137330041+dmantonyuk@users.noreply.github.com>
Co-authored-by: Tanya Parker <tanya@code.org>
Co-authored-by: Brendan Reville <breville@users.noreply.github.com>
Co-authored-by: breville <brendan@code.org>
Co-authored-by: fisher-alice <107423305+fisher-alice@users.noreply.github.com>
Co-authored-by: Bethany Connor <46464143+bethanyaconnor@users.noreply.github.com>
Co-authored-by: Mike Harvey <43474485+mikeharv@users.noreply.github.com>
Co-authored-by: Jim Thomason <jim.thomason@code.org>
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.

2 participants