feat: port release-v2 experience improvements from PR #6582

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).
This commit is contained in:
Thomas Camlong committed 2026-08-16 17:30:13 +02:00
1 parent e22be4dca6
commit 8ecdd13cd5
160 files changed
+7058 -1058

No files matched your search

@@ -1,3 +1,4 @@
import { useRouter } from "next/navigation";
import { Button, Group, InputWrapper, Slider, Stack, Switch, TextInput } from "@mantine/core";
import { useDebouncedValue } from "@mantine/hooks";
import { IconAlertTriangle, IconCircleCheck } from "@tabler/icons-react";
@@ -12,6 +13,7 @@ import { boardColumnCountSchema, boardCreateSchema, boardNameSchema } from "@hom
export const AddBoardModal = createModal(({ actions }) => {
const t = useI18n();
const router = useRouter();
const form = useZodForm(boardCreateSchema, {
mode: "controlled",
initialValues: {
@@ -34,17 +36,20 @@ export const AddBoardModal = createModal(({ actions }) => {
// Prevent submit before name availability check
if (!boardNameStatus.canSubmit) return;
mutate(values, {
onSuccess: () => {
onSuccess: (result) => {
actions.closeModal();
showSuccessNotification({
title: "Board created",
message: `Board ${values.name} has been created`,
title: t("board.action.create.notification.success.title"),
message: t("board.action.create.notification.success.message", { name: values.name }),
});
const name = encodeURIComponent(result.name);
const layoutId = encodeURIComponent(result.layoutId);
router.push(`/boards/${name}?layout=${layoutId}&edit=true&add=true`);
},
onError() {
showErrorNotification({
title: "Failed to create board",
message: `Board ${values.name} could not be created`,
title: t("board.action.create.notification.error.title"),
message: t("board.action.create.notification.error.message", { name: values.name }),
});
},
});
@@ -110,7 +115,7 @@ export const useBoardNameStatus = (name: string) => {
? undefined
: isLoading
? {
label: "Checking availability...",
label: t("board.action.create.availability.checking"),
}
: boardExists === undefined
? undefined
@@ -122,7 +127,7 @@ export const useBoardNameStatus = (name: string) => {
}
: {
icon: IconCircleCheck,
label: `${debouncedName} is available`,
label: t("board.action.create.availability.available", { name: debouncedName }),
color: "green",
},
};