Evalkeeper
    Preparing search index...

    Function ModelMenu

    • A model row's menu: test it (with what that costs now), make it live, or make it the fallback, where the row allows either. Keeps the model table narrow. Closes on a click outside or Escape.

      Parameters

      • __namedParameters: {
            effort?: string | null;
            label: string;
            makeFallback: FormAction | null;
            makeLive: FormAction | null;
            model: string;
            suite: string;
            test?: { action: FormAction; note: string | null; text: string };
        }
        • Optionaleffort?: string | null

          The row's reasoning setting, for a row at a setting other than the feature's (null: the model's own default); unset for the others.

        • label: string

          The model's name, for the button's accessible name.

        • makeFallback: FormAction | null

          Your makeFallback action, when it can be the fallback.

        • makeLive: FormAction | null

          Your makeLive action, when the model can be made live.

        • model: string
        • suite: string
        • Optionaltest?: { action: FormAction; note: string | null; text: string }

          Your testModel action, its words ("Test", "Test again"), and what testing costs now ("free, all 34 reused"), when known.

      Returns Element | null