Enhance canvas functionality by adding media preview capabilities and image upload handling. Introduce compressed image previews during uploads, improve media library integration, and implement retry logic for bridge edge creation. Update dashboard to display media previews and optimize image node handling.
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
import { DEFAULT_CROP_NODE_DATA } from "@/lib/image-pipeline/crop-node-data";
|
||||
|
||||
export const CANVAS_NODE_TEMPLATES = [
|
||||
{
|
||||
type: "image",
|
||||
@@ -74,6 +76,13 @@ export const CANVAS_NODE_TEMPLATES = [
|
||||
height: 180,
|
||||
defaultData: {},
|
||||
},
|
||||
{
|
||||
type: "crop",
|
||||
label: "Crop / Resize",
|
||||
width: 340,
|
||||
height: 620,
|
||||
defaultData: DEFAULT_CROP_NODE_DATA,
|
||||
},
|
||||
{
|
||||
type: "curves",
|
||||
label: "Kurven",
|
||||
|
||||
Reference in New Issue
Block a user