aboutsummaryrefslogtreecommitdiff
path: root/Hutch/Views/Inbox/ThreadViewModel.swift
Commit message (Collapse)AuthorAgeFilesLines
* refactor: share the email body diff splitterChristian Cleberg2026-07-151-89/+2
| | | | | | | | | | | | | 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: 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
* fix: route executeGraphQLRequest through SRHTClient instead of URLSession.sharedChristian Cleberg2026-03-241-29/+5
|
* v2.1: bundled polish and fixesChristian Cleberg2026-03-191-41/+6
|
* feat: add inbox threads and move builds under moreChristian Cleberg2026-03-191-29/+87
|
* feat: add support for reading inbox messages (emails) and replying in-appChristian Cleberg2026-03-191-0/+702