From da1c16d5d2518581098a75cf28d31e404c07d66d Mon Sep 17 00:00:00 2001 From: Christophe Besson Date: Tue, 11 Aug 2026 17:03:21 +0200 Subject: fix(ui): remove duplicate connecting messages and buggy stream progress bar MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 1. "Connecting..." was shown in 3 places simultaneously (status badge, cached files area, and general status). Now only the badge shows it when cached files are visible — the redundant messages are removed. 2. The floating stream progress bar caused constant re-renders during video streaming (every 256KB segment triggered setState). The fMP4 remux size also differs from the original file size, making the progress inaccurate. Removed the overlay bar entirely — the video element's native buffered range indicator is sufficient. Co-Authored-By: Claude Opus 4.6 --- .../meshbay-hub/src/meshbay_hub/static/style.css | 24 ---------------------- 1 file changed, 24 deletions(-) (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 faf8b0f..f3dcbf4 100644 --- a/packages/meshbay-hub/src/meshbay_hub/static/style.css +++ b/packages/meshbay-hub/src/meshbay_hub/static/style.css @@ -909,30 +909,6 @@ button:disabled { opacity: 0.5; cursor: not-allowed; } max-width: 400px; } -.video-stream-bar { - position: absolute; - bottom: 60px; - left: 50%; - transform: translateX(-50%); - display: flex; - align-items: center; - gap: 8px; - background: rgba(0, 0, 0, 0.6); - padding: 4px 12px; - border-radius: 12px; - z-index: 10; -} - -.video-progress-bar.small { - width: 120px; - height: 4px; -} - -.video-stream-label { - font-size: 0.7em; - color: rgba(255, 255, 255, 0.7); - white-space: nowrap; -} .play-btn { background: none; -- cgit v1.2.3