aboutsummaryrefslogtreecommitdiff
path: root/Hutch/Views/Repositories/DiffView.swift
Commit message (Collapse)AuthorAgeFilesLines
* fix: improve inbox patch rendering and diff collapsingChristian Cleberg2026-04-121-5/+109
| | | | | Fixes: https://todo.sr.ht/~ccleberg/hutch/22 Implements: https://todo.sr.ht/~ccleberg/hutch/35
* Fix several bugs ahead of 2.6.1v2.6.1Christian Cleberg2026-04-011-4/+6
| | | | | | | | | | | | | | | | | | | | | | | | | FileTreeView: when wrap is OFF, activate an explicit width constraint on the code container derived from the widest line, giving the horizontal scroll view a defined content size. Previously the constraint was deactivated with nothing to replace it, making horizontal scrolling unreliable. Also set horizontalScrollView.isScrollEnabled = !wrapLines to prevent gesture conflicts when wrap is ON. InboxView: remove the unnecessary loadThreads() network call fired after markAllThreadsRead(). The threads array is already updated optimistically and read state is persisted via InboxReadStateStore, so the refetch was redundant and caused a brief loading flash. HomeView: add scenePhase onChange handler to refresh dashboard data when the app returns to the foreground, matching the existing pattern in InboxView. DiffView: wrap DiffBlockView content in a horizontal ScrollView so long diff lines are readable. Switch inner VStack to LazyVStack for better performance on large diffs. SettingsView: replace direct UserDefaults access in behaviorSection with @AppStorage, consistent with the rest of the app.
* feat: add inbox threads and move builds under moreChristian Cleberg2026-03-191-6/+141
|
* feat: add support for reading inbox messages (emails) and replying in-appChristian Cleberg2026-03-191-7/+15
|
* v1.0Christian Cleberg2026-03-171-0/+79