summaryrefslogtreecommitdiff
path: root/Hutch/Views/Inbox/InboxThreadUtilities.swift
Commit message (Collapse)AuthorAgeFilesLines
* refactor: share the email body diff splitterChristian Cleberg2026-07-151-0/+88
| | | | | | | | | | | | | 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-201-0/+11