Page MenuHomePhabricator

[Traffic limit exception] Implement a validation layer for the traffic limit exception UI
Closed, ResolvedPublic3 Estimated Story Points

Description

Description

Let's add some validation rule to the new traffic limit exception UI as a way to avoid human mistakes and improve the user experience

Acceptance criteria

  • A traffic limit exception cannot be removed when still active
  • There are no more than one traffic limit exception for the same experiment
  • The traffic field is an integer value between 1 and 100
  • The category field can be only one of the following values: editing, account-creation or other
  • When editing is selected as value for category field, the traffic one will be automatically filled by default with 25%
  • When account-creation is selected as value for category field, the traffic one will be automatically filled by default with 50%

Nice to have

  • The experiment name field is an auto-complete dropdown list where the user can choose any existing experiment from GrowthBook (we could use the GrowthBook API to get that information)
  • The experiment machine-readable name is automatically filled when an experiment name is chosen according to the above (we could use the GrowthBook API to get that information)

Event Timeline

KReid-WMF triaged this task as Medium priority.Jul 16 2026, 3:43 PM
KReid-WMF set the point value for this task to 3.

Change #1320361 had a related patch set uploaded (by Clare Ming; author: Clare Ming):

[operations/deployment-charts@master] Test Kitchen UI: Deploy v1.5.1 release to staging

https://gerrit.wikimedia.org/r/1320361

Change #1320361 merged by jenkins-bot:

[operations/deployment-charts@master] Test Kitchen UI: Deploy v1.5.1 release to staging

https://gerrit.wikimedia.org/r/1320361

Change #1321827 had a related patch set uploaded (by Clare Ming; author: Clare Ming):

[operations/deployment-charts@master] Test Kitchen UI: Deploy v1.5.2 release to production

https://gerrit.wikimedia.org/r/1321827

Change #1321827 merged by jenkins-bot:

[operations/deployment-charts@master] Test Kitchen UI: Deploy v1.5.2 release to production

https://gerrit.wikimedia.org/r/1321827