summaryrefslogtreecommitdiff
path: root/Hutch/App
diff options
context:
space:
mode:
authorChristian Cleberg <[email protected]>2026-04-13 18:02:58 -0500
committerChristian Cleberg <[email protected]>2026-04-13 18:02:58 -0500
commit02a44d115b3784231cad640e992d9c18a7f67b40 (patch)
tree2a0c4498288889bb4dbf3de9c43a7aa1434f1459 /Hutch/App
parentb423f8a1cf3141d0b15ee899c1c5fe535ff982e9 (diff)
downloadhutch-02a44d115b3784231cad640e992d9c18a7f67b40.tar.gz
hutch-02a44d115b3784231cad640e992d9c18a7f67b40.tar.bz2
hutch-02a44d115b3784231cad640e992d9c18a7f67b40.zip
feat: redesign paste detail view as full-screen file viewer
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
Diffstat (limited to 'Hutch/App')
-rw-r--r--Hutch/App/AppStorageKeys.swift1
1 files changed, 1 insertions, 0 deletions
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"