feat(frontend): remove document status pills
Status badges (UPLOADED, PLACEHOLDER, etc.) provided no real value to users and have been removed from the document list and document detail header. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -250,16 +250,6 @@ $effect(() => {
|
|||||||
>
|
>
|
||||||
{doc.title || doc.originalFilename}
|
{doc.title || doc.originalFilename}
|
||||||
</h3>
|
</h3>
|
||||||
|
|
||||||
<!-- Status Badge -->
|
|
||||||
<span
|
|
||||||
class="ml-3 inline-flex items-center rounded-full border px-2.5 py-0.5 text-[10px] font-bold tracking-wide uppercase
|
|
||||||
{doc.status === 'UPLOADED'
|
|
||||||
? 'border-brand-mint/50 bg-brand-mint/20 text-brand-navy'
|
|
||||||
: 'border-yellow-200 bg-yellow-50 text-yellow-700'}"
|
|
||||||
>
|
|
||||||
{doc.status}
|
|
||||||
</span>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- Metadata Row -->
|
<!-- Metadata Row -->
|
||||||
|
|||||||
@@ -347,14 +347,6 @@ function versionLabel(v: VersionSummary, index: number): string {
|
|||||||
<h1 class="truncate font-serif text-xl text-brand-navy" title={doc.title}>
|
<h1 class="truncate font-serif text-xl text-brand-navy" title={doc.title}>
|
||||||
{doc.title || doc.originalFilename}
|
{doc.title || doc.originalFilename}
|
||||||
</h1>
|
</h1>
|
||||||
<span
|
|
||||||
class="flex-shrink-0 rounded-full px-3 py-1 font-sans text-xs font-bold tracking-wide uppercase
|
|
||||||
{doc.status === 'UPLOADED'
|
|
||||||
? 'border border-brand-mint bg-brand-mint/30 text-brand-navy'
|
|
||||||
: 'border border-yellow-200 bg-yellow-100 text-yellow-800'}"
|
|
||||||
>
|
|
||||||
{doc.status}
|
|
||||||
</span>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user