Aug 17 - Update photo dignostic

This commit is contained in:
Nguyen Ngo
2026-08-17 16:10:29 -04:00
parent 0ded0cf11e
commit 436ef5dafb
2 changed files with 502 additions and 0 deletions
@@ -89,6 +89,25 @@ struct SettingsView: View {
}
}
// Read-only investigation aid for the lost-photo defect. Placed
// above Cache deliberately: "Clear Reference Cache" sits next to it
// and the diagnostic must be run BEFORE anything that touches
// stored data, while the evidence is still intact.
Section("Diagnostics") {
NavigationLink {
PhotoDiagnosticView()
} label: {
// Not a photo.badge.* symbol those are not universally
// available on iOS 17 (CLAUDE.md rule 41).
Label("Photo Diagnostic", systemImage: "doc.text.magnifyingglass")
}
Text("Reports inspection and issue photos that never reached the "
+ "server, and whether the original file is still on this "
+ "device. Read-only — changes nothing.")
.font(.caption)
.foregroundStyle(.secondary)
}
Section("Cache") {
Button {
showClearCacheAlert = true