feat: add smart auto-albums with visual workflow editor

- Visual node-based workflow editor using React Flow
- Asset triggers: new asset, asset updated, all assets (with lookback buffer)
- Logic nodes: if/switch with combinable conditions (person, location, date, camera, EXIF, favorites, album membership)
- Action nodes: create album, add/remove from album, favorite, unfavorite, archive, tag
- Workflow-level triggers: manual run, cron schedule, webhook
- Debug mode: dry run with step-by-step logs and asset previews
- Run history with per-node asset tracking
- Run detail page with annotated read-only graph
- Processed asset tracking to prevent duplicate processing
- Multi-person picker with face thumbnails
- Album picker dropdown for actions
- JSON import/export for workflow sharing
- Workflow list page with create, delete, enable/disable
This commit is contained in:
Varun committed 2026-04-07 19:20:43 +05:30
1 parent e814793190
commit c7a7ea3023
41 files changed
+4756 -2

No files matched your search

+3
View File
@@ -48,6 +48,7 @@
"@types/react-autosuggest": "^10.1.11",
"@types/react-calendar-heatmap": "^1.6.7",
"@types/react-window": "^1.8.8",
"@xyflow/react": "^12.10.2",
"ai": "^6.0.86",
"axios": "^1.7.4",
"chrono-node": "^1.4.9",
@@ -66,6 +67,7 @@
"lucide-react": "^0.428.0",
"next": "14.2.5",
"next-themes": "^0.3.0",
"node-cron": "^4.2.1",
"pg": "^8.12.0",
"qs": "^6.13.0",
"react": "^18",
@@ -91,6 +93,7 @@
"@types/leaflet": "^1.9.15",
"@types/leaflet.heat": "^0.2.4",
"@types/node": "^20",
"@types/node-cron": "^3.0.11",
"@types/pg": "^8.11.6",
"@types/react": "^18",
"@types/react-dom": "^18",