feat: kanban view

This commit is contained in:
Philipinho
2026-06-14 00:46:54 +01:00
parent 572452c80b
commit 5ec4f19839
55 changed files with 2820 additions and 373 deletions
@@ -58,8 +58,8 @@ export function useConvertPageToBaseMutation() {
const [, setTreeData] = useAtom(treeDataAtom);
const [socket] = useAtom(socketAtom);
return useMutation<IBase, Error, { pageId: string }>({
mutationFn: ({ pageId }) => convertPageToBase(pageId),
return useMutation<IBase, Error, { pageId: string; template?: "kanban" }>({
mutationFn: ({ pageId, template }) => convertPageToBase(pageId, template),
onSuccess: (base) => {
queryClient.invalidateQueries({ queryKey: ["pages"] });
queryClient.invalidateQueries({