From 2ef5498ab1509a93691b87b4cc5d9b52bb3f52dc Mon Sep 17 00:00:00 2001 From: Christophe Besson Date: Tue, 18 Aug 2026 17:11:00 +0200 Subject: fix(ui): name the section after its button, drop the folder slash, colour the widget MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit **"Zone sensible" said nothing.** The heading is now the name of the action in it — "Quitter le groupe", or "Supprimer le groupe" for the owner, who sees a different button. Worth stating because it is not quite what was asked for: a fixed "Quitter le groupe" would have sat above a delete button for whoever owns the group. The red goes with it; only the button is red, which is where the warning belongs. `members.danger_title` is gone from all ten locales rather than left behind unread. **A folder name no longer ends in a slash.** The folder icon in the cell beside it already says what it is. **The transfers widget turns green while transfers run.** The badge counts them, but a count has to be read; colour is what carries from across the room, which is the point of a widget in the nav bar rather than on the page. Derived from the live list on every render, so there is no state that can forget to clear when the last transfer ends. The class is set in `app.js` and coloured in `style.css` — either alone does nothing and neither fails loudly, so there is a test for each half. 848 tests pass. Co-Authored-By: Claude Opus 5 --- packages/meshbay-hub/src/meshbay_hub/static/app.js | 11 +++++++---- packages/meshbay-hub/src/meshbay_hub/static/locales/de.js | 1 - packages/meshbay-hub/src/meshbay_hub/static/locales/en.js | 1 - packages/meshbay-hub/src/meshbay_hub/static/locales/es.js | 1 - packages/meshbay-hub/src/meshbay_hub/static/locales/fr.js | 1 - packages/meshbay-hub/src/meshbay_hub/static/locales/it.js | 1 - packages/meshbay-hub/src/meshbay_hub/static/locales/ja.js | 1 - packages/meshbay-hub/src/meshbay_hub/static/locales/nl.js | 1 - packages/meshbay-hub/src/meshbay_hub/static/locales/pl.js | 1 - packages/meshbay-hub/src/meshbay_hub/static/locales/pt-BR.js | 1 - packages/meshbay-hub/src/meshbay_hub/static/locales/zh-CN.js | 1 - packages/meshbay-hub/src/meshbay_hub/static/style.css | 12 +++++------- 12 files changed, 12 insertions(+), 21 deletions(-) (limited to 'packages/meshbay-hub/src') diff --git a/packages/meshbay-hub/src/meshbay_hub/static/app.js b/packages/meshbay-hub/src/meshbay_hub/static/app.js index c460f23..eb11469 100644 --- a/packages/meshbay-hub/src/meshbay_hub/static/app.js +++ b/packages/meshbay-hub/src/meshbay_hub/static/app.js @@ -504,7 +504,8 @@ function TransferWidget() { return html`
-