@@ -68,36 +68,36 @@ export function DashboardPage() {
6868
6969
7070 return (
71- < div className = "space-y-3 " >
71+ < div className = "space-y-2 " >
7272 { /* Header */ }
7373 < div >
7474 < h1 className = "text-xl font-semibold tracking-tight text-foreground" > Dashboard</ h1 >
75- < p className = "mt-1 text-sm text-muted-foreground" >
75+ < p className = "mt-0.5 text-xs text-muted-foreground" >
7676 Overview of your team's experiments and activity
7777 </ p >
7878 </ div >
7979
8080 { /* Overview Section */ }
8181 < div >
82- < h2 className = "text-base font-semibold text-foreground mb-2 " > Overview</ h2 >
82+ < h2 className = "text-sm font-semibold text-foreground mb-1.5 " > Overview</ h2 >
8383 </ div >
8484
8585 { /* Overview Metrics */ }
8686 { teamLoading ? (
87- < div className = "grid grid-cols-1 md:grid-cols-3 gap-2.5 " >
87+ < div className = "grid grid-cols-1 md:grid-cols-3 gap-2" >
8888 < Skeleton className = "h-14 w-full" />
8989 < Skeleton className = "h-14 w-full" />
9090 < Skeleton className = "h-14 w-full" />
9191 </ div >
9292 ) : (
93- < div className = "grid grid-cols-1 md:grid-cols-3 gap-2.5 " >
93+ < div className = "grid grid-cols-1 md:grid-cols-3 gap-2" >
9494 { /* Total Experiments */ }
9595 < Card >
96- < CardContent className = "p-3 " >
96+ < CardContent className = "p-2.5 " >
9797 < div className = "flex items-center justify-between" >
9898 < div className = "space-y-0.5" >
99- < p className = "text-xs font-medium text-muted-foreground" > EXPERIMENTS</ p >
100- < p className = "text-lg font-bold tabular-nums text-foreground" > { team ?. totalExperiments || 0 } </ p >
99+ < p className = "text-[10px] font-medium text-muted-foreground" > EXPERIMENTS</ p >
100+ < p className = "text-base font-bold tabular-nums text-foreground" > { team ?. totalExperiments || 0 } </ p >
101101 </ div >
102102 < div className = "p-1.5 bg-purple-100 rounded-lg" >
103103 < FlaskConical className = "h-3.5 w-3.5 text-purple-600" />
@@ -108,11 +108,11 @@ export function DashboardPage() {
108108
109109 { /* Total Runs */ }
110110 < Card >
111- < CardContent className = "p-3 " >
111+ < CardContent className = "p-2.5 " >
112112 < div className = "flex items-center justify-between" >
113113 < div className = "space-y-0.5" >
114- < p className = "text-xs font-medium text-muted-foreground" > RUNS</ p >
115- < p className = "text-lg font-bold tabular-nums text-foreground" > { team ?. totalRuns || 0 } </ p >
114+ < p className = "text-[10px] font-medium text-muted-foreground" > RUNS</ p >
115+ < p className = "text-base font-bold tabular-nums text-foreground" > { team ?. totalRuns || 0 } </ p >
116116 </ div >
117117 < div className = "p-1.5 bg-green-100 rounded-lg" >
118118 < Play className = "h-3.5 w-3.5 text-green-600" />
@@ -123,13 +123,13 @@ export function DashboardPage() {
123123
124124 { /* Total Tokens */ }
125125 < Card >
126- < CardContent className = "p-3 " >
126+ < CardContent className = "p-2.5 " >
127127 < div className = "flex items-center justify-between" >
128128 < div className = "space-y-0.5" >
129- < p className = "text-xs font-medium text-muted-foreground" > TOKENS</ p >
130- < p className = "text-lg font-bold tabular-nums text-foreground" >
129+ < p className = "text-[10px] font-medium text-muted-foreground" > TOKENS</ p >
130+ < p className = "text-base font-bold tabular-nums text-foreground" >
131131 { ( team ?. aggregatedTokens ?. totalTokens || 0 ) . toLocaleString ( ) }
132- < span className = "text-muted-foreground text-xs ml-1 font-normal" >
132+ < span className = "text-muted-foreground text-[10px] ml-1 font-normal" >
133133 ({ ( team ?. aggregatedTokens ?. inputTokens || 0 ) . toLocaleString ( ) } ↓ { ( team ?. aggregatedTokens ?. outputTokens || 0 ) . toLocaleString ( ) } ↑)
134134 </ span >
135135 </ p >
@@ -144,18 +144,18 @@ export function DashboardPage() {
144144 ) }
145145
146146 { /* Experiments Charts */ }
147- < div className = "space-y-3 " >
147+ < div className = "space-y-2 " >
148148 { /* Time Range Selector */ }
149149 < div className = "flex items-center justify-between" >
150- < h2 className = "text-base font-semibold text-foreground" > Activity</ h2 >
150+ < h2 className = "text-sm font-semibold text-foreground" > Activity</ h2 >
151151 < div className = "flex gap-1" >
152152 { TIME_RANGE_OPTIONS . map ( ( option ) => (
153153 < Button
154154 key = { option . value }
155155 variant = "outline"
156156 size = "sm"
157157 onClick = { ( ) => setTimeRange ( option . value ) }
158- className = { `h-8 px-2.5 text-xs transition-colors ${ timeRange === option . value
158+ className = { `h-7 px-2 text-[11px] transition-colors ${ timeRange === option . value
159159 ? 'bg-blue-50 border-blue-300 text-blue-700 hover:bg-blue-100'
160160 : 'bg-white hover:bg-gray-50'
161161 } `}
@@ -167,12 +167,12 @@ export function DashboardPage() {
167167 </ div >
168168
169169 { /* First Row: Experiments Charts */ }
170- < div className = "grid gap-3 md:grid-cols-2" >
170+ < div className = "grid gap-2 md:grid-cols-2" >
171171 { /* Status Distribution Pie Chart */ }
172172 < Card >
173- < CardContent className = "p-4 " >
173+ < CardContent className = "p-3 " >
174174 { experimentsLoading ? (
175- < Skeleton className = "h-72 w-full" />
175+ < Skeleton className = "h-60 w-full" />
176176 ) : (
177177 < ExperimentsStatusChart experiments = { filteredExperiments || [ ] } />
178178 ) }
@@ -181,9 +181,9 @@ export function DashboardPage() {
181181
182182 { /* Timeline Chart */ }
183183 < Card >
184- < CardContent className = "p-4 " >
184+ < CardContent className = "p-3 " >
185185 { experimentsLoading ? (
186- < Skeleton className = "h-72 w-full" />
186+ < Skeleton className = "h-60 w-full" />
187187 ) : (
188188 < ExperimentsTimelineChart experiments = { filteredExperiments || [ ] } timeRange = { timeRange } />
189189 ) }
@@ -192,12 +192,12 @@ export function DashboardPage() {
192192 </ div >
193193
194194 { /* Second Row: Model Distribution and Token Usage */ }
195- < div className = "grid gap-3 md:grid-cols-2" >
195+ < div className = "grid gap-2 md:grid-cols-2" >
196196 { /* Model Distribution Pie Chart */ }
197197 < Card >
198- < CardContent className = "p-4 " >
198+ < CardContent className = "p-3 " >
199199 { modelDistributionsLoading ? (
200- < Skeleton className = "h-72 w-full" />
200+ < Skeleton className = "h-60 w-full" />
201201 ) : (
202202 < ModelDistributionChart data = { modelDistributions || [ ] } />
203203 ) }
@@ -206,13 +206,13 @@ export function DashboardPage() {
206206
207207 { /* Token Usage Chart */ }
208208 < Card >
209- < CardContent className = "p-4 " >
209+ < CardContent className = "p-3 " >
210210 { tokenUsageLoading ? (
211- < Skeleton className = "h-72 w-full" />
211+ < Skeleton className = "h-60 w-full" />
212212 ) : dailyTokenUsage ? (
213213 < DailyTokenUsageChart data = { dailyTokenUsage } timeRange = { timeRange } />
214214 ) : (
215- < div className = "flex items-center justify-center h-72 text-sm text-muted-foreground" >
215+ < div className = "flex items-center justify-center h-60 text-xs text-muted-foreground" >
216216 No token usage data available for this time range
217217 </ div >
218218 ) }
0 commit comments