Skip to content

Zilla-RS 0.2.6

Latest

Choose a tag to compare

@zagg zagg released this 23 Oct 15:30

Zilla-RS 0.2.6 — the connection state finally shows on the toolbar, and the quick-access shortcut stops being a rumour.

What's changed

  • The buttons tell the truth now. The page asked the connection portrait for connected/live; the workstation answers with connections/max_connections — and its active field says whether the transfer is in active mode, not whether a wire is open. So "Se connecter" stayed clickable with a wire open, and "Déconnecter" stayed clickable with none. The check now reads whichever of the three fields the message actually carries (/sites, /status, the WebSocket welcome), so the greying holds wherever the state came from.
  • The page no longer wakes up ignorant. The hello welcome message carries the whole status, but the connections inside it were dropped — a reload with a live pool looked like "offline". It is ingested now, and the buttons are right before you click anything.
  • A pastille on the top bar, lit while a wire is open, naming the host it is holding. Greyed-out means exactly what it says: no colour, no response — "Rappeler" only keeps the floor when there is a site to call back.
  • The shortcut is visible. The favourites bar stays put and, when empty, offers a "Raccourcis" button that opens the site manager; the site sheet gained a "☆ Make it a shortcut" button; the star in the tree got big enough to click; and the shortcut button takes the colour of the connection state, like the rest of the bar.
  • A live harness. tools/harnais-vivant.js drives the same throwaway DOM against a real workstation started by tests/pont.rs (#[ignore] — the rest of the suite stays as quick as before). It found both faults above; the silent harness now plays both shapes of the status portrait so neither comes back.

Verified by

node tools/harnais-vivant.js (five checks against a live server + demo FTP: idle, favourites, connected, disconnected, waking up on an already-open wire) and node tools/verif-ui.js (eight checks, silence is success). 54 Rust tests green, 1 ignored bridge, zilla selftest 16/16 on the shipped binary.