diff options
| author | Christian Cleberg <[email protected]> | 2026-04-12 21:33:14 -0500 |
|---|---|---|
| committer | Christian Cleberg <[email protected]> | 2026-04-12 21:33:14 -0500 |
| commit | 31cbca674957eea7ae2529012e20a9d95158e561 (patch) | |
| tree | ea57e5b7faf17b3a3a0967e074960f41d3556393 /Hutch/Views/Builds | |
| parent | 7548bfb595d853c682653c0dc21bb3bf17af80d5 (diff) | |
| download | hutch-31cbca674957eea7ae2529012e20a9d95158e561.tar.gz hutch-31cbca674957eea7ae2529012e20a9d95158e561.tar.bz2 hutch-31cbca674957eea7ae2529012e20a9d95158e561.zip | |
feat: add ticket saved filters and label filtering
Implements: https://todo.sr.ht/~ccleberg/hutch/32
Implements: https://todo.sr.ht/~ccleberg/hutch/33
Diffstat (limited to 'Hutch/Views/Builds')
| -rw-r--r-- | Hutch/Views/Builds/BuildTaskLogView.swift | 4 |
1 files changed, 2 insertions, 2 deletions
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", |
