summaryrefslogtreecommitdiff
path: root/Hutch/Views/Inbox
Commit message (Collapse)AuthorAgeFilesLines
* refactor: share the email body diff splitterChristian Cleberg2026-07-152-89/+90
| | | | | | | | | | | | | segmentMessageBody and its helpers were private to ThreadViewModel, reachable from tests only through a segmentMessageBodyForTesting shim. Patchset review needs the same splitting, because sr.ht's Patch type carries no diff — the diff only exists inside the email body — so this has to be shared rather than duplicated. Moved to InboxThreadUtilities. The shim is gone; the existing test calls the real function directly now. Also adds the Patchset model layer that the coming views build on.
* fix: collapse work inbox messages into thread summariesv3.2.0Christian Cleberg2026-04-202-417/+11
|
* feat(theme): AMOLED true-black rows via themedRow()Christian Cleberg2026-04-131-0/+6
| | | | | | | | | | Apply listRowBackground(Color.black) per row in AMOLED mode using ThemedRowStyle and themedRow() across Lists and Forms. Use themedList() for scroll/grouped backgrounds. Treat segmented and clear list rows with isAMOLED-aware listRowBackground where Color.clear was required. Removes reliance on UIKit appearance for list cells on iOS 16+. Implements: https://todo.sr.ht/~ccleberg/hutch/24
* fix: mercurial parity and graphql handlingv3.0.4Christian Cleberg2026-04-131-4/+1
| | | | | | | | | | - implements consistent UX between repo types - ensures centralized services and routes are used between repo types - graphql error handling is centralized - error messages are consistent Implements: https://todo.sr.ht/~ccleberg/hutch/58 Implements: https://todo.sr.ht/~ccleberg/hutch/59
* release: v3.0.0 — navigation overhaul, Work view, and multi-pin supportv3.0.0Christian Cleberg2026-04-131-189/+3
| | | | | | | | | | | | | | | | | | | | Reworks the app's core navigation and home screen for v3.0.0: - Replace Inbox with Work view: unified dashboard showing unread threads and assigned tickets, with All/Unread/Assigned scope picker - Overhaul Home screen: redesigned with pinned items grid (trackers, repos, mailing lists, users), recent activity section, and system status banner; backed by HomePinStore supporting all resource types - Simplify navigation bars across list screens: default toolbar shows only the primary action (+) and an overflow menu (…); pin, share, and select moved into the overflow menu; selection mode gets its own nav bar with Cancel / "N Selected" / All - Consolidate repo detail toolbars: pin and share moved into the existing actions menu for both Git and Mercurial detail views - Add recent activity tracking via RecentActivityStore - Add work and inbox deep link aliases (hutch://work, hutch://inbox) Implements: https://todo.sr.ht/~ccleberg/hutch/55
* feat: add multi-account supportChristian Cleberg2026-04-122-10/+18
| | | | | | Implements: https://todo.sr.ht/~ccleberg/hutch/49 Implements: https://todo.sr.ht/~ccleberg/hutch/50 Implements: https://todo.sr.ht/~ccleberg/hutch/51
* feat: add theme and high-density display modesChristian Cleberg2026-04-121-0/+1
| | | | | Refs: https://todo.sr.ht/~ccleberg/hutch/24 Implements: https://todo.sr.ht/~ccleberg/hutch/25
* feat: improve inbox reply flow and basic threadingChristian Cleberg2026-04-121-29/+64
| | | | | Implements: https://todo.sr.ht/~ccleberg/hutch/23 Implements: https://todo.sr.ht/~ccleberg/hutch/34
* fix: improve inbox patch rendering and diff collapsingChristian Cleberg2026-04-121-5/+2
| | | | | Fixes: https://todo.sr.ht/~ccleberg/hutch/22 Implements: https://todo.sr.ht/~ccleberg/hutch/35
* improve home attention flows and cross-linkingv2.14.0Christian Cleberg2026-04-123-2/+85
|
* Fix several bugs ahead of 2.6.1v2.6.1Christian Cleberg2026-04-011-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | 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.
* fix: fixed inbox's inconsistent UX and adds a Mark All Read buttonChristian Cleberg2026-04-012-5/+47
| | | | Fixes: https://todo.sr.ht/~ccleberg/Hutch/10
* v2.4.0: widgetsv2.4.0Christian Cleberg2026-03-241-0/+3
|
* fix: route executeGraphQLRequest through SRHTClient instead of URLSession.sharedChristian Cleberg2026-03-241-29/+5
|
* chore: rename unused protocol params to _ across UIKit representablesChristian Cleberg2026-03-241-2/+2
|
* fix: add nested comments to satisfy sonar rule swift:S1186Christian Cleberg2026-03-241-1/+4
|
* feat: add search to builds, trackers, tickets, pastes, mailing lists, and inboxChristian Cleberg2026-03-222-1/+19
|
* v2.1: bundled polish and fixesChristian Cleberg2026-03-194-82/+11
|
* fix: inbox thread handling bugChristian Cleberg2026-03-193-4/+94
|
* feat: implement support for projects, lists, and pastesChristian Cleberg2026-03-193-20/+65
|
* feat: add inbox threads and move builds under moreChristian Cleberg2026-03-194-54/+171
|
* feat: add support for reading inbox messages (emails) and replying in-appChristian Cleberg2026-03-194-0/+1468