From 73490d331179cb640828b8625abb75208cd7ae5f Mon Sep 17 00:00:00 2001 From: Christophe Besson Date: Fri, 21 Aug 2026 17:50:08 +0200 Subject: feat: D.6 first-run wizard — detect, start, link, group, gek-init, pair MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Desktop client guides new users through the full onboarding sequence without a terminal: detect local node → start daemon (systemd with direct-start fallback for dev) → link node key to hub → create group → attach directories → gek-init → operator pair. - node:detect returns configured field to distinguish missing vs stopped - node:start tries systemctl first, checks is-active, falls back to spawning the binary directly when the unit crashes (dev mode) - probeNode() extracts the shared config→token→fetch pattern - SetupWelcome on empty HomePage links to /create-group - CreateGroupWizard step 0 handles node detection and start - platform.js exposes node.installed() and node.start() - 12 setup.* i18n keys added to all 10 locales - Integration test for node:start fallback logic Co-Authored-By: Claude Opus 4.6 --- packages/meshbay-hub/src/meshbay_hub/static/locales/es.js | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'packages/meshbay-hub/src/meshbay_hub/static/locales/es.js') diff --git a/packages/meshbay-hub/src/meshbay_hub/static/locales/es.js b/packages/meshbay-hub/src/meshbay_hub/static/locales/es.js index 5a95347..90e310d 100644 --- a/packages/meshbay-hub/src/meshbay_hub/static/locales/es.js +++ b/packages/meshbay-hub/src/meshbay_hub/static/locales/es.js @@ -462,4 +462,18 @@ export default { 'group.unmute': 'Unmute notifications', 'profile.title': 'Perfil', 'usermenu.profile': 'Perfil', + + // First-run setup wizard + 'setup.welcome_title': 'Bienvenido a MeshBay', + 'setup.welcome_message': 'Su node aloja sus archivos — cifrados, en su máquina. Vamos a ponerlo en marcha y crear su primer grupo.', + 'setup.node_detected': 'Node local detectado y en funcionamiento.', + 'setup.node_not_running': 'Su node está instalado pero no se está ejecutando.', + 'setup.node_start': 'Iniciar node', + 'setup.node_starting': 'Iniciando node…', + 'setup.node_started': 'Node iniciado.', + 'setup.node_not_installed': 'meshbay-node no está instalado en esta máquina.', + 'setup.node_install_hint': 'Instálelo con su gestor de paquetes y vuelva aquí.', + 'setup.skip': 'Omitir — crear un grupo sin node local', + 'setup.create_group': 'Crear su primer grupo', + 'setup.dismiss': 'Omitir configuración', }; -- cgit v1.2.3