-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make connected evaluation detail page (#165)
- Loading branch information
1 parent
6daddd4
commit 2a9b942
Showing
4 changed files
with
21 additions
and
8 deletions.
There are no files selected for viewing
15 changes: 15 additions & 0 deletions
15
...tId]/versions/[commitUuid]/documents/[documentUuid]/evaluations/[evaluationUuid]/page.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import { getEvaluationByUuidCached } from '$/app/(private)/_data-access' | ||
|
||
export default async function EvaluationPage({ | ||
params: { evaluationUuid }, | ||
}: { | ||
params: { evaluationUuid: string } | ||
}) { | ||
const evaluation = await getEvaluationByUuidCached(evaluationUuid) | ||
return ( | ||
<div> | ||
<h1>{evaluation.name}</h1> | ||
<p>{evaluation.description || 'No description for this evaluation'}</p> | ||
</div> | ||
) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters