fix(ui): Timeline uses EventFeed's internal scroll + load-older button
All checks were successful
CI / cleanup-branch (push) Has been skipped
CI / build (push) Successful in 1m29s
CI / docker (push) Successful in 1m15s
CI / deploy-feature (push) Has been skipped
CI / deploy (push) Successful in 39s

EventFeed has its own search + filter toolbar inside the component.
Wrapping it in InfiniteScrollArea made the toolbar scroll out of
sight. Drop InfiniteScrollArea for the Timeline, give EventFeed a
bounded-height flex container (it scrolls its own .list internally),
and add an explicit 'Load older events' button for cursor
pagination. Polling always on for events (low volume).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
hsiegeln
2026-04-17 15:25:48 +02:00
parent a3429a609e
commit 9292bd5f5f
3 changed files with 61 additions and 38 deletions

View File

@@ -129,3 +129,36 @@
align-items: center;
gap: 6px;
}
/* Timeline: EventFeed owns its own scroll (so its internal search/filter
toolbar stays pinned). Give it a bounded height and let its .list scroll.
Pagination via the explicit "Load older" button below, not scroll. */
.eventFeedContainer {
display: flex;
flex-direction: column;
max-height: 360px;
min-height: 0;
overflow: hidden;
}
.loadOlderBtn {
padding: 8px 12px;
border: none;
border-top: 1px solid var(--border-subtle);
background: var(--bg-surface);
color: var(--text-muted);
font-size: 12px;
cursor: pointer;
text-align: center;
font-family: var(--font-body);
}
.loadOlderBtn:hover:not(:disabled) {
color: var(--text-primary);
background: var(--bg-hover);
}
.loadOlderBtn:disabled {
opacity: 0.5;
cursor: not-allowed;
}