From 29a9356c944f96c83171b81b59d3248b35e2e687 Mon Sep 17 00:00:00 2001 From: Ruben van der Linde Date: Tue, 13 Oct 2026 14:10:30 +0200 Subject: [PATCH 1/2] fix(dialogs): dashboard settings and versions open in the board dialog frame 720px wide, the dashboard's name as a small line over a 20px title, as boards LpDashboardInstellingen and LpVersies draw them. Version history is titled "Versions of {name}" when the name is known. --- l10n/nl.js | 3 +- l10n/nl.json | 3 +- src/modals/DashboardConfigModal.vue | 16 +++++-- src/modals/VersionHistoryModal.vue | 45 ++++++++++++++++--- .../__tests__/VersionHistoryModal.spec.js | 28 ++++++++++++ src/styles/modals.css | 22 +++++++++ src/views/Views.vue | 1 + 7 files changed, 107 insertions(+), 11 deletions(-) diff --git a/l10n/nl.js b/l10n/nl.js index 269bf997a..431c2fc19 100644 --- a/l10n/nl.js +++ b/l10n/nl.js @@ -1411,7 +1411,8 @@ OC.L10N.register( "You acknowledge an announcement on a dashboard" : "Je bevestigt een mededeling op een dashboard", "Credentials" : "Inloggegevens", "My profile" : "Mijn profiel", - "Fields your organisation adds to your profile. Colleagues see them in profile widgets." : "Velden die je organisatie aan je profiel toevoegt. Collega’s zien ze in profielwidgets." + "Fields your organisation adds to your profile. Colleagues see them in profile widgets." : "Velden die je organisatie aan je profiel toevoegt. Collega’s zien ze in profielwidgets.", + "Versions of {name}" : "Versies van {name}" }, "nplurals=2; plural=(n != 1);" ); diff --git a/l10n/nl.json b/l10n/nl.json index c8b50aed6..af3e6a835 100644 --- a/l10n/nl.json +++ b/l10n/nl.json @@ -1388,6 +1388,7 @@ "You acknowledge an announcement on a dashboard": "Je bevestigt een mededeling op een dashboard", "Credentials": "Inloggegevens", "My profile": "Mijn profiel", - "Fields your organisation adds to your profile. Colleagues see them in profile widgets.": "Velden die je organisatie aan je profiel toevoegt. Collega’s zien ze in profielwidgets." + "Fields your organisation adds to your profile. Colleagues see them in profile widgets.": "Velden die je organisatie aan je profiel toevoegt. Collega’s zien ze in profielwidgets.", + "Versions of {name}": "Versies van {name}" } } diff --git a/src/modals/DashboardConfigModal.vue b/src/modals/DashboardConfigModal.vue index e7fe0bba1..24d684b43 100644 --- a/src/modals/DashboardConfigModal.vue +++ b/src/modals/DashboardConfigModal.vue @@ -6,14 +6,22 @@