MNTOR-5112: Don't react to feature flags in PlusBanner itself #6299
+0
−7
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
References:
Jira: MNTOR-5112
Figma:
Description
Followup to #6284.
Since 4882e23,
shutdownStateis directly controlled by the feature flags, so we no longer need to check for them in the component itself. (The component also only checked for theShutdownBannerfeature flag, meaning that disabling that would also disable thePostShutdownBanner.)(Not a huge issue, since we probably won't disable that banner, but better safe than sorry.)
How to test
Disable the
ShutdownBannerflag while keepingPostShutdownBanner. A Plus user should still see the banner.Checklist (Definition of Done)