Skip to content

Delete discountcode page and components - #48042

Merged
epeach merged 6 commits into
stagingfrom
delete-discount-code-page
Sep 12, 2022
Merged

Delete discountcode page and components#48042
epeach merged 6 commits into
stagingfrom
delete-discount-code-page

Conversation

@epeach

@epeach epeach commented Sep 9, 2022

Copy link
Copy Markdown

While working on the storybook refactor, I encountered this code from an old program where we subsidized the cost of Circuit Playground kits. Discussion here: https://codedotorg.slack.com/archives/C1B3PNDL7/p1662757724965329. We no longer run this program so I deleted the page and components surrounding it.

studio.code.org/maker/discount will now 'sad-bee' when it's hit. From a data POV, from today back to 9/2/2021, this page was hit 3 times. From today back to 9/2/2020, this page was hit 49 times. (Per Google Analytics).

Follow-up work:
Delete circuit_playground_discount_codes.rb

@epeach epeach changed the title Delete discount code page Delete discountcode page and components Sep 9, 2022
@epeach
epeach requested a review from a team September 9, 2022 22:57

@bencodeorg bencodeorg 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.

🧹 🧹 🧹

One note on the Rails follow-up -- you also probably want to look into deleting the CircuitPlaygroundDiscountApplication model/table as well.

@epeach
epeach merged commit 1501065 into staging Sep 12, 2022
@epeach
epeach deleted the delete-discount-code-page branch September 12, 2022 17:44
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