Commit 7693220003

7693220003ef945e2e0852f301bbb1e59041555c

parent: 51845f60a0

Verified · cmc

cmc <hello@cleberg.net> · 2026-11-22 20:48 UTC

Watch: show only the iPhone hint until an agenda arrives

Ref #222

Layout: unified · split

Sources/OrgstarWatch/WatchApp.swift +6 −2
@@ -103,6 +103,12 @@ struct AgendaList: View {
103 .foregroundStyle(.secondary) 103 .foregroundStyle(.secondary)
104 } 104 }
105 .navigationTitle("Today") 105 .navigationTitle("Today")
106 } else if link.agenda == nil {
107 ScrollView {
108 Text("Open orgstar on your iPhone to show your agenda here.")
109 .foregroundStyle(.secondary)
110 }
111 .navigationTitle("Today")
106 } else { 112 } else {
107 list 113 list
108 } 114 }
@@ -147,8 +153,6 @@ struct AgendaList: View {
147 if agenda.rows.isEmpty { Text("Nothing scheduled").foregroundStyle(.secondary) } 153 if agenda.rows.isEmpty { Text("Nothing scheduled").foregroundStyle(.secondary) }
148 ForEach(agenda.rows) { EntryRow(entry: $0, link: link) } 154 ForEach(agenda.rows) { EntryRow(entry: $0, link: link) }
149 } 155 }
150 } else {
151 Text("Open orgstar on your iPhone to show your agenda here.").foregroundStyle(.secondary)
152 } 156 }
153 } 157 }
154 .navigationTitle("Today") 158 .navigationTitle("Today")
docs/manual/guide/14-ios.org +1 −1
@@ -250,7 +250,7 @@ The widgets and the Live Activity open the app with these links, which also work
250 250
251* Apple Watch 251* Apple Watch
252 252
253The watch app shows today's agenda from your iPhone, marks entries done, shows and stops the running clock, and takes dictated captures. It comes with orgstar on iPhone and installs on a paired watch as other watch apps do. It reads nothing itself: your iPhone sends it today's agenda and the clock whenever its widgets update (when files, edits or settings change while orgstar is open, and when you return to it) and whenever the clock starts or stops, and the watch keeps the last one it got. Until it has one, it says =Open orgstar on your iPhone to show your agenda here.= 253The watch app shows today's agenda from your iPhone, marks entries done, shows and stops the running clock, and takes dictated captures. It comes with orgstar on iPhone and installs on a paired watch as other watch apps do. It reads nothing itself: your iPhone sends it today's agenda and the clock whenever its widgets update (when files, edits or settings change while orgstar is open, and when you return to it) and whenever the clock starts or stops, and the watch keeps the last one it got. Until it has one, it shows only =Open orgstar on your iPhone to show your agenda here.=
254 254
255- Clocked In :: the running clock's heading and its time so far, with Clock Out. Without a running clock, Clock In to /heading/ clocks in to the entry clocked last (=org-clock-in-last=). 255- Clocked In :: the running clock's heading and its time so far, with Clock Out. Without a running clock, Clock In to /heading/ clocks in to the entry clocked last (=org-clock-in-last=).
256- Capture :: dictate or scribble text, then Done. It goes to orgstar on iPhone, which opens the capture sheet with it as =%i=, with the first template, as text from the share sheet does; see Capture below. 256- Capture :: dictate or scribble text, then Done. It goes to orgstar on iPhone, which opens the capture sheet with it as =%i=, with the first template, as text from the share sheet does; see Capture below.