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:
@@ -222,6 +222,14 @@ export const projectRouter = router({
|
||||
},
|
||||
},
|
||||
},
|
||||
projectTags: {
|
||||
include: {
|
||||
tag: {
|
||||
select: { id: true, name: true, category: true, color: true },
|
||||
},
|
||||
},
|
||||
orderBy: { confidence: 'desc' },
|
||||
},
|
||||
},
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user