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/ja.js | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'packages/meshbay-hub/src/meshbay_hub/static/locales/ja.js') diff --git a/packages/meshbay-hub/src/meshbay_hub/static/locales/ja.js b/packages/meshbay-hub/src/meshbay_hub/static/locales/ja.js index 1a68827..6f74073 100644 --- a/packages/meshbay-hub/src/meshbay_hub/static/locales/ja.js +++ b/packages/meshbay-hub/src/meshbay_hub/static/locales/ja.js @@ -452,4 +452,18 @@ export default { 'group.unmute': 'Unmute notifications', 'profile.title': 'プロフィール', 'usermenu.profile': 'プロフィール', + + // First-run setup wizard + 'setup.welcome_title': 'MeshBay へようこそ', + 'setup.welcome_message': 'お使いの node がファイルを暗号化してお使いのマシン上に保管します。node を起動して最初のグループを作成しましょう。', + 'setup.node_detected': 'ローカル node が検出され、実行中です。', + 'setup.node_not_running': 'node はインストールされていますが、実行されていません。', + 'setup.node_start': 'node を起動', + 'setup.node_starting': 'node を起動中…', + 'setup.node_started': 'Node が起動しました。', + 'setup.node_not_installed': 'この端末に meshbay-node がインストールされていません。', + 'setup.node_install_hint': 'パッケージマネージャーでインストールし、こちらにお戻りください。', + 'setup.skip': 'スキップ — ローカル node なしでグループを作成', + 'setup.create_group': '最初のグループを作成', + 'setup.dismiss': 'セットアップをスキップ', }; -- cgit v1.2.3