experimenter icon indicating copy to clipboard operation
experimenter copied to clipboard

The Inclusion/Exclusion experiment fields display the selected filters after a short delay

Open data-sync-user opened this issue 11 months ago • 1 comments

[Prerequisites]:

  • Have Nimbus experiment created with an Audience filter that requires and excludes experiments.

[Steps to reproduce]:

  1. Open the experiment's Audience page or refresh it, if it's already opened.
  2. Observe the "Exclude users enrolled in these experiments/rollouts" and "Require users to be enrolled in these experiments/rollouts (past or present)" fields.

[Expected result]:

  • The selected required/excluded experiments are displayed in the field.

[Actual result]:

  • The fields are empty and the data is displayed after a ~6s delay

[Notes]:

  • The fields are also empty and new experiments cannot be selected until the delay passes and the dropdown is loaded.
  • Attached a screen recording of the issue:

┆Issue is synchronized with this Jira Bug ┆Attachments: filters_displayed_after_delay.gif

data-sync-user avatar Mar 13 '24 13:03 data-sync-user

We should probably put a spinner or loading indicator for that field before its loaded. I don't know that we can work around this performance wise because its a gql query for all experiments on a given application, and graphene spends a lot of time generating that.

freshstrangemusic avatar Mar 14 '24 17:03 freshstrangemusic

➤ Jared Kerim commented:

All this UI will be replaced soon anyways so it’s not worth investing much more time in if it meets the basic needs, closing this as wontfix.

data-sync-user avatar Apr 15 '24 19:04 data-sync-user