Skip to content

Commit

Permalink
Add a hoverover for the status emoji
Browse files Browse the repository at this point in the history
  • Loading branch information
asylumexp committed Jan 9, 2025
1 parent db714e8 commit 2cd1204
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions frontend/src/app/scripts/_components/ScriptItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,17 @@ function ScriptItem({
<div className="ml-4 flex flex-col justify-between">
<div className="flex h-full w-full flex-col justify-between">
<div>
<h1 className="text-lg font-semibold">
{item.status} {item.name} {getDisplayValueFromType(item.type)}
</h1>
<h1 className="text-lg font-semibold">
<span title={
item.status === '✅' ? 'This has been tested and should work.' :
item.status === '❌' ? 'This is not supported.' :
item.status === '🚧' ? 'This has not been ported yet.' :
item.status === '🧪' ? 'This has been ported but not tested yet.' :
''
}>
{item.status}
</span> {item.name} {getDisplayValueFromType(item.type)}
</h1>
<p className="w-full text-sm text-muted-foreground">
Date added: {extractDate(item.date_created)}
</p>
Expand Down

0 comments on commit 2cd1204

Please sign in to comment.