Skip to content

Commit

Permalink
🐛 Add tooltip for weight column
Browse files Browse the repository at this point in the history
  • Loading branch information
ibolton336 committed Oct 4, 2023
1 parent 81a05db commit e922e9d
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion client/src/app/components/answer-table/answer-table.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,13 @@ const AnswerTable: React.FC<IAnswerTableProps> = ({
<Tr>
<TableHeaderContentWithControls {...tableControls}>
<Th {...getThProps({ columnKey: "choice" })} />
<Th {...getThProps({ columnKey: "weight" })} />
<Th
{...getThProps({ columnKey: "weight" })}
info={{
tooltip:
"This column shows the associated risk weight of an answered question. A red 'X' icon indicates High risk, a yellow warning icon indicates Medium risk, and a green checkmark indicates Low risk.",
}}
/>
</TableHeaderContentWithControls>
</Tr>
</Thead>
Expand Down

0 comments on commit e922e9d

Please sign in to comment.