aboutsummaryrefslogtreecommitdiffstats
path: root/packages/meshbay-hub/src/meshbay_hub/static/locales/en.js
diff options
context:
space:
mode:
authorChristophe Besson <cbesson@gmail.com>2026-10-10 09:57:17 +0200
committerChristophe Besson <cbesson@gmail.com>2026-10-10 09:57:29 +0200
commit876f4a351f859201ca68fbf8d585c86905571686 (patch)
tree7bf029b884ae427352e6c2e7af0cbba887dea824 /packages/meshbay-hub/src/meshbay_hub/static/locales/en.js
parent42b562fcf312ddceb78438b5daea49d4c9b465c8 (diff)
downloadmeshbay-876f4a351f859201ca68fbf8d585c86905571686.tar.gz
fix(client): say when the account's node is elsewhere, and let go of it
Signing in on a desktop links this machine's node to the account, but never over a key already linked (that would cut off the user's other machine) nor a node set up for another account. On a real install both left the node reading "Running" while the hub refused it in a loop, and nothing said why. And the only way to unlink was the linked machine's own Node page, of no use once that machine is gone. - The Node page works out, from the node and the hub each time it looks, whether this node can serve the signed-in account (nodeLinkProblem), and says why not: "Link this node instead" (asked first) puts this node's key on the account; "Use this node for my account" switches a node set up for another account through node:start, which takeOver now lets past a node that answers "running". The first version went through node:start for both, and clicking it on a real install did nothing: a node signed in before the account was linked elsewhere answers "running". - The Profile page unlinks the account's node (DELETE /v1/users/me/node_key), from any machine. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'packages/meshbay-hub/src/meshbay_hub/static/locales/en.js')
-rw-r--r--packages/meshbay-hub/src/meshbay_hub/static/locales/en.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/packages/meshbay-hub/src/meshbay_hub/static/locales/en.js b/packages/meshbay-hub/src/meshbay_hub/static/locales/en.js
index f5b3808..6f3be87 100644
--- a/packages/meshbay-hub/src/meshbay_hub/static/locales/en.js
+++ b/packages/meshbay-hub/src/meshbay_hub/static/locales/en.js
@@ -530,6 +530,9 @@ export default {
'settings.node_key_placeholder': 'Paste node Ed25519 public key (base64)',
'settings.node_key_submit': 'Link Node',
'settings.node_key_success': 'Node linked successfully',
+ 'settings.node_key_unlink': "Unlink",
+ 'settings.node_key_unlink_confirm': "Unlink the node from your account? It stops serving your groups until a node is linked again.",
+ 'settings.node_key_unlinked': "Node unlinked",
'settings.node_key_current': 'Linked node key',
// Sidebar
@@ -1093,6 +1096,12 @@ export default {
'node.pair_button': 'Pair this browser',
'node.pair_success': 'Paired successfully.',
'node.pair_pending': "Pairing code ready: it is used the next time you open one of this node's groups.",
+ 'node.link_other_node': "Your account is linked to the node of another machine, so this node cannot serve your groups.",
+ 'node.link_here': "Link this node instead",
+ 'node.link_here_confirm': "Link this node to your account? The node linked now, on another machine, stops serving your groups until it is linked again.",
+ 'node.link_other_account': "This node is set up for {account}, not for you, so it cannot serve your groups.",
+ 'node.link_take_over': "Use this node for my account",
+ 'node.link_linking': "Linking…",
'node.reload': 'Reload config',
'node.reloaded': 'Config reloaded. Root changes on existing groups are now active.',
'node.attach_group': 'Add group',