feat: Add schema check and logging tests for project tasks and notes

This commit is contained in:
Chop
2025-06-19 22:13:08 +02:00
parent 3762f2e6f8
commit f0e3bf6eaa
5 changed files with 70 additions and 13 deletions

View File

@@ -503,7 +503,6 @@ export default function ProjectTasksSection({ projectId }) {
</div>
</td>
</tr>
{/* Description row (expandable) */}
{task.description && expandedDescriptions[task.id] && (
<tr className="bg-blue-50">
@@ -516,7 +515,8 @@ export default function ProjectTasksSection({ projectId }) {
</div>
</td>
</tr>
)} {/* Notes row (expandable) */}
)}{" "}
{/* Notes row (expandable) */}
{expandedNotes[task.id] && (
<tr className="bg-gray-50">
<td colSpan="6" className="px-4 py-4">
@@ -533,9 +533,9 @@ export default function ProjectTasksSection({ projectId }) {
<div
key={note.note_id}
className={`p-3 rounded border flex justify-between items-start ${
note.is_system
? 'bg-blue-50 border-blue-200'
: 'bg-white border-gray-200'
note.is_system
? "bg-blue-50 border-blue-200"
: "bg-white border-gray-200"
}`}
>
<div className="flex-1">