From d31a9cf5797853928fbed2e267617717e55d2ab6 Mon Sep 17 00:00:00 2001 From: Jannis Braun <151788261+TheZwiss@users.noreply.github.com> Date: Wed, 29 Apr 2026 03:01:47 +0200 Subject: [PATCH] =?UTF-8?q?refactor(web):=20RegistrationPanel=20=E2=80=94?= =?UTF-8?q?=20glass-bubble=20modal=20buttons=20+=20clearer=20Revoke=20copy?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../RegistrationPanel.tsx | 117 ++++++++++-------- 1 file changed, 62 insertions(+), 55 deletions(-) diff --git a/packages/web/src/components/modals/instanceSettingsPanels/RegistrationPanel.tsx b/packages/web/src/components/modals/instanceSettingsPanels/RegistrationPanel.tsx index 83303aed..82dcbec6 100644 --- a/packages/web/src/components/modals/instanceSettingsPanels/RegistrationPanel.tsx +++ b/packages/web/src/components/modals/instanceSettingsPanels/RegistrationPanel.tsx @@ -565,22 +565,24 @@ function CreateInviteModal({ onClose, onCreated }: CreateInviteModalProps) { {/* Actions */} -
- - +
+
+ + +
@@ -797,22 +799,24 @@ function EditInviteModal({ invite, onClose, onUpdated }: EditInviteModalProps) { {/* Actions */} -
- - +
+
+ + +
@@ -1025,26 +1029,28 @@ function ReinstateInviteModal({ invite, onClose, onReinstated }: ReinstateInvite {/* Actions */} -
- - +
+
+ + +
@@ -1482,9 +1488,10 @@ function InviteRow({ invite, expanded, onToggleExpand, onMutate }: InviteRowProp title={`Revoke "${invite.name}"?`} description={ <> - The link will stop working immediately. Anyone who has the URL will not be able - to use it. You can reinstate the invite later — that will generate a new link - with a different URL. + The link stops working immediately. Anyone who has the URL can no longer use it. +
+
+ If you change your mind later, Reinstate issues a fresh link under this entry — the original URL stays inactive. } confirmLabel="Revoke link"