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:
@@ -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' }}
|
style={{ display: 'flex', alignItems: 'center', justifyContent: 'space-between', padding: '12px 16px', borderBottom: isLast ? 'none' : '1px solid var(--border)', textDecoration: 'none' }}
|
||||||
>
|
>
|
||||||
<div>
|
<div>
|
||||||
<span style={{ fontWeight: 600, fontSize: 13 }}>
|
<span style={{ fontWeight: 600, fontSize: 13, color: 'var(--text-primary)' }}>
|
||||||
{task.title}{' '}
|
{task.title}{' '}
|
||||||
<span style={{ fontWeight: 400, color: 'var(--text-muted)' }}>
|
<span style={{ fontWeight: 400, color: 'var(--text-muted)' }}>
|
||||||
{'R' + String(task.current_version || 0).padStart(2, '0')}
|
{'R' + String(task.current_version || 0).padStart(2, '0')}
|
||||||
</span>
|
</span>
|
||||||
</span>
|
</span>
|
||||||
<div style={{ fontSize: 11, color: 'var(--text-muted)', marginTop: 2 }}>
|
<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}`}
|
{hasRevision && ` · Last updated by ${latestSub.submitted_by_name}`}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user