From 441b69afae30ee6b662be38004fd7b5de1e47302 Mon Sep 17 00:00:00 2001 From: Christian Cleberg Date: Thu, 19 Mar 2026 01:17:49 -0500 Subject: feat: add support for reading inbox messages (emails) and replying in-app --- Hutch/Views/Home/HomeView.swift | 25 +++++++++++++++++++++++-- 1 file changed, 23 insertions(+), 2 deletions(-) (limited to 'Hutch/Views/Home/HomeView.swift') diff --git a/Hutch/Views/Home/HomeView.swift b/Hutch/Views/Home/HomeView.swift index a72853f..1e98039 100644 --- a/Hutch/Views/Home/HomeView.swift +++ b/Hutch/Views/Home/HomeView.swift @@ -115,8 +115,8 @@ struct HomeView: View { } } } header: { - HomeSectionHeader("Recent Builds") { - BuildListView() + HomeSectionActionHeader("Recent Builds") { + appState.selectedTab = .builds } } } @@ -243,6 +243,27 @@ private struct HomeSectionHeader: View { } } +private struct HomeSectionActionHeader: View { + let title: String + let action: () -> Void + + init(_ title: String, action: @escaping () -> Void) { + self.title = title + self.action = action + } + + var body: some View { + HStack { + Text(title) + Spacer() + Button("See All", action: action) + .font(.caption.weight(.medium)) + .buttonStyle(.plain) + } + .textCase(nil) + } +} + private struct HomeAssignedTicketsListView: View { let viewModel: HomeViewModel -- cgit v1.2.3