From 68f5ab1e54700445b19ca4b6fb08874be4616cb4 Mon Sep 17 00:00:00 2001 From: Bernhard Weichel Date: Wed, 3 Dec 2025 20:17:07 +0100 Subject: [PATCH 01/14] feat(ui): improve description column layout in tags table - Enable text wrapping for description cells - Set max-width and word-break properties - Add specific styling for description cells - Update table container scrolling behavior --- src/components/common/AdminTable.vue | 18 ++++++++++++++---- src/components/tags/TagsAdmin.vue | 2 +- 2 files changed, 15 insertions(+), 5 deletions(-) diff --git a/src/components/common/AdminTable.vue b/src/components/common/AdminTable.vue index 6d8e62b..08f2ae2 100644 --- a/src/components/common/AdminTable.vue +++ b/src/components/common/AdminTable.vue @@ -437,7 +437,8 @@ defineExpose({ .table-container { width: 100%; max-width: 100%; - overflow: auto; + overflow-x: auto; + overflow-y: auto; border-radius: 8px; background: var(--ct-bg-primary, #ffffff); margin-bottom: 0; @@ -485,10 +486,19 @@ defineExpose({ .admin-data-table td { padding: 0.75rem 1rem; border-bottom: 1px solid var(--ct-border-color, #f0f2f5); - white-space: nowrap; - overflow: hidden; - text-overflow: ellipsis; vertical-align: middle; + word-wrap: break-word; + overflow-wrap: break-word; + white-space: normal; + max-width: 300px; /* Default max-width for all cells */ +} + +/* Specific style for description cells */ +.admin-data-table td.description-cell { + white-space: normal; + min-width: 200px; + max-width: 400px; + word-break: break-word; } .admin-data-table th.sortable { diff --git a/src/components/tags/TagsAdmin.vue b/src/components/tags/TagsAdmin.vue index 8ab8323..01c91c4 100644 --- a/src/components/tags/TagsAdmin.vue +++ b/src/components/tags/TagsAdmin.vue @@ -365,7 +365,7 @@ const tableColumns: TableColumn[] = [ width: 150, cellSlot: 'cell-color', }, - { key: 'description', label: 'Beschreibung', sortable: true, resizable: true, width: 250 }, + { key: 'description', label: 'Beschreibung', sortable: true, resizable: true, width: 250, cellClass: 'description-cell' }, { key: 'actions', label: 'Aktionen', From 969634359b55a81563e31c3d4f3dca8b3aae654b Mon Sep 17 00:00:00 2001 From: Bernhard Weichel Date: Thu, 4 Dec 2025 11:54:21 +0100 Subject: [PATCH 02/14] feat(ui): enhance date range options in expiring appointments - Add more intuitive date range options (e.g., '6 Monate', '12 Monate') - Extend the maximum range to 18 months - Bump version to 1.0.10 --- package.json | 2 +- .../ExpiringAppointmentsAdmin.vue | 13 ++++++------- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/package.json b/package.json index 93d62bd..0d04cdc 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "churchtools-dashboard", "private": true, - "version": "1.0.9", + "version": "1.0.10", "type": "module", "scripts": { "dev": "vite", diff --git a/src/components/expiring-appointments/ExpiringAppointmentsAdmin.vue b/src/components/expiring-appointments/ExpiringAppointmentsAdmin.vue index ef2702c..c785a9b 100644 --- a/src/components/expiring-appointments/ExpiringAppointmentsAdmin.vue +++ b/src/components/expiring-appointments/ExpiringAppointmentsAdmin.vue @@ -25,13 +25,12 @@ Tagen enden Termine anzeigen From 3c99fdb8f74425360244ecbb167940adc0705389 Mon Sep 17 00:00:00 2001 From: Bernhard Weichel Date: Thu, 4 Dec 2025 12:42:03 +0100 Subject: [PATCH 03/14] feat: enhance tag display in appointment table - Display tags as styled badges with proper colors - Add tooltips showing tag descriptions on hover - Sort tags alphabetically within each cell - Fix tag data processing in API response - Improve tag styling to match design system --- .../ExpiringAppointmentsAdmin.vue | 261 ++++++++++++++++-- src/composables/useExpiringAppointments.ts | 8 +- src/services/churchtools.ts | 44 ++- 3 files changed, 280 insertions(+), 33 deletions(-) diff --git a/src/components/expiring-appointments/ExpiringAppointmentsAdmin.vue b/src/components/expiring-appointments/ExpiringAppointmentsAdmin.vue index c785a9b..d2c5c7d 100644 --- a/src/components/expiring-appointments/ExpiringAppointmentsAdmin.vue +++ b/src/components/expiring-appointments/ExpiringAppointmentsAdmin.vue @@ -48,6 +48,26 @@ + +
+ +
- - - +