From 2fb66c5baecdd8b49be904f6244f66ba04f68061 Mon Sep 17 00:00:00 2001 From: Christophe Besson Date: Mon, 14 Sep 2026 11:17:42 +0200 Subject: feat(ui): an indexing dock above the music bar, on every page MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Adding a large directory left the operator nothing to look at once they left the Settings panel that started it, and nothing at all when it was added from another machine. A band now sits above the music bar on every page: one row per group with indexing under way, naming the root being walked, percent, bytes and files, and the roots waiting their turn; "indexing finished" for a few seconds at the end. A click opens the group's Settings, and × hides the row until that group is idle. Two sources feed it. On the node's own machine the desktop client polls the loopback `GET /api/index-status` for every group, whatever the route. An operator's group page forwards MNP `index_progress` pushes, resolving the root from the roots table it opened; an ordinary member keeps the sidebar dot only, and a page clears its row when it lets go of the group. Where both describe a group, loopback wins. Reconcile passes and watchdog bursts show only past 1 GB or 5 s, so a single dropped file does not flash a bar. The logic lives in index-dock-model.js, which has no imports and is tested under node. The dock publishes `--index-dock-h` and the sidebar stops above it and the music bar. Co-Authored-By: Claude Opus 5 Claude-Session: https://claude.ai/code/session_01T6jPTeocXA1BePekdsgPya --- packages/meshbay-hub/src/meshbay_hub/static/locales/ja.js | 13 +++++++++++++ 1 file changed, 13 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 ff5b693..3140527 100644 --- a/packages/meshbay-hub/src/meshbay_hub/static/locales/ja.js +++ b/packages/meshbay-hub/src/meshbay_hub/static/locales/ja.js @@ -707,6 +707,19 @@ export default { 'presence.offline': 'このグループに到達できる node がありません', 'presence.unknown': '未確認', 'presence.indexing': 'インデックス中 — {pct}%', + 'indexdock.kind_scan': "インデックス中", + 'indexdock.kind_rescan': "再読み込み中", + 'indexdock.kind_reconcile': "差分を取り込み中", + 'indexdock.kind_watch': "新しいファイルをインデックス中", + 'indexdock.waiting': "インデックス待ち", + 'indexdock.done': "インデックス完了", + 'indexdock.listing': "ファイルを一覧中…", + 'indexdock.percent': "{pct}%", + 'indexdock.files': "{done} / {total} ファイル", + 'indexdock.next': "次: {roots}", + 'indexdock.next_count': "待機中: {count}", + 'indexdock.open': "このグループの設定を開く", + 'indexdock.hide': "次のインデックスまで隠す", 'chat.load_older': '以前のメッセージを {n} 件読み込む', 'chat.start_of_history': '会話のはじまり', 'chat.today': '今日', -- cgit v1.2.3