From 492cb5d8c8933601df82ec9a5c51cbca7991bf4c Mon Sep 17 00:00:00 2001
From: NFriedo <69233063+NFriedo@users.noreply.github.com>
Date: Fri, 8 Nov 2024 12:02:02 +0100
Subject: [PATCH 1/3] BC-8353 - UX adjustments remove participant dialog
(#3439)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
This PR improves the remove dialog on the participants table.
* change german common.actions.remove value from "Löschen" to "Entfernen"
* make Spanish language keys for room consistent (sala instead of habitación)
* make vCustomDialog responsive
remove participant confirmation dialog:
* change button label to be "Remove" instead of "Confirm"
* adjust the remove dialog text for en, es, uk
participants page:
* adjust the info text on the participant page for all languages
* replace remove icon in the table with icon button
---
src/components/molecules/TaskItemMenu.vue | 4 ++--
src/components/organisms/vCustomDialog.vue | 23 +++++++------------
src/locales/de.ts | 4 ++--
src/locales/en.ts | 4 ++--
src/locales/es.ts | 22 +++++++++---------
src/locales/uk.ts | 4 ++--
.../media-shelf/MediaBoardLineMenu.unit.ts | 2 +-
.../media-shelf/MediaBoardLineMenu.vue | 2 +-
src/modules/feature/news-form/FormNews.vue | 2 +-
.../RoomParticipants/ParticipantsTable.vue | 7 +++---
.../page/room/RoomParticipants.page.vue | 8 ++++---
.../administration/ClassOverview.page.vue | 1 +
.../course-rooms/CourseRoomDetails.page.vue | 2 +-
.../tools/RoomExternalToolsSection.vue | 1 +
14 files changed, 41 insertions(+), 45 deletions(-)
diff --git a/src/components/molecules/TaskItemMenu.vue b/src/components/molecules/TaskItemMenu.vue
index 9ba35459d0..4d85ac0e3b 100644
--- a/src/components/molecules/TaskItemMenu.vue
+++ b/src/components/molecules/TaskItemMenu.vue
@@ -81,7 +81,7 @@
>
- {{ $t("common.actions.remove") }}
+ {{ $t("common.actions.delete") }}
@@ -89,7 +89,7 @@
v-model:isOpen="confirmDeleteDialogIsOpen"
:size="375"
has-buttons
- confirm-btn-title-key="common.actions.remove"
+ confirm-btn-title-key="common.actions.delete"
@dialog-confirmed="handleDelete"
>
diff --git a/src/components/organisms/vCustomDialog.vue b/src/components/organisms/vCustomDialog.vue
index d1a1b2192e..8e503755e0 100644
--- a/src/components/organisms/vCustomDialog.vue
+++ b/src/components/organisms/vCustomDialog.vue
@@ -13,8 +13,7 @@
-
-
+
+