Implement the newUiEnabled GraphQL resolving logic
What does this MR do and why?
Adds the necessary GraphQL changes for us to be able to interact with
the newUiEnabled user setting.
References
This is part of a sequence of MRs that will eventually let us enable the new UI for all users on .com.
| Step | MR |
|---|---|
| 1. Create the necessary user setting in the DB | !211303 (merged) |
|
|
!211441 (merged) (this MR) |
| 3. Leverage the new field in the product | !211301 (merged) |
How to set up and validate locally
-
Run DB migrations.
-
Navigate to the GraphQL explorer: https://gdk.test:3443/-/graphql-explorer.
-
Run the following mutation to update the user setting:
mutation setNewUIEnabled { userPreferencesUpdate(input: { newUiEnabled: true }) { userPreferences { newUiEnabled } } }
MR acceptance checklist
Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Edited by Paul Gascou-Vaillancourt