fix: quick add opens create ui

Add createKey to quick-add manifests and client create dialog host.

FAB and command palette open in-place create UIs instead of navigating away.
This commit is contained in:
ginnoir
2026-07-04 11:47:35 -05:00
parent 76f68548b2
commit 68a573c4d6
24 changed files with 1017 additions and 20 deletions
@@ -0,0 +1,29 @@
"use client";
import { Dialog, DialogContent, DialogHeader, DialogTitle } from "@/components/ui/dialog";
import { ContainerForm } from "@/modules/garden/components/container-form";
type Props = {
open: boolean;
onOpenChange: (open: boolean) => void;
};
export function ContainerCreateDialog({ open, onOpenChange }: Props) {
return (
<Dialog open={open} onOpenChange={onOpenChange}>
<DialogContent className="sm:max-w-md max-h-[90dvh] overflow-y-auto">
{open ? (
<>
<DialogHeader>
<DialogTitle>Add container</DialogTitle>
</DialogHeader>
<ContainerForm
onSuccess={() => onOpenChange(false)}
onCancel={() => onOpenChange(false)}
/>
</>
) : null}
</DialogContent>
</Dialog>
);
}