| @@ -145,8 +145,8 @@ struct EditorScreen: View { |
| 145 | Button("Commands", systemImage: "command") { sheet = .palette } |
145 | Button("Commands", systemImage: "command") { sheet = .palette } |
| 146 | Button("Word Count", systemImage: "textformat.123") { message = wordCount() } |
146 | Button("Word Count", systemImage: "textformat.123") { message = wordCount() } |
| 147 | Button("Clock In", systemImage: "stopwatch") { editor?.run("app.clock.in") } |
147 | Button("Clock In", systemImage: "stopwatch") { editor?.run("app.clock.in") } |
| 148 | Button("Column View", systemImage: "tablecells") { editor?.run("org.columns") } |
148 | Button("Column View", systemImage: "rectangle.split.3x3") { editor?.run("org.columns") } |
| 149 | Button("Column View of File", systemImage: "tablecells.badge.ellipsis") { editor?.run("org.columns.global") } |
149 | Button("Column View of File", systemImage: "rectangle.split.3x3") { editor?.run("org.columns.global") } |
| 150 | Menu("Table", systemImage: "tablecells") { |
150 | Menu("Table", systemImage: "tablecells") { |
| 151 | Button("Import Table from File…", systemImage: "square.and.arrow.down") { importingTable = true } |
151 | Button("Import Table from File…", systemImage: "square.and.arrow.down") { importingTable = true } |
| 152 | Button("Export Table as CSV…", systemImage: "square.and.arrow.up") { exportTable(csv: true) } |
152 | Button("Export Table as CSV…", systemImage: "square.and.arrow.up") { exportTable(csv: true) } |
| @@ -154,12 +154,12 @@ struct EditorScreen: View { |
| 154 | Button("Plot Table", systemImage: "chart.xyaxis.line") { plotTable() } |
154 | Button("Plot Table", systemImage: "chart.xyaxis.line") { plotTable() } |
| 155 | } |
155 | } |
| 156 | Toggle(isOn: Binding(get: { model.showMarkup }, set: { model.showMarkup = $0 })) { |
156 | Toggle(isOn: Binding(get: { model.showMarkup }, set: { model.showMarkup = $0 })) { |
| 157 | Label("Show Markup", systemImage: "chevron.left.forwardslash.chevron.right") |
157 | Label("Show Markup", systemImage: "eye") |
| 158 | } |
158 | } |
| 159 | RecentClockMenu(clock: clock) { editor?.run($0) } |
159 | RecentClockMenu(clock: clock) { editor?.run($0) } |
| 160 | Button("Backlinks", systemImage: "arrow.uturn.backward.circle") { if ProAccess.shared.allows(.roam) { sheet = .backlinks } } |
160 | Button("Backlinks", systemImage: "arrow.uturn.backward.circle") { if ProAccess.shared.allows(.roam) { sheet = .backlinks } } |
| 161 | Menu("Daily Notes", systemImage: "calendar") { |
161 | Menu("Daily Notes", systemImage: "book.closed") { |
| 162 | Button("Today", systemImage: "calendar") { roam("app.dailies.today") } |
162 | Button("Today", systemImage: "smallcircle.filled.circle") { roam("app.dailies.today") } |
| 163 | Button("Yesterday", systemImage: "chevron.backward") { roam("app.dailies.yesterday") } |
163 | Button("Yesterday", systemImage: "chevron.backward") { roam("app.dailies.yesterday") } |
| 164 | Button("Tomorrow", systemImage: "chevron.forward") { roam("app.dailies.tomorrow") } |
164 | Button("Tomorrow", systemImage: "chevron.forward") { roam("app.dailies.tomorrow") } |
| 165 | Button("Date…", systemImage: "calendar.badge.clock") { roam("app.dailies.date") } |
165 | Button("Date…", systemImage: "calendar.badge.clock") { roam("app.dailies.date") } |
| @@ -180,7 +180,7 @@ struct EditorScreen: View { |
| 180 | Button("Scan Document…", systemImage: "doc.viewfinder") { scanning = true } |
180 | Button("Scan Document…", systemImage: "doc.viewfinder") { scanning = true } |
| 181 | } |
181 | } |
| 182 | Button("Attach File from URL…", systemImage: "link.badge.plus") { attachActions.run("app.attach.url") } |
182 | Button("Attach File from URL…", systemImage: "link.badge.plus") { attachActions.run("app.attach.url") } |
| 183 | Button("New Attachment…", systemImage: "square.and.pencil") { attachActions.run("app.attach.new") } |
183 | Button("New Attachment…", systemImage: "note.text.badge.plus") { attachActions.run("app.attach.new") } |
| 184 | Button("Open Attachment…", systemImage: "paperclip") { attachActions.run("app.attach.open") } |
184 | Button("Open Attachment…", systemImage: "paperclip") { attachActions.run("app.attach.open") } |
| 185 | Button("Show Attachment Folder", systemImage: "folder") { attachActions.run("app.attach.reveal") } |
185 | Button("Show Attachment Folder", systemImage: "folder") { attachActions.run("app.attach.reveal") } |
| 186 | Button("Delete Attachment…", systemImage: "trash") { attachActions.run("app.attach.delete") } |
186 | Button("Delete Attachment…", systemImage: "trash") { attachActions.run("app.attach.delete") } |