kin: KIN-138-frontend_dev
This commit is contained in:
parent
e1fe41c428
commit
dadd97a5c5
3 changed files with 80 additions and 15 deletions
|
|
@ -461,8 +461,14 @@ async function saveEdit() {
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<div v-if="task.brief && !isManualEscalation" class="text-xs text-gray-500 mb-1">
|
||||
Brief: {{ JSON.stringify(task.brief) }}
|
||||
<div v-if="task.brief && !isManualEscalation" class="text-xs mb-1">
|
||||
<span class="text-gray-600">Brief: </span>
|
||||
<span v-if="(task.brief as Record<string, unknown>).text" class="text-gray-400 whitespace-pre-wrap">{{ (task.brief as Record<string, unknown>).text }}</span>
|
||||
<span v-else-if="(task.brief as Record<string, unknown>).description" class="text-gray-400 whitespace-pre-wrap">{{ (task.brief as Record<string, unknown>).description }}</span>
|
||||
<details v-else class="inline">
|
||||
<summary class="text-gray-600 cursor-pointer hover:text-gray-400">raw</summary>
|
||||
<pre class="text-gray-600 font-mono text-[10px] mt-1 whitespace-pre-wrap">{{ JSON.stringify(task.brief, null, 2) }}</pre>
|
||||
</details>
|
||||
</div>
|
||||
<div v-if="task.acceptance_criteria" class="mb-2 px-3 py-2 border border-gray-700 bg-gray-900/40 rounded">
|
||||
<div class="text-xs font-semibold text-gray-400 mb-1">{{ t('taskDetail.acceptance_criteria') }}</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue