feat(08-02): add snapshot download button to config history timeline

- Add SnapshotResponse interface and getSnapshot API method
- Add deviceName prop to ConfigHistorySection
- Add download handler that fetches snapshot and triggers .rsc file download
- Add Download icon button on each timeline entry with stopPropagation

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Jason Staack
2026-03-12 23:23:55 -05:00
parent 8a64596d8b
commit be41add4e9
3 changed files with 44 additions and 3 deletions

View File

@@ -649,7 +649,7 @@ function DeviceDetailPage() {
</div>
{/* Configuration History */}
<ConfigHistorySection tenantId={tenantId} deviceId={deviceId} />
<ConfigHistorySection tenantId={tenantId} deviceId={deviceId} deviceName={device.hostname} />
</>
}
alertsContent={