diff options
| author | Christian Cleberg <[email protected]> | 2026-07-16 01:21:33 -0500 |
|---|---|---|
| committer | Christian Cleberg <[email protected]> | 2026-07-16 01:21:33 -0500 |
| commit | 21be03e6ca54c1a15607faab905b119eda9a548f (patch) | |
| tree | faebe598a4c6f7a5f3db92d465ed693aab594252 /Hutch/Views | |
| parent | ad108c76d062099af9e698e1f0ba0d8cecfeab1f (diff) | |
| download | hutch-21be03e6ca54c1a15607faab905b119eda9a548f.tar.gz hutch-21be03e6ca54c1a15607faab905b119eda9a548f.tar.bz2 hutch-21be03e6ca54c1a15607faab905b119eda9a548f.zip | |
chore: remove the artifacts debug probev3.8.0
It did its job: tags=1 confirmed the menu was disabled by its own tags check
while the explanation sat unreachable inside it.
Diffstat (limited to 'Hutch/Views')
| -rw-r--r-- | Hutch/Views/Repositories/ArtifactsView.swift | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/Hutch/Views/Repositories/ArtifactsView.swift b/Hutch/Views/Repositories/ArtifactsView.swift index 1d9fc6c..69da0d6 100644 --- a/Hutch/Views/Repositories/ArtifactsView.swift +++ b/Hutch/Views/Repositories/ArtifactsView.swift @@ -1,11 +1,5 @@ import SwiftUI import UniformTypeIdentifiers -import os - -#if DEBUG -/// Temporary: diagnosing why the upload menu swallows taps. -private let artifactsLogger = Logger(subsystem: "net.cleberg.Hutch", category: "Artifacts") -#endif struct ArtifactsView: View { let viewModel: RepositoryDetailViewModel @@ -146,18 +140,6 @@ struct ArtifactsView: View { if isOwnedByCurrentUser, viewModel.tags.isEmpty { await viewModel.loadReferences() } - #if DEBUG - // Temporary: diagnosing why the upload menu swallows taps. - artifactsLogger.debug( - """ - canManage=\(canManage, privacy: .public) \ - tags=\(viewModel.tags.count, privacy: .public) \ - isMutating=\(viewModel.isMutatingArtifact, privacy: .public) \ - menuDisabled=\(viewModel.isMutatingArtifact || viewModel.tags.isEmpty, privacy: .public) \ - error=\(viewModel.error ?? "nil", privacy: .public) - """ - ) - #endif } .overlay { if viewModel.isLoadingArtifacts, viewModel.referenceArtifacts.isEmpty { |
