feat(canvas): show live workflow history and simplify sharing (#3877)

This commit is contained in:
Carlos Florêncio
2026-09-23 10:57:06 +01:00
committed by GitHub
parent a2d4ee8c18
commit 41eeaf0c70
75 changed files with 4910 additions and 590 deletions
@@ -13,6 +13,7 @@ export function CanvasHostFrame({
menuOpen,
setMenuOpen,
desktopActions,
renameAction,
desktopOverflowActions,
desktopOverflowMenuItems,
desktopOverflowPrimaryAction,
@@ -27,6 +28,7 @@ export function CanvasHostFrame({
menuOpen: boolean;
setMenuOpen: (open: boolean) => void;
desktopActions: ReactNode;
renameAction: ReactNode;
desktopOverflowActions: ReactNode;
desktopOverflowMenuItems: ReactNode;
desktopOverflowPrimaryAction: ReactNode;
@@ -45,6 +47,7 @@ export function CanvasHostFrame({
menuOpen={menuOpen}
onOpenActions={() => setMenuOpen(true)}
actions={isMobile ? null : desktopActions}
renameAction={isMobile ? null : renameAction}
overflowActions={isMobile ? null : desktopOverflowActions}
/>
{canvasBody}
@@ -57,6 +60,14 @@ export function CanvasHostFrame({
return (
<PageShell
title={title}
titleSlot={
!isMobile ? (
<span className="flex min-w-0 items-center gap-1">
<span className="truncate text-sm font-medium">{title}</span>
{renameAction}
</span>
) : undefined
}
backHref="/"
backLabel={t("sidebar:home")}
scroll="none"