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

@@ -3,6 +3,8 @@ import SwiftUI
enum AppSection: String, CaseIterable, Hashable, Identifiable {
var id: String { rawValue }
case dashboard = "Dashboard"
case communications = "Communications"
case calendar = "Calendar"
case oracle = "Oracle"
case sentinel = "Sentinel"
case inventory = "Inventory"
@@ -11,6 +13,8 @@ enum AppSection: String, CaseIterable, Hashable, Identifiable {
var systemImage: String {
switch self {
case .dashboard: return "square.grid.2x2"
case .communications: return "phone.connection"
case .calendar: return "calendar.badge.clock"
case .oracle: return "message.and.waveform"
case .sentinel: return "person.crop.rectangle"
case .inventory: return "shippingbox"
@@ -21,6 +25,8 @@ enum AppSection: String, CaseIterable, Hashable, Identifiable {
var accentColor: Color {
switch self {
case .dashboard: return VelocityTheme.accent
case .communications: return Color(red: 0.19, green: 0.84, blue: 0.63)
case .calendar: return Color(red: 0.96, green: 0.67, blue: 0.16)
case .oracle: return Color(red: 0.13, green: 0.83, blue: 0.93) // cyan
case .sentinel: return Color(red: 0.60, green: 0.57, blue: 0.99) // indigo
case .inventory: return VelocityTheme.warning
@@ -124,6 +130,8 @@ struct ContentView: View {
Group {
switch selectedSection {
case .dashboard: DashboardView()
case .communications: CommunicationsView()
case .calendar: CalendarView()
case .oracle: OracleView()
case .sentinel: SentinelView()
case .inventory: InventoryView()