summaryrefslogtreecommitdiff
path: root/Hutch
diff options
context:
space:
mode:
authorChristian Cleberg <[email protected]>2026-07-16 01:21:33 -0500
committerChristian Cleberg <[email protected]>2026-07-16 01:21:33 -0500
commit21be03e6ca54c1a15607faab905b119eda9a548f (patch)
treefaebe598a4c6f7a5f3db92d465ed693aab594252 /Hutch
parentad108c76d062099af9e698e1f0ba0d8cecfeab1f (diff)
downloadhutch-3.8.0.tar.gz
hutch-3.8.0.tar.bz2
hutch-3.8.0.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')
-rw-r--r--Hutch/Views/Repositories/ArtifactsView.swift18
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 {