Skip to content

Zilla-RS 0.2.5

Choose a tag to compare

@zagg zagg released this 23 Oct 15:00
· 2 commits to master since this release

Zilla-RS 0.2.5 — the transfer queue finally lets go, and the sites you keep come to the top bar.

What's changed

  • A finished row leaves the queue. The engine wrote "Done", "Down", "Normal" on the wire while the page compares t.state === "done": with no meeting point, a completed download never left the list and its state read "en attente" forever — the arrow ignored uploads for the same reason. Rows are normalised on the way into the list, and the wire now speaks lowercase (JobState, Direction, Priority), with the old capitalised forms still accepted when reading transferqueue.json. tests/etats.rs pins the contract.
  • Favourites hang off the top bar. A site flagged as favourite — the star in the manager's tree, or the "favourite" box on its sheet — becomes a button in the toolbar: one click connects, the next gets you out, and the dot on the button says whether a wire is open. Site gained a favorite field; sheets saved before it still load.
  • The connection state reads off the buttons. "Se connecter" greys out while a connection holds the place, "Déconnecter" greys out when none does. Clicking a name in the site tree opens its sheet again.
  • 🧹 empties the queue, not just the tally. Finished rows leave on their own, so the broom now takes the whole list — running transfers included. The engine hands its slots back at the next chunk and reports how many rows it dropped.

Verified by

node tools/verif-ui.js — eight checks, silence is success: what the queue reads off the wire (both cases, both arrows), a finished row gone, the tally and the folded rows, the connect/disconnect buttons greyed the right way round, the favourites bar. 54 Rust tests green, zilla selftest 16/16 on the shipped binary. The visual result — the bar with ten favourites on it, the star in the tree — still wants a real browser.