mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-10 05:12:14 +00:00
refactor(admin): split the backups section
The section becomes a composer over backups/: the restore dialog with its preview, the refusal, skip and schedule notices, the restore jobs and their request, the upload flow, the run and download actions, and the two row layouts sharing one action pair. The upload total is a pure function and tested as one. The read-failure guard's 250-character window had stopped reaching the restore preview's own failure lines; the preview now sits in a smaller component, the guard sees it, and it is listed as a deliberate exception with its reason.
This commit is contained in:
1 parent
c9917d2de0
commit
5eafed8dd5
19 files changed
+1533
-1348
No files matched your search
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"$comment": "Production functions over 200 lines, keyed \"file :: name\", and their length. Maintained by src/__tests__/source-size-ratchet.test.ts.",
|
||||
"count": 401,
|
||||
"total": 137456,
|
||||
"count": 399,
|
||||
"total": 136612,
|
||||
"entries": {
|
||||
"app/achievements/page.tsx :: AchievementsPage": 206,
|
||||
"app/api/admin/backups/upload/route.ts :: apiHandler(arg)": 314,
|
||||
@@ -80,8 +80,6 @@
|
||||
"components/admin/admin-shell.tsx :: AdminShell": 254,
|
||||
"components/admin/api-token-overview-section.tsx :: ApiTokenOverviewSection": 212,
|
||||
"components/admin/app-log-preview-section.tsx :: AppLogPreviewSection": 341,
|
||||
"components/admin/backups-section.tsx :: BackupsSection": 618,
|
||||
"components/admin/backups-section.tsx :: RestoreRowDialog": 226,
|
||||
"components/admin/central-codex-section.tsx :: CentralCodexSection": 241,
|
||||
"components/admin/encryption-section.tsx :: EncryptionSection": 303,
|
||||
"components/admin/general-settings-section.tsx :: GeneralSettingsSection": 220,
|
||||
|
||||
Reference in new issue
Block a user