File tree Expand file tree Collapse file tree
app/src/app/(app)/[orgId]/people/dashboard/components
portal/src/app/api/download-agent Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -24,9 +24,9 @@ interface EmployeeCompletionChartProps {
2424 securityTrainingStepEnabled ?: boolean ;
2525}
2626
27- // Define colors for the chart using DS semantic colors
27+ // Define colors for the chart using semantic tokens
2828const taskColors = {
29- completed : 'bg-success ' , // Green - completed/good state
29+ completed : 'bg-primary ' , // Primary green
3030 incomplete : 'bg-warning' , // Yellow - needs action
3131} ;
3232
@@ -258,7 +258,10 @@ export function EmployeeCompletionChart({
258258 < div className = "text-muted-foreground text-right text-xs" >
259259 { stat . policiesCompleted } /{ stat . policiesTotal } policies signed
260260 { securityTrainingStepEnabled && (
261- < > • { stat . trainingsCompleted } /{ stat . trainingsTotal } training</ >
261+ < >
262+ { ' ' }
263+ • { stat . trainingsCompleted } /{ stat . trainingsTotal } training
264+ </ >
262265 ) }
263266 </ div >
264267 </ div >
@@ -267,7 +270,7 @@ export function EmployeeCompletionChart({
267270
268271 < div className = "text-muted-foreground flex flex-wrap gap-3 text-xs" >
269272 < div className = "flex items-center gap-1" >
270- < div className = "size-2 rounded-xs bg-success " />
273+ < div className = "size-2 rounded-xs bg-primary " />
271274 < span > { 'Completed' } </ span >
272275 </ div >
273276 < div className = "flex items-center gap-1" >
Original file line number Diff line number Diff line change @@ -29,3 +29,8 @@ export const DOWNLOAD_TARGETS: Record<
2929 contentType : 'application/vnd.debian.binary-package' ,
3030 } ,
3131} ;
32+
33+ // Backward-compatible filename exports used by client components.
34+ export const MAC_APPLE_SILICON_FILENAME = DOWNLOAD_TARGETS . macos . filename ;
35+ export const MAC_INTEL_FILENAME = DOWNLOAD_TARGETS [ 'macos-intel' ] . filename ;
36+ export const WINDOWS_FILENAME = DOWNLOAD_TARGETS . windows . filename ;
You can’t perform that action at this time.
0 commit comments