From f24bc1084fdab7735009fdaa5ff5858fad2f12b9 Mon Sep 17 00:00:00 2001 From: Claas Date: Thu, 6 Aug 2026 15:39:56 +0200 Subject: [PATCH] Pick repositories with a folder dialog and a recents list MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Replaces the placeholder path field with the native folder picker and a welcome pane that offers what was opened before. The picker is wrapped in one module so nothing else imports the dialog plugin, which is also what lets the tests stand in for it in one place. Dismissing the dialog resolves to undefined and is treated as an ordinary outcome — cancelling is not a failure to report. A recent entry opens by its stored path rather than its name, and stays openable when the folder is missing: a drive may simply not be mounted, and refusing to try would be presumptuous. It is marked so the reason a click might fail is visible before it does. Forgetting removes the entry straight away and puts it back if the call fails — waiting on a round trip to see your own click take effect feels broken. A row is two controls side by side rather than one containing another, which HTML does not allow. Every forget button reads "Forget" on screen, so each carries the repository name as hidden text; otherwise they would be indistinguishable by voice. Two things the tests pushed on: - The recents list is named after its heading, so it can be addressed as the recent list rather than as "a list" — the ref sidebar is a list too, and an unscoped query counts four extra rows. Naming a