-
-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Split flag for new structure viewers #7898
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, just one comment. Thanks!
@@ -539,6 +539,8 @@ export = { | |||
|
|||
"ENABLE_NEW_STRUCTURE_PLAYERS": false, | |||
|
|||
"ENABLE_NEW_STRUCTURE_VIEWER_UPDATES": false, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perhaps add a comment explaining precisely what this controls, so that other devs don't use it beyond its intended purpose.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
Codecov Report
@@ Coverage Diff @@
## develop #7898 +/- ##
============================================
+ Coverage 73.69% 83.84% +10.15%
============================================
Files 899 1115 +216
Lines 40971 66712 +25741
Branches 3769 3769
============================================
+ Hits 30193 55932 +25739
- Misses 9524 9526 +2
Partials 1254 1254
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks!
backend tests failing though... |
* Split flag * added comment * fixed test
Explanation
This PR splits the new structures viewer flag to
ENABLE_NEW_STRUCTURE_PLAYERS
andENABLE_NEW_STRUCTURE_VIEWER_UPDATES
, where the latter is used to block POST and PUT requests. This is done so that the former can be flipped in #7889 without exposing the POST and PUT endpoints.Checklist
python -m scripts.pre_commit_linter
andpython -m scripts.run_frontend_tests
.