Skip to content

Commit

Permalink
heavy re-write to use new data models. #16 (sorta), #19, #21, #22, #23
Browse files Browse the repository at this point in the history
  • Loading branch information
kapil1garg committed Mar 4, 2024
1 parent fd6856c commit af43c6e
Show file tree
Hide file tree
Showing 7 changed files with 673 additions and 459 deletions.
11 changes: 5 additions & 6 deletions components/IssueCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export default function IssueCard({
issueId,
title,
lastUpdated,
followUpPlans,
currentIssueInstance,
selectedIssue,
setSelectedIssue
}): JSX.Element {
Expand Down Expand Up @@ -37,12 +37,11 @@ export default function IssueCard({
</h3>

<div
className={`flex flex-wrap text-md text-orange-500 py-1 ${followUpPlans.length > 0 ? 'opacity-0' : ''}`}
className={`flex flex-wrap text-md text-orange-500 py-1 ${currentIssueInstance !== null && currentIssueInstance.plan.trim().length === 0 ? '' : 'opacity-0'}`}
>
<ExclamationTriangleIcon className="h-4" />
<span className="text-s font-bold mt-2">
Issue does not have any follow-up plans written or actionable
check-ins encoded
<span className="inline-flex items-baseline text-s">
<ExclamationTriangleIcon className="h-3" />
&nbsp; Missing practices
</span>
</div>

Expand Down
Loading

0 comments on commit af43c6e

Please sign in to comment.