Initial commit: Tauri + CanvasKit + React editor scaffold
- Tauri v2 desktop shell with 1280x800 window
- CanvasKit WASM (Skia) rendering via WebGL2
- Scene graph with typed nodes (Frame, Rectangle, Ellipse, Line, etc.)
- Skia renderer with fills, strokes, rounded corners, opacity, rotation
- Selection system with resize handles
- Undo/redo manager (inverse command pattern with batching)
- Bottom toolbar (Select, Frame, Rect, Ellipse, Line) matching Figma UI3
- Left layers panel, right properties panel
- Pan (scroll), zoom (Ctrl+scroll toward cursor)
- Keyboard shortcuts: V/F/R/O/L for tools, Cmd+Z undo, Backspace delete
- 5 demo shapes rendered on canvas
2026-02-27 12:48:29 +00:00
|
|
|
{
|
|
|
|
|
"$schema": "../gen/schemas/desktop-schema.json",
|
|
|
|
|
"identifier": "default",
|
|
|
|
|
"description": "Capability for the main window",
|
|
|
|
|
"windows": ["main"],
|
|
|
|
|
"permissions": [
|
|
|
|
|
"core:default",
|
2026-02-28 10:54:21 +00:00
|
|
|
"opener:default",
|
|
|
|
|
"dialog:default",
|
|
|
|
|
"dialog:allow-save",
|
|
|
|
|
"dialog:allow-open",
|
2026-02-28 11:48:22 +00:00
|
|
|
{
|
|
|
|
|
"identifier": "fs:allow-read-file",
|
|
|
|
|
"allow": [{ "path": "**" }]
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"identifier": "fs:allow-write-file",
|
|
|
|
|
"allow": [{ "path": "**" }]
|
2026-03-03 07:12:02 +00:00
|
|
|
},
|
|
|
|
|
"fs:allow-watch",
|
|
|
|
|
"fs:allow-unwatch"
|
Initial commit: Tauri + CanvasKit + React editor scaffold
- Tauri v2 desktop shell with 1280x800 window
- CanvasKit WASM (Skia) rendering via WebGL2
- Scene graph with typed nodes (Frame, Rectangle, Ellipse, Line, etc.)
- Skia renderer with fills, strokes, rounded corners, opacity, rotation
- Selection system with resize handles
- Undo/redo manager (inverse command pattern with batching)
- Bottom toolbar (Select, Frame, Rect, Ellipse, Line) matching Figma UI3
- Left layers panel, right properties panel
- Pan (scroll), zoom (Ctrl+scroll toward cursor)
- Keyboard shortcuts: V/F/R/O/L for tools, Cmd+Z undo, Backspace delete
- 5 demo shapes rendered on canvas
2026-02-27 12:48:29 +00:00
|
|
|
]
|
|
|
|
|
}
|