Skip to content

DSH Remote Console 0.10.2 — host list settings, fixed save

Choose a tag to compare

@cccodder cccodder released this 28 Oct 07:03
ab33f6c

The host-list settings page, redone: one row per host with add/remove, and the first save no longer fails with a false conflict.

Changed

  • Host list is now a real list: each host is a row with a delete button; an input with "Add" (Enter works too); Save / Cancel / Reload; empty-state hint. Comment lines (#) are kept. No more single big text field.

Fixed

  • First save used to fail with "设置可能已被别处修改" — the save no longer sends a possibly stale snapshot revision; the server decides with its latest revision. A rejected attempt is retried once after 400 ms, then falls back to a single-field write.
  • If it still fails, the message now carries a diagnostic string (status/revision/writable/mode/attempts), a warning goes to the browser console, the draft is kept, and a "Reload" button is right there — so a failure can be reported with its exact cause.

Install / update