From 31cbca674957eea7ae2529012e20a9d95158e561 Mon Sep 17 00:00:00 2001 From: Christian Cleberg Date: Sun, 12 Apr 2026 21:33:14 -0500 Subject: feat: add ticket saved filters and label filtering Implements: https://todo.sr.ht/~ccleberg/hutch/32 Implements: https://todo.sr.ht/~ccleberg/hutch/33 --- Hutch/Views/Builds/BuildTaskLogView.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Hutch/Views/Builds/BuildTaskLogView.swift') diff --git a/Hutch/Views/Builds/BuildTaskLogView.swift b/Hutch/Views/Builds/BuildTaskLogView.swift index 69353bf..fda69f6 100644 --- a/Hutch/Views/Builds/BuildTaskLogView.swift +++ b/Hutch/Views/Builds/BuildTaskLogView.swift @@ -407,7 +407,7 @@ private struct LogScrollTarget: Equatable { let range: LogTextRange } -func logMatchRanges(in text: String, query: String, limit: Int = 2_000) -> [LogTextRange] { +nonisolated func logMatchRanges(in text: String, query: String, limit: Int = 2_000) -> [LogTextRange] { let trimmedQuery = query.trimmingCharacters(in: .whitespacesAndNewlines) guard !trimmedQuery.isEmpty else { return [] } @@ -433,7 +433,7 @@ func logMatchRanges(in text: String, query: String, limit: Int = 2_000) -> [LogT return matches } -func detectLogAnchors(in text: String, limit: Int = 24) -> [LogAnchor] { +nonisolated func detectLogAnchors(in text: String, limit: Int = 24) -> [LogAnchor] { let nsText = text as NSString let strongMarkers = [ "fatal error", -- cgit v1.2.3