bjogui/tests
Linus Björnstam cfcb1851b7 Dialogs, file pickers, and closing by the program's leave
(bjogui dialogs) has alert, confirm and prompt, the open, save and folder
pickers, and quit, each a command whose answer comes back as a message. A
dialog is a window, which only the UI thread may make, so the command posts
it there and awaits its Task in a fiber. Avalonia's dialogs take no
CancellationToken, so they cannot be task->event; the Task is awaited
through the non-generic Task.WhenAll, and its result read by reflection,
because Bjolang reads no Task's Result.

With no window, as under start-app, each answers as if cancelled.

run-app's #:on-close turns the close button into a message, and quit
closes the windows by program, which is not asked again.

🤖 Generated with [ECA](https://eca.dev) (anthropic/claude-opus-4-8)

Co-Authored-By: eca-agent <git@eca.dev>
2026-10-25 18:01:27 +01:00
..
app.bjo Commands and subscriptions, and gui-update 2026-10-25 17:02:02 +01:00
controls.bjo Keyed children, and eight more controls 2026-10-25 17:13:35 +01:00
dialogs.bjo Dialogs, file pickers, and closing by the program's leave 2026-10-25 18:01:27 +01:00
effects.bjo Commands and subscriptions, and gui-update 2026-10-25 17:02:02 +01:00
lists.bjo List boxes, tabs, colours and borders 2026-10-25 17:21:40 +01:00
menus.bjo Menus, context menus and keyboard shortcuts 2026-10-25 17:55:19 +01:00