Commit 517ec65ad7

517ec65ad7d1b45c880a4ee3f439a8e232fff874

parent: 5ad20764b1

Verified · cmc

cmc <hello@cleberg.net> · 2026-11-25 23:36 UTC

iOS: the one message view in the agenda, board and column view

Their messages use message(_:edge:), which times out and is announced to VoiceOver. The agenda's bar keeps the active filter.

Ref #223

Layout: unified · split

Changed files (4)
Sources/OrgstarMobile/AgendaScreen.swift +3 −8 · view
@@ -165,6 +165,7 @@ struct AgendaScreen: View, Equatable {
165165 ContentUnavailableView("No folders", systemImage: "folder", description: Text("Add a folder of org files under Folders."))
166166 }
167167 }
168 .message($message)
168169 .safeAreaInset(edge: .bottom) {
169170 if !workspace.rootPaths.isEmpty {
170171 if selecting { bulkBar } else { bottomBar }
@@ -610,11 +611,6 @@ struct AgendaScreen: View, Equatable {
610611 /// The bar while selecting: the count, the bulk actions (`B` in Org's agenda) and Done.
611612 private var bulkBar: some View {
612613 VStack(spacing: 8) {
613 if let message {
614 Text(message).font(.footnote).padding(.horizontal, 12).padding(.vertical, 6)
615 .glassEffect(.regular, in: Capsule())
616 .onTapGesture { self.message = nil }
617 }
618614 HStack(spacing: 12) {
619615 Text("\(marked.count) selected").font(.footnote.weight(.semibold).monospacedDigit()).padding(.leading, 12)
620616 Menu {
@@ -646,10 +642,9 @@ struct AgendaScreen: View, Equatable {
646642
647643 private var bottomBar: some View {
648644 VStack(spacing: 8) {
649 if let status = message ?? (filter.isEmpty ? nil : "Filter: " + filter.description) {
650 Text(status).font(.footnote).padding(.horizontal, 12).padding(.vertical, 6)
645 if !filter.isEmpty {
646 Text("Filter: " + filter.description).font(.footnote).padding(.horizontal, 12).padding(.vertical, 6)
651647 .glassEffect(.regular, in: Capsule())
652 .onTapGesture { message = nil }
653648 }
654649 if case .agenda = agenda.mode {
655650 HStack(spacing: 2) {
Sources/OrgstarMobile/BoardScreen.swift +1 −7 · view
@@ -63,13 +63,7 @@ struct BoardScreen: View {
6363 .background(.bar)
6464 if kanban { board } else { list }
6565 }
66 .safeAreaInset(edge: .bottom) {
67 if let message {
68 Text(message).font(.footnote).padding(.horizontal, 12).padding(.vertical, 6)
69 .glassEffect(.regular, in: Capsule())
70 .onTapGesture { self.message = nil }
71 }
72 }
66 .message($message)
7367 .navigationTitle(kanban ? "Kanban" : "Entries")
7468 .navigationBarTitleDisplayMode(.inline)
7569 .toolbar {
Sources/OrgstarMobile/ColumnViewScreen.swift +1 −7 · view
@@ -41,13 +41,7 @@ struct ColumnViewScreen: View {
4141 .disabled(selected == nil)
4242 }
4343 }
44 .safeAreaInset(edge: .top) {
45 if let message {
46 Text(message).font(.footnote).padding(.horizontal, 12).padding(.vertical, 6)
47 .glassEffect(.regular, in: Capsule())
48 .onTapGesture { self.message = nil }
49 }
50 }
44 .message($message, edge: .top)
5145 .sheet(item: $prompt) { request in
5246 PromptSheet(prompt: request.prompt) { answer in
5347 prompt = nil
docs/manual/guide/14-ios.org +1 −1 · view
@@ -57,7 +57,7 @@ The toolbar has:
5757- Undo :: touch and hold it for Redo.
5858- More :: Commands, Clock In, Show Markup, Recent Entries, Export, Sync Conflict Copies, and Recovered Versions.
5959
60Messages from commands show at the top of the editor, and at the bottom of the reader, for a few seconds; tap one to dismiss it. VoiceOver reads each message as it appears. An error opening, saving or reading a file shows what failed on its first line, such as =Couldn't Save File=.
60Messages from commands show at the top of the editor and the column view, and at the bottom of the reader, the agenda and the board, for a few seconds; tap one to dismiss it. VoiceOver reads each message as it appears. An error opening, saving or reading a file shows what failed on its first line, such as =Couldn't Save File=.
6161
6262** Panes and windows on iPad
6363
Keyboard shortcuts

Global

⌘K
Command palette & jump
/
Focus search
?
Show this help
g d
Dashboard
g e
Explore repositories
g n
Notifications

Repository & editor

t
Find file in repository
y
Copy immutable SHA permalink
g c
Code tab
g i
Issues tab
g m
Merge requests tab
g b
Builds tab
⌘↵
Submit active form