Loading
Resolve #3635987 "Status messages are lost when using hx-select"
The first commit adds a Nightwatch test that fails on 11.x. The second commit fixes it in htmx-assets.js. Status messages are taken out of each response and shown in the page's messages area, then announced.
They show after the swap, or when the request ends without one, such as an error response. The third commit updates the Umami performance test expectations, as drupal.htmx now depends on drupal.announce.
Five more Nightwatch cases cover escaping in the announcement, a request without hx-select, an error response, and a boosted link with and without a swap delay. The first case also checks that Olivero's close button attaches.
Generated with the help of an LLM.