WebOS completion

This commit is contained in:
Sayan Datta
2026-04-18 18:56:05 +05:30
parent 7e3764a8a4
commit cc04e8505f
459 changed files with 11713 additions and 3853 deletions

View File

@@ -0,0 +1,40 @@
import SwiftUI
enum EdgeSection: String, CaseIterable, Identifiable {
case alerts = "Alerts"
case leadSummary = "Lead Summary"
case communications = "Communications"
case notes = "Notes"
case transcriptions = "Transcriptions"
case settings = "Settings"
var id: String { rawValue }
}
struct EdgeRootView: View {
@State private var selectedSection: EdgeSection = .alerts
var body: some View {
TabView(selection: $selectedSection) {
EdgeAlertsView()
.tabItem { Label("Alerts", systemImage: "bell.badge") }
.tag(EdgeSection.alerts)
EdgeLeadSummaryView()
.tabItem { Label("Lead", systemImage: "person.text.rectangle") }
.tag(EdgeSection.leadSummary)
EdgeCommunicationsView()
.tabItem { Label("Comms", systemImage: "phone.connection") }
.tag(EdgeSection.communications)
EdgeNotesView()
.tabItem { Label("Notes", systemImage: "square.and.pencil") }
.tag(EdgeSection.notes)
EdgeTranscriptionsView()
.tabItem { Label("Transcripts", systemImage: "waveform.badge.magnifyingglass") }
.tag(EdgeSection.transcriptions)
EdgeSettingsView()
.tabItem { Label("Settings", systemImage: "gearshape") }
.tag(EdgeSection.settings)
}
.tint(Color(red: 0.22, green: 0.60, blue: 0.98))
}
}