From 82da3fd64b78a5eda1997cc1c410496c22b92582 Mon Sep 17 00:00:00 2001 From: Paulo Castellano Date: Fri, 4 Sep 2026 18:29:10 -0300 Subject: [PATCH] Show disconnect alongside reconnect on lost social connections (#332) When a social account's token expired or the connection was lost, the Connections card only offered "Reconnect". Users who wanted to drop that account and connect a different one had no way to do it from the UI. The lost-connection card now renders both Reconnect and Disconnect, reusing the existing disconnect confirmation flow. The connected-state Disconnect button gets a data-testid too so browser tests can target either state by account id. --- .../accounts/NetworkConnectGrid.vue | 27 ++++++++++++++----- tests/Browser/NetworkConnectGridTest.php | 19 +++++++++++++ 2 files changed, 40 insertions(+), 6 deletions(-) diff --git a/resources/js/components/accounts/NetworkConnectGrid.vue b/resources/js/components/accounts/NetworkConnectGrid.vue index 0f5f1c5d..23fc3c6d 100644 --- a/resources/js/components/accounts/NetworkConnectGrid.vue +++ b/resources/js/components/accounts/NetworkConnectGrid.vue @@ -234,19 +234,34 @@ const cards = computed(() => {

- + + +