feat: enhance canvas components with improved sidebar and toolbar functionality
- Updated CanvasSidebar to accept canvasId as a prop, enabling dynamic content based on the current canvas. - Refactored CanvasToolbar to implement a dropdown menu for adding nodes, improving usability and organization. - Introduced new node types and updated existing ones in the node template picker for better categorization and searchability. - Enhanced AssetNode to utilize context for asset browser interactions, streamlining asset management on the canvas. - Improved overall layout and styling for better user experience across canvas components.
This commit is contained in:
@@ -50,8 +50,8 @@ export default async function CanvasPage({
|
||||
|
||||
return (
|
||||
<div className="flex h-screen w-screen overflow-hidden">
|
||||
<CanvasSidebar />
|
||||
<div className="relative flex-1">
|
||||
<CanvasSidebar canvasId={typedCanvasId} />
|
||||
<div className="relative min-h-0 min-w-0 flex-1">
|
||||
<ConnectionBanner />
|
||||
<Canvas canvasId={typedCanvasId} />
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user