From 02a44d115b3784231cad640e992d9c18a7f67b40 Mon Sep 17 00:00:00 2001 From: Christian Cleberg Date: Mon, 13 Apr 2026 18:02:58 -0500 Subject: feat: redesign paste detail view as full-screen file viewer MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Replaces the list-based layout with a full-screen viewer that matches the repository file tree pattern. File contents are now the primary focus using CodeFileTextView (line numbers, wrap toggle). A compact sticky header shows the filename, visibility badge, owner, date, and abbreviated hash. Paste metadata moves to a Details sheet accessible via the bottom toolbar. Duplicate share buttons are consolidated: link sharing lives in the ยทยทยท menu and content sharing is in the toolbar. Fixes: https://todo.sr.ht/~ccleberg/hutch/13 --- Hutch/App/AppStorageKeys.swift | 1 + 1 file changed, 1 insertion(+) (limited to 'Hutch/App') diff --git a/Hutch/App/AppStorageKeys.swift b/Hutch/App/AppStorageKeys.swift index 94e1310..d348f41 100644 --- a/Hutch/App/AppStorageKeys.swift +++ b/Hutch/App/AppStorageKeys.swift @@ -4,6 +4,7 @@ enum AppStorageKeys { static let contributionGraphsEnabled = "contributionGraphsEnabled" static let activeAccountID = "activeAccountID" static let wrapRepositoryFileLines = "wrapRepositoryFileLines" + static let wrapPasteFileLines = "wrapPasteFileLines" static let lookupHistory = "lookupHistory" static let recentActivity = "recentActivity" static let scopedSearchHistory = "scopedSearchHistory" -- cgit v1.2.3