- {entry.changes.fields.join(", ")} -
- )}{settings.lastSyncError}
+ )} +- {applyStatus?.phase ?? "Applying schema…"} - {applyStatus?.stepsTotal != null && applyStatus?.stepsDone != null - ? ` (${applyStatus.stepsDone}/${applyStatus.stepsTotal})` - : ""} - {applyStatus?.currentMigration != null - ? ` · migration ${applyStatus.currentMigration}` - : ""} - {". Runs in the background, safe to leave this page."} -
- )} - {applyStatus?.status === "failed" && applyStatus.errorMessage && ( -{applyStatus.errorMessage}
- )} -+ Every table and view matches what Maple expects. +
+ )} + {needsWork.map((entry) => ( ++ {status.phase ?? "Applying schema"} + {steps} + {status.currentMigration !== null ? ` · migration ${status.currentMigration}` : ""}. Runs + in the background, safe to leave this page. +
+ )} + {status.status === "failed" && status.errorMessage !== null && ( ++ Last apply failed: {status.errorMessage} +
+ )} + {!running && status.skipped.length > 0 && ( ++ The last apply skipped{" "} + {status.skipped.length === 1 ? "one step" : `${status.skipped.length} steps`}. Apply + again once the cause is fixed. +
++ No tables or columns to add; only pending migrations run. +
+ ) + } return ({check.detail}
+ )} +{check.fix_hint}
+ {check.affected.length > 0 && ( +{check.detail}
- )} - {check.affected.length > 0 && ( -- {check.fix_hint} -
- )}+ {summary.pass} of {countLabel(audit.checks.length, "check")} passing +
-Everything checks out
- All {countLabel(summary.pass, "check")} passed. Alerts can deliver, and your telemetry - follows the conventions Maple reads. + Alerts can deliver, and your telemetry follows the conventions Maple reads.
- +