From 358131ca34420635196097b488ceecaed323e255 Mon Sep 17 00:00:00 2001 From: Marcel Date: Tue, 31 Mar 2026 23:11:11 +0200 Subject: [PATCH] feat(ui): replace DocumentTopBar with responsive orchestrator (issue #173) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Accent bar, h-12/h-14 responsive height, 44×44px back link touch target - PersonChipRow with sender→receivers chips, overflow pill button at ≥768px - DocumentStatusChip dot-only at ≥768px - Edit/annotate/download actions with annotateMode wiring - AnnotateHintStrip below main row when annotateMode active - status field added to Doc type Co-Authored-By: Claude Sonnet 4.6 --- .../src/lib/components/DocumentTopBar.svelte | 231 ++++++++++-------- 1 file changed, 125 insertions(+), 106 deletions(-) diff --git a/frontend/src/lib/components/DocumentTopBar.svelte b/frontend/src/lib/components/DocumentTopBar.svelte index c0c7da65..b0676040 100644 --- a/frontend/src/lib/components/DocumentTopBar.svelte +++ b/frontend/src/lib/components/DocumentTopBar.svelte @@ -1,6 +1,12 @@ -
- -
+
+ +
+ +
+ + -
- -
- +
-
+ +
+ + +

{doc.title || doc.originalFilename}

- {#if compactMeta} -

- {compactMeta} + {#if shortDate} +

+ {shortDate} +

{/if}
+ + +
+ +
+ + + {#if extraCount > 0} + + {/if} + + + + +
+ {#if canAnnotate && isPdf && !annotateMode} + + {/if} + + {#if canAnnotate && isPdf && annotateMode} + + {/if} + + {#if canWrite && !annotateMode} + + + + + {/if} + + {#if doc.filePath && !annotateMode} + + {/if} +
- -
- {#if canAnnotate && isPdf} - - {/if} - - {#if canWrite} - - - - - {/if} - - {#if doc.filePath} - - - - {/if} -
+ +