Skip to content

Experiment: A/B test saved queries icon placement in Metric Scene #1097

@nicwestvold

Description

@nicwestvold

What is this?

Follow-up from PR #1064 (saved queries). The save/load query icons are currently placed in the MetricActionBar, top-right above the tab bar. We want to A/B test whether placing them near the panel header (alongside or adjacent to Bookmark, Add to Dashboard, etc.) improves discoverability and interaction rate.

Drilldown App First page Second page
Logs Drilldown Image Image
Metrics Drilldown Image Image

Use Odin (GoFF) to set up the experiment, following the pattern of existing flags in src/shared/featureFlags/openFeature.ts:

  • Control — current placement: save/load buttons above the tab bar in MetricActionBar
  • Treatment — save/load buttons near the GmdVizPanel header in MetricGraphScene (exact placement at implementer's discretion — above or below the panel, wherever looks best)
  • Excluded — default; falls back to control behavior

Track save/load button clicks (saved_query_save_modal_opened, saved_query_load_modal_opened) with the experiment variant in the payload so we can compare interaction rates between cohorts.

Also add a test for the feature toggle placement — asserting buttons appear/disappear in the correct location per variant.

Note: the GoFF flag definition in deployment_tools will need to be filed separately as part of Odin onboarding.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions