Skip to content

[ASK DAN BEFORE MERGING, expected mid-Jan] Maker deprecation warnings - #49419

Merged
bethanyaconnor merged 4 commits into
stagingfrom
ben/maker-deprecation-warnings
Jan 13, 2023
Merged

[ASK DAN BEFORE MERGING, expected mid-Jan] Maker deprecation warnings#49419
bethanyaconnor merged 4 commits into
stagingfrom
ben/maker-deprecation-warnings

Conversation

@bencodeorg

@bencodeorg bencodeorg commented Dec 9, 2022

Copy link
Copy Markdown
Contributor

Adds deprecation warnings to Maker setup and homepages.

/maker/setup (first notification visible to Maker app users, second notification visible to old Chrome versions. No one should see both notifications)

image

/maker/home (notification visible to everyone)

image

Links

Testing story

Tested manually that the Chrome version detection worked for me locally. I did not test the Maker app (I don't have it set up locally, and the code I'm adding seems pretty straightforward).

Deployment strategy

This should be merged as part of Maker deprecation messaging in January -- check in with Dan for details.

@bencodeorg
bencodeorg requested a review from a team as a code owner December 9, 2022 17:26
render() {
// Experiment 'microbit', displays Circuit Playground and Micro:Bit descriptions.
let isMicrobit = experiments.isEnabled('microbit');
const isMicrobit = experiments.isEnabled('microbit');

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.

Unrelated cleanup.

return (
<div>
{isCodeOrgBrowser() && (
<Notification

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.

should we have two banners here? Is it possible to combine these into one message?

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 don't think anyone would see both...the first is for the Maker app, and the second for old chrome versions? Unless I'm misunderstanding something

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 ok I was confused because your screenshot had both

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.

ah apologies, was trying to minimize screenshot screen real estate -- should have split those out!

@molly-moen
molly-moen requested a review from a team as a code owner January 12, 2023 22:02
@molly-moen
molly-moen changed the base branch from staging-next to staging January 12, 2023 22:02
@bethanyaconnor
bethanyaconnor merged commit a321b7c into staging Jan 13, 2023
@bethanyaconnor
bethanyaconnor deleted the ben/maker-deprecation-warnings branch January 13, 2023 13:49
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.

3 participants