From eba2e6b14484c124f3c87ff95cd7ee640833e5d3 Mon Sep 17 00:00:00 2001 From: Christophe Besson Date: Fri, 28 Aug 2026 15:35:20 +0200 Subject: feat(hub): cross-group search with reuse of existing views MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Search page fetches indexes from all groups, then renders consolidated entries through the existing FilesPanel, VideoApp, and MusicApp components — no reimplemented views. Groups appear as top-level directories in the file browser; video/music entries use a synthetic root with per-entry transport refs for thumbnails and metadata across groups. Music player lifted to app.js with getConnection(groupId) for cross-group playback. Connection pool (max 3, LRU eviction) manages lazy WebRTC connections. All 10 locales updated with search keys. Co-Authored-By: Claude Opus 4.6 --- packages/meshbay-hub/src/meshbay_hub/static/locales/zh-CN.js | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'packages/meshbay-hub/src/meshbay_hub/static/locales/zh-CN.js') diff --git a/packages/meshbay-hub/src/meshbay_hub/static/locales/zh-CN.js b/packages/meshbay-hub/src/meshbay_hub/static/locales/zh-CN.js index d2e6b48..45d89f7 100644 --- a/packages/meshbay-hub/src/meshbay_hub/static/locales/zh-CN.js +++ b/packages/meshbay-hub/src/meshbay_hub/static/locales/zh-CN.js @@ -495,14 +495,17 @@ export default { 'search.title': '搜索文件', 'search.placeholder': '在所有群组中搜索…', 'search.no_results': '没有文件符合您的搜索。', - 'search.synced': '{ago}同步', - 'search.cache_note': '搜索依据的是您上次打开每个群组时的状态。' - + '打开某个群组,即可在此更新它的文件。', 'search.col_group': '群组', 'search.result_count': { other: '找到 {n} 个文件', }, - 'search.hint': '在所有已缓存的群组索引中搜索文件名。', + 'search.hint': '输入关键词搜索所有群组。', + 'search.indexing': '正在索引 {done} / {total} 个群组…', + 'search.unreachable': { other: '{n} 个群组无法连接' }, + 'search.view_files': '文件', + 'search.view_videos': '视频', + 'search.view_music': '音乐', + 'search.connecting': '正在连接群组…', // Presence, chat paging, leaving a group, the profile page 'presence.online': '有一个服务本群组的 node 在线', -- cgit v1.2.3