From 3ee7f817d532208df1d95ecd86def12e5bd53a18 Mon Sep 17 00:00:00 2001 From: Christophe Besson Date: Tue, 11 Aug 2026 15:39:09 +0200 Subject: fix(ui): group creation error, chat UUIDs, file preview, action menu Bug fixes: - Group creation "[object Object]" error: removed dead pkcs8 import code that threw before GEK wrapping, added array detail handling in hubFetch - Chat shows usernames instead of UUIDs (sender_name passed through node) - Join button: navigate to group on "Already a member" instead of error UI improvements: - Loading spinner animation for async states (connecting, fetching) - File action menu (3-dot dropdown: View, Download, Play) - Click filename to preview inline (images, text/code files) - FilePreview overlay for images and text files - Chat file attachment button (upload to node + structured message) - Chat attachment display (icon, filename, size) - Member panel: "Group admin" badge instead of plain "Admin" text Co-Authored-By: Claude Opus 4.6 --- packages/meshbay-hub/src/meshbay_hub/static/i18n.js | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'packages/meshbay-hub/src/meshbay_hub/static/i18n.js') diff --git a/packages/meshbay-hub/src/meshbay_hub/static/i18n.js b/packages/meshbay-hub/src/meshbay_hub/static/i18n.js index 0ec7d4a..8ac35e7 100644 --- a/packages/meshbay-hub/src/meshbay_hub/static/i18n.js +++ b/packages/meshbay-hub/src/meshbay_hub/static/i18n.js @@ -86,6 +86,7 @@ const en = { 'group.offline_hint': 'Files will appear when a node hosting this group connects.', 'group.upload': 'Upload', 'group.uploading': 'Uploading...', + 'group.view': 'View', 'group.err_transport': 'Transport module not loaded', // Status @@ -101,6 +102,7 @@ const en = { 'chat.empty': 'No messages yet. Start the conversation!', 'chat.placeholder': 'Type a message...', 'chat.send': 'Send', + 'chat.attach': 'Attach file', // Video player 'video.loading': 'Loading {name}...', @@ -204,7 +206,9 @@ const en = { // Members 'members.col_role': 'Role', + 'members.group_role': 'Group role', 'members.admin': 'Admin', + 'members.group_admin': 'Group admin', 'members.member': 'Member', 'members.invite_title': 'Invite member', 'members.username_placeholder': 'Username', -- cgit v1.2.3