feat(FN-1717): add scope selection controls to dashboard UI
- Add scope selector controls to ScheduleForm and RoutineEditor components - Add scope badges to RoutineCard and ScheduleCard for visual scope indication - Add scope controls to ScheduledTasksModal with projectId propagation - Add scheduling scope options to automation/routine API wrappers - Add comprehensive regression tests for scope propagation and modal wiring - Update README with dashboard UI scope selection documentation
This commit is contained in:
@@ -160,6 +160,8 @@ Fusion supports scheduled task automation via the `/api/automations` endpoints.
|
||||
|
||||
**Scope:** Automations support scope-aware routing with `?scope=global` or `?scope=project` query parameter (or `scope` field in request body). When scope is omitted, the legacy default behavior applies (backward compatible).
|
||||
|
||||
**Dashboard UI:** The Scheduled Tasks modal in the dashboard provides a Global/Project scope toggle in the header. When a project is active, the scope defaults to "Project"; otherwise it defaults to "Global". Schedules display a scope badge indicating their scope (global vs project). Project-scoped entries require an active project context.
|
||||
|
||||
| Endpoint | Method | Description |
|
||||
|---------|--------|-------------|
|
||||
| `/api/automations` | GET | List all automations (filtered by scope if specified) |
|
||||
@@ -177,6 +179,8 @@ Routines are AI agent tasks triggered by cron schedules, webhooks, or manual exe
|
||||
|
||||
**Scope:** Routines support scope-aware routing with `?scope=global` or `?scope=project` query parameter (or `scope` field in request body). When scope is omitted, the legacy default behavior applies (backward compatible).
|
||||
|
||||
**Dashboard UI:** The Scheduled Tasks modal in the dashboard provides a Global/Project scope toggle in the header. When a project is active, the scope defaults to "Project"; otherwise it defaults to "Global". Routines display a scope badge indicating their scope (global vs project). Project-scoped entries require an active project context.
|
||||
|
||||
| Endpoint | Method | Description |
|
||||
|---------|--------|-------------|
|
||||
| `/api/routines` | GET | List all routines (filtered by scope if specified) |
|
||||
|
||||
Reference in New Issue
Block a user