From 012d55bcdb487ab67294b8f81fcdc66e36e832f0 Mon Sep 17 00:00:00 2001 From: SandipBajracharya Date: Mon, 14 Sep 2026 20:01:22 +0545 Subject: [PATCH 1/2] chore(OUT-4185): rename disconnect sync action to "Disable" Renames the app-header action label from "Disconnect account" to "Disable account" (and internal disconnectAction -> disableAction) so it reads distinctly from the new Reset connection action. Copy-only, no behavior change. Co-Authored-By: Claude Opus 4.8 --- src/hook/useQuickbooks.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/hook/useQuickbooks.ts b/src/hook/useQuickbooks.ts index ce3be450..90b194b8 100644 --- a/src/hook/useQuickbooks.ts +++ b/src/hook/useQuickbooks.ts @@ -287,7 +287,7 @@ export const useAppBridge = ({ connectionStatus: boolean | null onReset: () => void }) => { - const disconnectAction = async () => { + const disableAction = async () => { const payload = { enable: false, } @@ -295,7 +295,7 @@ export const useAppBridge = ({ try { await postFetcher(url, {}, payload, { timeoutMs: null }) } catch (err) { - console.error('Error disconnecting QuickBooks account', err) + console.error('Error disabling QuickBooks account', err) } } @@ -326,9 +326,9 @@ export const useAppBridge = ({ ...(isConnected && isEnabled && syncFlag ? [ { - label: 'Disconnect account', + label: 'Disable account', icon: 'Disconnect' as Icons, - onClick: disconnectAction, + onClick: disableAction, }, ] : []), From e1980fed9a357b61c35aecaee319533cb38d6624 Mon Sep 17 00:00:00 2001 From: SandipBajracharya Date: Mon, 14 Sep 2026 20:17:02 +0545 Subject: [PATCH 2/2] chore(OUT-4185): use "Disable sync" label over "Disable account" Clearer about what's being turned off (the QBO sync, not the user's account) and matches app vocabulary ("QuickBooks Sync"). Co-Authored-By: Claude Opus 4.8 --- src/hook/useQuickbooks.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hook/useQuickbooks.ts b/src/hook/useQuickbooks.ts index 90b194b8..844cf9b9 100644 --- a/src/hook/useQuickbooks.ts +++ b/src/hook/useQuickbooks.ts @@ -326,7 +326,7 @@ export const useAppBridge = ({ ...(isConnected && isEnabled && syncFlag ? [ { - label: 'Disable account', + label: 'Disable sync', icon: 'Disconnect' as Icons, onClick: disableAction, },