notes get their own left tab

This commit is contained in:
Ian Gulliver
2026-10-18 23:37:56 -07:00
parent d294159fcd
commit d567261fbd
6 changed files with 166 additions and 143 deletions
+6 -1
View File
@@ -136,6 +136,9 @@ private struct LeftPane: View {
PaneTabButton(label: "Lead", active: tab == .lead) {
overlays.leftTab = .lead
}
PaneTabButton(label: "Notes", active: tab == .notes) {
overlays.leftTab = .notes
}
PaneTabButton(label: "Status", active: tab == .status) {
overlays.leftTab = .status
}
@@ -171,7 +174,9 @@ private struct LeftPane: View {
.opacity(tab == .lead ? 1 : 0)
.allowsHitTesting(tab == .lead)
.accessibilityHidden(tab != .lead)
if tab == .status {
if tab == .notes {
NotesView()
} else if tab == .status {
StatusView()
} else if tab == .server {
ServerView()