Commit 517ec65ad7
Copy SHA
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
Changed files (4)
Sources/OrgstarMobile/AgendaScreen.swift
+3 −8 · view
@@ -165,6 +165,7 @@ struct AgendaScreen: View, Equatable {
165 165 ContentUnavailableView ( " No folders " , systemImage : " folder " , description : Text ( " Add a folder of org files under Folders. " ) )
166 166 }
167 167 }
168 . message ( $ message )
168 169 . safeAreaInset ( edge : . bottom ) {
169 170 if ! workspace . rootPaths . isEmpty {
170 171 if selecting { bulkBar } else { bottomBar }
@@ -610,11 +611,6 @@ struct AgendaScreen: View, Equatable {
610 611 // / T h e b a r w h i l e s e l e c t i n g : t h e c o u n t , t h e b u l k a c t i o n s ( ` B ` i n O r g ' s a g e n d a ) a n d D o n e .
611 612 private var bulkBar : some View {
612 613 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 }
618 614 HStack ( spacing : 12 ) {
619 615 Text ( " \( marked . count ) selected " ) . font ( . footnote . weight ( . semibold ) . monospacedDigit ( ) ) . padding ( . leading , 12 )
620 616 Menu {
@@ -646,10 +642,9 @@ struct AgendaScreen: View, Equatable {
646 642
647 643 private var bottomBar : some View {
648 644 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 )
651 647 . glassEffect ( . regular , in : Capsule ( ) )
652 . onTapGesture { message = nil }
653 648 }
654 649 if case . agenda = agenda . mode {
655 650 HStack ( spacing : 2 ) {
Sources/OrgstarMobile/BoardScreen.swift
+1 −7 · view
@@ -63,13 +63,7 @@ struct BoardScreen: View {
63 63 . background ( . bar )
64 64 if kanban { board } else { list }
65 65 }
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 )
73 67 . navigationTitle ( kanban ? " Kanban " : " Entries " )
74 68 . navigationBarTitleDisplayMode ( . inline )
75 69 . toolbar {
Sources/OrgstarMobile/ColumnViewScreen.swift
+1 −7 · view
@@ -41,13 +41,7 @@ struct ColumnViewScreen: View {
41 41 . disabled ( selected = = nil )
42 42 }
43 43 }
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 )
51 45 . sheet ( item : $ prompt ) { request in
52 46 PromptSheet ( prompt : request . prompt ) { answer in
53 47 prompt = nil
docs/manual/guide/14-ios.org
+1 −1 · view
@@ -57,7 +57,7 @@ The toolbar has:
57 57 - Undo :: touch and hold it for Redo.
58 58 - More :: Commands, Clock In, Show Markup, Recent Entries, Export, Sync Conflict Copies, and Recovered Versions.
59 59
60 Messages 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= .
60 Messages 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= .
61 61
62 62 ** Panes and windows on iPad
63 63