From b50750466622dd6cda0fc084d39dfce000ad0081 Mon Sep 17 00:00:00 2001 From: Christophe Besson Date: Tue, 11 Aug 2026 16:12:16 +0200 Subject: fix(ui): upload chunk size, cached file display, chat names, file delete, inline thumbnails MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Upload chunks capped at 64KB to avoid WebRTC DataChannel max-message-size - Show cached files immediately while WebRTC connects (tabs visible during connection) - Persist sender_name in chat store (SQLite) — no more UUID display in history - File delete action in menu (node admin only, enforced server-side) - FILE_DELETE / FILE_DELETE_ACK MNP message types - Inline image thumbnails in chat attachments (download+decrypt, Signal-style) - Member panel: "Owner" label instead of "Group admin" to avoid hub/group admin confusion - Create group page: hint about needing a node - Refresh index after chat file attachment upload Co-Authored-By: Claude Opus 4.6 --- packages/meshbay-hub/src/meshbay_hub/static/style.css | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'packages/meshbay-hub/src/meshbay_hub/static/style.css') diff --git a/packages/meshbay-hub/src/meshbay_hub/static/style.css b/packages/meshbay-hub/src/meshbay_hub/static/style.css index 6e1eedd..542c672 100644 --- a/packages/meshbay-hub/src/meshbay_hub/static/style.css +++ b/packages/meshbay-hub/src/meshbay_hub/static/style.css @@ -674,12 +674,23 @@ button:disabled { opacity: 0.5; cursor: not-allowed; } font-weight: 500; font-size: 0.88em; } +.chat-att-thumb { + max-width: 200px; + max-height: 200px; + border-radius: 6px; + object-fit: contain; + display: block; + cursor: pointer; +} .chat-att-size { font-size: 0.75em; color: var(--text-dim); } .chat-bubble-own .chat-att-size { color: rgba(255, 255, 255, 0.6); } +.file-menu button.danger { color: var(--error); } +.file-menu button.danger:hover { background: var(--error-bg); } + /* ── Download button + progress ──────────────────────────────────────────── */ .dl-btn { -- cgit v1.2.3