You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A4A: Add backups to the agency site detail view (#112205)
* A4A: Add backups to the agency site detail view
Adds the full Backups experience (list, detail with file browser, Download,
and Restore) to the A4A agency site detail, reusing the multi-site
dashboard's backup components.
Shared, route-agnostic pieces used by both dotcom and A4A:
- BackupsBrowser (list + detail grid + selection + activity log)
- BackupRestoreFlow / BackupDownloadFlow (step machines)
- BackupDetails (navigation injected via callbacks)
- BackupCardContent (parameterized by siteId + backupUrl)
The dotcom pages become thin shells over those shared components; A4A adds
its own thin shells + routes (/sites/$siteSlug/backups[/$rewindId[/restore|/download]]),
gated on the agency site's has_backup flag.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
* A4A: Add backup-now action and route prefetching to agency backups
* Add the "Back up now" button (with useBackupState and the
BackupNotices progress banner) to the agency backups list page.
* Forward searchParams to BackupsBrowser so the DataView hydrates
page/search state from the URL, matching dotcom.
* Add a loader on the backups route to prefetch site settings and
backups in parallel, removing the site → settings suspense waterfall.
* Fix stale $siteId route comments to $siteSlug.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
* A4A: Consume shared backup page shells
Replace the duplicated agency backup shells with the shared components
extracted in the base branch, addressing the review feedback:
* backups-list-page renders <BackupsPage> with agency-route navigation
built via useBackupsNavigation
* backups uses <BackupFileBrowserProvider>
* backup-download renders <BackupDownloadPage>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
0 commit comments