WIP: feat(wizard): offer the default token when adding or editing an account #106

Closed
KofTwentyTwo wants to merge 1 commits from feat/default-token-wizard into feat/default-token-ux
pull from: feat/default-token-wizard
1 Commits
Author SHA1 Message Date
james.maesandClaude Fable 5.1 9667f437b7 feat(wizard): offer the default token when adding or editing an account
Step 2 of the account wizard becomes a choice when a default token is saved in
Settings: "Use the default token from Settings" (preselected for a new account,
or when the Quick Sync connection being saved runs on it) or "Use a different
token for this account". The default token is fetched only to validate and is
never loaded into the box, which is disabled while the default is selected.
Editing switches either way: choosing the default says the account's own token
will be removed on save, choosing an own token on a default-token account asks
for one, and a default token removed while the wizard is open gives a
Settings-specific message instead of a generic failure.

The pane tags default-token accounts ("Default token", also in the item's
automation name), and Sync All skips such an account with no default token
saved, naming Settings, before it would hit a generic auth error.

Closes #105
Part of #102

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Signed-off-by: James Maes <james@kof22.com>
2026-10-10 17:11:10 -05:00