Brings the semantically-correct unification work from the closed agent/release-v2-experience PR into release/v2: - universal create surface (header, board, spotlight) with permission-aware actions - board empty state and setup checklist with widget/connection recipes - in-widget integration editing via inspector modal, preserving unsaved widget settings - single-source widget-integration capability map (nativeFeatureCapabilities) - multi-endpoint Docker singleton with per-endpoint failure isolation, DOCKER_ENDPOINTS descriptors and service reconciliation - Kubernetes multi-context registry with availability probing and context selector - response-contract test harness and setup analytics property boundaries Excludes the feature-platform generator/workbench tooling (deferred).
19 lines
429 B
TypeScript
19 lines
429 B
TypeScript
export type ModalPresentation = "default" | "inspector";
|
|
|
|
interface InspectorClassNames {
|
|
inner: string;
|
|
content: string;
|
|
}
|
|
|
|
export const getModalPresentationClassNames = (
|
|
presentation: ModalPresentation | undefined,
|
|
inspectorClassNames: InspectorClassNames,
|
|
) => {
|
|
if (presentation !== "inspector") return undefined;
|
|
|
|
return {
|
|
inner: inspectorClassNames.inner,
|
|
content: inspectorClassNames.content,
|
|
};
|
|
};
|