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

Cleans up old sign up user type experiment #57905

Merged
merged 2 commits into from Apr 10, 2024

Conversation

hannahbergam
Copy link
Contributor

The sign up flow piloted a new user type button (see image below) a couple years ago. The DCDO flag was flipped to 'true' on production, but now we have an inconsistent user experience on test and locally (which are still defaulted to the old dropdown selection). Because the work I'm doing with School Association is safer with a comprehensive UI test, the test I wrote requires drone to assume the 'new' code that matches production (ie clicking on the teacher button instead of using the old dropdown). So, I'm cleaning it up!

The DCDO flag appears to be working through the logic within the experiments file that checks for a dcdo flag by the same name. I could not find any direct/other references to that flag.

Because this is a high traffic area, it would be great if reviewers could run the same search locally to ensure I'm not missing any surprise use cases!

Able to confirm that my local experience is the cards with this change:
Screenshot 2024-04-09 at 12 50 50 PM

Warning!!

The AP CSP Create Performance Task is in progress. The most critical dates are from April 3 - April 30, 2024. Please consider any risk introduced by this PR that could affect our students taking AP CSP. Code.org students taking AP CSP primarily use App Lab for their Create Task, however a small percent use Game Lab. Carefully consider whether your change has any risk of alterering, changing, or breaking anything in these two labs. Even small changes, such as a different button color, are considered significant during this time period. Reach out to the Student Learning team or Curriculum team for more details.

Links

Testing story

Deployment strategy

Follow-up work

Privacy

Security

Caching

PR Checklist:

  • Tests provide adequate coverage
  • Privacy and Security impacts have been assessed
  • Code is well-commented
  • New features are translatable or updates will not break translations
  • Relevant documentation has been added or updated
  • User impact is well-understood and desirable
  • Pull Request is labeled appropriately
  • Follow-up work items (including potential tech debt) are tracked and linked

@hannahbergam hannahbergam requested a review from a team April 9, 2024 19:57
Copy link
Contributor

@TurnerRiley TurnerRiley left a comment

Choose a reason for hiding this comment

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

Works for me locally too!

Copy link
Contributor

@bethanyaconnor bethanyaconnor left a comment

Choose a reason for hiding this comment

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

Yay for cleaning up old code!!

@hannahbergam hannahbergam merged commit b72713a into staging Apr 10, 2024
2 checks passed
@hannahbergam hannahbergam deleted the hbergam/cleanup-old-dcdo-flag branch April 10, 2024 19:57
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

3 participants