commit 271d3a279f8f570847365c4bd22f4be6c7a35fd4
parent f87bf6b2210cafa3542e1b108dc94ce07fb3a5cc
Author: Michael Camilleri <[email protected]>
Date: Thu, 22 Oct 2026 14:00:11 +0900
Rename menu items opened by new button
Diffstat
| M | Notes/Design.md | | | 4 | ++-- |
| M | Reportage/Views/Home/HomeView.swift | | | 6 | +++--- |
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/Notes/Design.md b/Notes/Design.md
@@ -99,8 +99,8 @@ The look is called Almanac: ink on paper, like a printed journal. sizes are Dynamic Type styles. - **Tabs:** Timeline, Charts and Settings. The timeline keeps its serif 'Reportage' title, beside the quick log and new report buttons. The new - report button opens a menu of report, wake report and bedtime report, so - the wake and bedtime reports are visible. A tapped prompt switches to the timeline to + report button opens a menu of Manual, Wake Up and Bedtime, so the wake and + bedtime reports are visible. A tapped prompt switches to the timeline to open its survey. - **Home screen:** reports grouped under day headings, newest first. Each shows its own local time (the period beneath on a 12-hour clock, so times
diff --git a/Reportage/Views/Home/HomeView.swift b/Reportage/Views/Home/HomeView.swift
@@ -328,9 +328,9 @@ struct NewReportMenu: View {
var body: some View {
Menu {
- Button("Report", systemImage: "square.and.pencil") { onStart(.manual) }
- Button("Wake Report", systemImage: "sunrise") { onStart(.wake) }
- Button("Bedtime Report", systemImage: "moon") { onStart(.bedtime) }
+ Button("Manual", systemImage: "square.and.pencil") { onStart(.manual) }
+ Button("Wake Up", systemImage: "sunrise") { onStart(.wake) }
+ Button("Bedtime", systemImage: "moon") { onStart(.bedtime) }
} label: {
Image(systemName: "plus")
.font(.title3.weight(.semibold))