From effb33dbe9f9116a5bdab66bd02fbfcd9197290d Mon Sep 17 00:00:00 2001 From: zurdi Date: Wed, 23 Sep 2026 09:14:09 +0200 Subject: [PATCH] refactor(v2): one home for checkbox selection, and fix the a11y lint The `ref>` plus clone-and-swap plus all/some computeds had been written three times: the Files tab, the Firmware tab, and the Save data tab this branch added. `useIdSelection` now owns it, and all three call it. It keeps the stale-id defence the Files tab had and the other two lacked: the count comes from intersecting with the live list, so an id left behind by a delete elsewhere cannot inflate it. The set is replaced rather than mutated, since Vue does not track `Set` writes. The toolbar's count moves onto RCheckbox's own `label`, which is what associates the two. Wrapping the checkbox in a bare `