diff options
| author | Christian Cleberg <[email protected]> | 2026-04-21 21:53:16 -0500 |
|---|---|---|
| committer | Christian Cleberg <[email protected]> | 2026-04-21 21:53:16 -0500 |
| commit | 1f58092dcb67cded75a850db364f3b46d86181f3 (patch) | |
| tree | 662731251ed1022b4a1585ec74379f233ca6705a /DomainDig/BatchResultsView.swift | |
| parent | 2e90ee4ceca73d5126118920b486149cb227c4e9 (diff) | |
| download | domain-dig-1f58092dcb67cded75a850db364f3b46d86181f3.tar.gz domain-dig-1f58092dcb67cded75a850db364f3b46d86181f3.tar.bz2 domain-dig-1f58092dcb67cded75a850db364f3b46d86181f3.zip | |
feat(v2.2.0): add foreground monitoring, notifications, and smarter diffs
- implement “Check All” sweep for tracked domains
- add local notifications for changes and certificate expiration
- introduce change severity filtering (low/medium/high)
- enhance change summaries and diff readability
- add certificate expiration tracking and alerts
- improve watchlist indicators for changes
- add sweep summary screen
- optimize performance for larger watchlists
Diffstat (limited to 'DomainDig/BatchResultsView.swift')
| -rw-r--r-- | DomainDig/BatchResultsView.swift | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/DomainDig/BatchResultsView.swift b/DomainDig/BatchResultsView.swift index e741830..03bc7c4 100644 --- a/DomainDig/BatchResultsView.swift +++ b/DomainDig/BatchResultsView.swift @@ -75,6 +75,12 @@ struct BatchResultRowView: View { .font(.system(.caption2, design: .monospaced)) .foregroundStyle(.secondary) + if let summaryMessage = result.summaryMessage { + Text(summaryMessage) + .font(.system(.caption2, design: .monospaced)) + .foregroundStyle(.secondary) + } + if let errorMessage = result.errorMessage { Text(errorMessage) .font(.system(.caption2, design: .monospaced)) @@ -103,7 +109,10 @@ struct BatchResultRowView: View { case .running: return .cyan case .completed: - if result.quickStatus == "Changed" { + if result.changeSeverity == .high || result.certificateWarningLevel == .critical { + return .red + } + if result.changeSeverity == .medium || result.certificateWarningLevel == .warning { return .yellow } return .green |
