From 85d0b8de5d219a43f33065d56f18ac8b2d6a0a2d Mon Sep 17 00:00:00 2001 From: iris Date: Wed, 9 Sep 2026 00:30:27 +0200 Subject: [PATCH] swarm-ui: stop suggesting the reserved default account as an example name The link-matrix-account form's placeholder read 'e.g. primary', which sounds like it names the hive-provided default account. That account is actually named main (reserved in hyperhive.matrixAccounts's schema) and this route can neither create nor touch it. Swapped to an example with no relationship to the real default, per #4122. --- .../packages/swarm-ui/src/pages/LinkMatrixAccountForm.tsx | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/frontend/packages/swarm-ui/src/pages/LinkMatrixAccountForm.tsx b/frontend/packages/swarm-ui/src/pages/LinkMatrixAccountForm.tsx index 49dd93b5..e27f5750 100644 --- a/frontend/packages/swarm-ui/src/pages/LinkMatrixAccountForm.tsx +++ b/frontend/packages/swarm-ui/src/pages/LinkMatrixAccountForm.tsx @@ -108,7 +108,13 @@ export function LinkMatrixAccountForm({ value={account} pattern={ACCOUNT_PATTERN} title="1-63 chars: letters, digits, underscore, hyphen" - placeholder="e.g. primary" + // Not "primary" — that reads as naming the hive-provided default + // account (`main`, reserved: see `hyperhive.matrixAccounts`'s own + // module doc), which this route can neither create nor touch. + // Picking a name with no relationship to that default avoids the + // misread entirely, rather than requiring a reader to already know + // the reservation to see through it. + placeholder="e.g. ops-relay" required onInput={setAccount} />