The file /Users/neog/Apps/macOS/PredictiveHistory-macOS/Features/Sidebar/SidebarView.swift has been updated. Here's the result of running `cat -n` on a snippet of the edited file: 1→import SwiftUI 2→ 3→struct SidebarView: View { 4→ @EnvironmentObject var dataManager: DataManager 5→ @State private var showStats = true 6→ 7→ var body: some View { 8→ List(selection: $dataManager.selectedSeries) { 9→ // Series list 10→ Section { 11→ ForEach(Series.allCases) { series in 12→ CompactSeriesRow(series: series) 13→ .tag(series) 14→ } 15→ } header: { 16→ HStack { 17→ Image(systemName: "list.number") 18→ .font(.caption2) 19→ Text("Study Order") 20→ } 21→ .font(.caption.bold()) 22→ .foregroundStyle(.secondary) 23→ } 24→ 25→ // Quick stats - collapsible 26→ Section { 27→ DisclosureGroup(isExpanded: $showStats) { 28→ VStack(spacing: 10) { 29→ MiniStatRow( 30→ icon: "clock.fill", 31→ label: "Total Time", 32→ value: dataManager.formatDuration(dataManager.totalDurationSeconds), 33→ color: .blue 34→ ) 35→ MiniStatRow( 36→ icon: "checkmark.circle.fill", 37→ label: "Watched", 38→ value: dataManager.formatDuration(dataManager.watchedDurationSeconds), 39→ color: .green 40→ ) 41→ MiniStatRow( 42→ icon: "hourglass", 43→ label: "Remaining", 44→ value: dataManager.formatDuration(dataManager.totalDurationSeconds - dataManager.watchedDurationSeconds), 45→ color: .orange 46→ ) 47→ } 48→ .padding(.vertical, 6) 49→ } label: { 50→ HStack(spacing: 10) { 51→ AnimatedProgressRing( 52→ progress: dataManager.overallProgress, 53→ size: 28, 54→ lineWidth: 3, 55→ color: .accentColor 56→ ) 57→ 58→ VStack(alignment: .leading, spacing: 1) { 59→ Text(String(format: "%.1f%%", dataManager.overallProgress * 100)) 60→ .font(.subheadline.bold().monospacedDigit()) 61→ 62→ Text("\(dataManager.watchedVideos) of \(dataManager.totalVideos)") 63→ .font(.caption2) 64→ .foregroundStyle(.tertiary) 65→ } 66→ } 67→ } 68→ } header: { 69→ HStack { 70→ Image(systemName: "chart.pie.fill") 71→ .font(.caption2) 72→ Text("Progress") 73→ } 74→ .font(.caption.bold()) 75→ .foregroundStyle(.secondary) 76→ } 77→ } 78→ .listStyle(.sidebar) 79→ .navigationTitle("Series") 80→ .safeAreaInset(edge: .bottom) { 81→ // Enhanced bottom bar 82→ HStack(spacing: 8) { 83→ Image(systemName: "play.circle.fill") 84→ .font(.caption) 85→ .foregroundStyle(.green) 86→ 87→ Text("\(dataManager.watchedVideos)") 88→ .font(.caption.monospacedDigit().bold()) 89→ .foregroundStyle(.primary) 90→ 91→ Text("of") 92→ .font(.caption2) 93→ .foregroundStyle(.tertiary) 94→ 95→ Text("\(dataManager.totalVideos)") 96→ .font(.caption.monospacedDigit()) 97→ .foregroundStyle(.secondary) 98→ 99→ Text("videos") 100→ .font(.caption2) 101→ .foregroundStyle(.tertiary) 102→ } 103→ .frame(maxWidth: .infinity) 104→ .padding(.vertical, 10) 105→ .background(.ultraThinMaterial) 106→ } 107→ } 108→} 109→ 110→struct CompactSeriesRow: View { 111→ @EnvironmentObject var dataManager: DataManager 112→ let series: Series