Fix task row title color + add submitted date

- Title forced to --text-primary (was inheriting link color)
- Submitted date prepended before 'Submitted by' using task.submitted_at

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Krao Hasanee
2026-05-13 12:52:58 -04:00
parent c7485257f6
commit 03fbed8ccc
+2 -2
View File
@@ -92,14 +92,14 @@ export default function MyRequests() {
style={{ display: 'flex', alignItems: 'center', justifyContent: 'space-between', padding: '12px 16px', borderBottom: isLast ? 'none' : '1px solid var(--border)', textDecoration: 'none' }}
>
<div>
<span style={{ fontWeight: 600, fontSize: 13 }}>
<span style={{ fontWeight: 600, fontSize: 13, color: 'var(--text-primary)' }}>
{task.title}{' '}
<span style={{ fontWeight: 400, color: 'var(--text-muted)' }}>
{'R' + String(task.current_version || 0).padStart(2, '0')}
</span>
</span>
<div style={{ fontSize: 11, color: 'var(--text-muted)', marginTop: 2 }}>
Submitted by {initialSub?.submitted_by_name || 'Unknown'}
{task.submitted_at && `${new Date(task.submitted_at).toLocaleDateString()} · `}Submitted by {initialSub?.submitted_by_name || 'Unknown'}
{hasRevision && ` · Last updated by ${latestSub.submitted_by_name}`}
</div>
</div>