feat(FN-2664): add dashboard updates check endpoint and settings flow
- Add GET /api/updates/check endpoint in dashboard server with coverage for success, failure, and disabled update scenarios - Extend legacy dashboard API client with check-for-updates request support - Add Settings modal update-check UI and styling for trigger, loading, and result states - Expand Settings modal tests and document the updates check endpoint in architecture docs
This commit is contained in:
@@ -513,6 +513,7 @@ A `prefetchLazyViews()` function runs once on mount via `requestIdleCallback` to
|
||||
| GET | `/api/settings/auth-export` | Export local auth credentials. |
|
||||
| GET | `/api/update-check` | Read cached/TTL-guarded npm update status for `@runfusion/fusion` (respects `updateCheckEnabled`). |
|
||||
| POST | `/api/update-check/refresh` | Clear cached update data and force a fresh npm update check. |
|
||||
| GET | `/api/updates/check` | Perform an on-demand npm registry check for the latest `@runfusion/fusion` version (no cache). |
|
||||
|
||||
### Run Audit API
|
||||
The run-audit system records every mutation performed by the engine across three domains:
|
||||
|
||||
Reference in New Issue
Block a user