feat(topbar): remove DocumentStatusChip — status dot has no value for users

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Marcel
2026-04-02 11:41:03 +02:00
parent 01ba0d4121
commit e362bc4977

View File

@@ -3,11 +3,9 @@ import { m } from '$lib/paraglide/messages.js';
import { formatDate } from '$lib/utils/personFormat';
import { clickOutside } from '$lib/actions/clickOutside';
import PersonChipRow from './PersonChipRow.svelte';
import DocumentStatusChip from './DocumentStatusChip.svelte';
import AnnotateHintStrip from './AnnotateHintStrip.svelte';
import OverflowPillButton from './OverflowPillButton.svelte';
type DocumentStatus = 'PLACEHOLDER' | 'UPLOADED' | 'TRANSCRIBED' | 'REVIEWED' | 'ARCHIVED';
type Person = { id: string; firstName: string; lastName: string };
type Doc = {
@@ -15,7 +13,6 @@ type Doc = {
title?: string | null;
originalFilename?: string | null;
documentDate?: string | null;
status: DocumentStatus;
sender?: Person | null;
receivers?: Person[] | null;
filePath?: string | null;
@@ -158,8 +155,6 @@ let mobileMenuOpen = $state(false);
<OverflowPillButton extraCount={extraCount} persons={overflowPersons} />
{/if}
<DocumentStatusChip status={doc.status} />
<!-- Action buttons -->
<div class="ml-2 flex shrink-0 items-center gap-1.5 pr-3 font-sans">
{#if canAnnotate && isPdf && !annotateMode}