From 35bf5ed69e4d7f3ee1cc288a3552b0ac6c4d7c3b Mon Sep 17 00:00:00 2001 From: Norman Niati Date: Fri, 5 Jun 2026 15:57:12 +0200 Subject: [PATCH] fix(ui): add tooltips on solo icons in tables Status pictos in DelegateListView (admin/write columns) had a tooltip only on the granted (green) state; the not-granted (grey) state had an empty title, making it unreadable without context. Wraps each solo dot in a v-tooltip carrying the matching i18n label for all four states, aligning with the activator="parent" pattern already used elsewhere. Other plugin-id tables were audited and already expose tooltips on their solo status icons. Closes #54. --- ui/src/i18n/en.js | 2 ++ ui/src/i18n/fr.js | 2 ++ ui/src/views/DelegateListView.vue | 8 ++++++-- 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/ui/src/i18n/en.js b/ui/src/i18n/en.js index fcdab99..35a114e 100644 --- a/ui/src/i18n/en.js +++ b/ui/src/i18n/en.js @@ -39,7 +39,9 @@ export default { 'delegate.adminHelp': 'With the administration security level on this resource, the receivers of this delegation can create other delegations to share this access with other valid receivers', 'delegate.writeHelp': 'With the write security level, the receivers of this delegation can modify the members of the involved groups. Without this access, this delegation grants read-only rights', 'delegate.adminGranted': 'Administration granted', + 'delegate.adminNotGranted': 'Administration not granted', 'delegate.writeGranted': 'Write access granted', + 'delegate.writeNotGranted': 'Write access not granted', // Fragments wrapping the receiver name in bold red on the delete // confirmation (issue #37). The host keeps the monolithic // `delegate.deleteConfirm` key intact. diff --git a/ui/src/i18n/fr.js b/ui/src/i18n/fr.js index b00b5c0..e9e3e8f 100644 --- a/ui/src/i18n/fr.js +++ b/ui/src/i18n/fr.js @@ -32,7 +32,9 @@ export default { 'delegate.adminHelp': 'Avec le niveau de sécurité d\'administration sur cette ressource, les receveurs de cette délégation peuvent créer d\'autres délégations pour partager cet accès avec d\'autres receveurs valides', 'delegate.writeHelp': 'Avec le niveau de sécurité d\'écriture, les receveurs de cette délégation peuvent modifier les membres des groupes impliqués. Sans cet accès cette délégation ne donne qu\'un droit de lecture', 'delegate.adminGranted': 'Administration accordée', + 'delegate.adminNotGranted': 'Administration non accordée', 'delegate.writeGranted': 'Écriture accordée', + 'delegate.writeNotGranted': 'Écriture non accordée', // Fragments encadrant le nom du destinataire en gras-rouge dans la // confirmation de suppression (issue #37). Le host garde la clé // monolithique `delegate.deleteConfirm` intacte. diff --git a/ui/src/views/DelegateListView.vue b/ui/src/views/DelegateListView.vue index 22f096f..e50c5b0 100644 --- a/ui/src/views/DelegateListView.vue +++ b/ui/src/views/DelegateListView.vue @@ -43,10 +43,14 @@