Display AI-assigned expertise tags on project detail page

- Add projectTags relation to project.get query
- Show expertise tags with confidence percentages
- Tags displayed with their assigned colors

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-02-05 13:18:45 +01:00
parent 4d8823e8e9
commit f59cfd393b
2 changed files with 35 additions and 0 deletions

View File

@@ -222,6 +222,14 @@ export const projectRouter = router({
},
},
},
projectTags: {
include: {
tag: {
select: { id: true, name: true, category: true, color: true },
},
},
orderBy: { confidence: 'desc' },
},
},
})