feat(ui): Korrespondenz redesign — compact strip, log cards, single-person mode #164

Merged
marcel merged 32 commits from feat/issue-162-korrespondenz-redesign into main 2026-03-30 21:38:23 +02:00
Showing only changes of commit e942699078 - Show all commits

View File

@@ -16,14 +16,14 @@ export async function load({ url, fetch }) {
const requests: Promise<void>[] = [];
if (senderId && receiverId) {
if (senderId) {
requests.push(
api
.GET('/api/documents/conversation', {
params: {
query: {
senderId,
receiverId,
receiverId: receiverId || undefined,
dir,
from: from || undefined,
to: to || undefined
@@ -34,9 +34,7 @@ export async function load({ url, fetch }) {
documents = data ?? [];
})
);
}
if (senderId) {
requests.push(
api.GET('/api/persons/{id}', { params: { path: { id: senderId } } }).then(({ data }) => {
const p = data as { firstName: string; lastName: string } | undefined;