Commit 5387fc5604
5387fc5604993ddbfd1920a0346966737181beb4
parent: d9799e179d
Verified · cmc
cmc <hello@cleberg.net> · 2026-10-10 18:43 UTC
Agenda rows without calendar event locations
Layout: unified · split
Sources/Orgstar/AgendaView.swift
+1 −1
| @@ -1184,7 +1184,7 @@ struct AgendaRowView: View { |
| 1184 | 1184 | .fill(row.event.map { event in theme.dynamic(.systemPurple) { [theme] in theme.eventColor(event, dark: $0) } } |
| 1185 | 1185 | ?? theme.dynamic { [theme, row] in theme.categoryColor(row.category, dark: $0) }) |
| 1186 | 1186 | .frame(width: 6, height: 6) |
| 1187 | | Text(row.category + (row.event?.location.map { " · " + $0 } ?? "")) |
| 1187 | Text(row.category) |
| 1188 | 1188 | .font(.system(size: 11)) |
| 1189 | 1189 | .foregroundStyle(theme.color("agenda-category") ?? .secondary) |
| 1190 | 1190 | .lineLimit(1) |
Sources/OrgstarMobile/AgendaScreen.swift
−3
| @@ -654,9 +654,6 @@ struct AgendaRowView: View { |
| 654 | 654 | .font(.body) |
| 655 | 655 | .strikethrough(row.isDone) |
| 656 | 656 | .foregroundStyle(row.isDone ? .secondary : .primary) |
| 657 | | if let location = row.event?.location { |
| 658 | | Label(location, systemImage: "mappin").font(.caption).foregroundStyle(.secondary).lineLimit(1) |
| 659 | | } |
| 660 | 657 | if let habit = row.item?.habit { |
| 661 | 658 | HabitStrip(cells: habit.graph(today: day), theme: theme, dark: dark).padding(.top, 3) |
| 662 | 659 | } |
docs/manual/guide/07-agenda.org
+1 −1
| @@ -134,7 +134,7 @@ A note under a clock line (a list item directly below it) is added to the title |
| 134 | 134 | Each row shows, from left to right: |
| 135 | 135 | |
| 136 | 136 | - The time or status described above, with an icon below it on the Mac and before it on iOS: a calendar for scheduled entries, a flag for deadlines, arrows in a circle for habits, a clock or a calendar for timestamps, and a dot or a calendar for calendar events. An overdue entry shows a warning sign instead, and on the Mac a done entry shows a check mark. |
| 137 | | - The category, with a colored dot, above the title. For a calendar event this is the calendar's name, with the event's location. |
| 137 | - The category, with a colored dot, above the title. For a calendar event this is the calendar's name. |
| 138 | 138 | - The title: the heading without its TODO keyword, priority cookie, statistics cookies, timestamps and tags, with links shown as their descriptions. A done entry's title is struck through. |
| 139 | 139 | - The value of the first statistics cookie (=1/3=, =50%=) and the tags, inherited tags first, as small capsules. iOS shows at most three tags. |
| 140 | 140 | - The habit's consistency graph, for habits. |