Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ function staleLabel(daysSinceLastCheckIn: number | null): string {

function staleTooltipCopy(daysSinceLastCheckIn: number | null): string {
return daysSinceLastCheckIn === null
? "This device's CompAI agent hasn't reported any check-ins, so we can't verify its current compliance. Ask the employee to install or activate the agent."
: "This device's CompAI agent hasn't reported in over 7 days, so we can't verify its current compliance. Ask the employee to update or reinstall the agent.";
? "This device was registered but hasn't sent a compliance check yet. If it's not new, the agent may not be running or the device may be offline."
: "This device hasn't reported to CompAI in over 7 days, so we can't verify its current compliance. It may be offline, the agent may need to be updated, or the device may no longer be in use. Check with the employee.";
}

function DeviceComplianceBadge({ device }: { device: DeviceWithChecks }) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -305,8 +305,9 @@ export function MemberRow({
</button>
</TooltipTrigger>
<TooltipContent className="max-w-xs text-xs">
This device's CompAI agent hasn't reported in recently, so we can't verify
its current compliance. Ask the employee to update or reinstall the agent.
We haven't received a recent compliance check from this device. It may be
offline, the agent may need to be updated, or the device may no longer be in
use.
</TooltipContent>
</Tooltip>
</TooltipProvider>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@ function staleLabel(daysSinceLastCheckIn: number | null): string {

function staleTooltipCopy(daysSinceLastCheckIn: number | null): string {
return daysSinceLastCheckIn === null
? "This device's CompAI agent hasn't reported any check-ins, so we can't verify its current compliance. Ask the employee to install or activate the agent."
: "This device's CompAI agent hasn't reported in over 7 days, so we can't verify its current compliance. Ask the employee to update or reinstall the agent.";
? "This device was registered but hasn't sent a compliance check yet. If it's not new, the agent may not be running or the device may be offline."
: "This device hasn't reported to CompAI in over 7 days, so we can't verify its current compliance. It may be offline, the agent may need to be updated, or the device may no longer be in use. Check with the employee.";
}

function UserNameCell({ device, orgId }: { device: DeviceWithChecks; orgId: string }) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ function staleLabel(daysSinceLastCheckIn: number | null): string {

function staleTooltipCopy(daysSinceLastCheckIn: number | null): string {
return daysSinceLastCheckIn === null
? "This device's CompAI agent hasn't reported any check-ins, so we can't verify its current compliance. Ask the employee to install or activate the agent."
: "This device's CompAI agent hasn't reported in over 7 days, so we can't verify its current compliance. Ask the employee to update or reinstall the agent.";
? "This device was registered but hasn't sent a compliance check yet. If it's not new, the agent may not be running or the device may be offline."
: "This device hasn't reported to CompAI in over 7 days, so we can't verify its current compliance. It may be offline, the agent may need to be updated, or the device may no longer be in use. Check with the employee.";
}

function DeviceComplianceBadge({ device }: { device: DeviceWithChecks }) {
Expand Down
Loading