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