Ergänze Aufbewahrung, Dokumentation und den Vertrag der Widget-Registry für das Widget Anfrage
CI Feature / test (push) Successful in 4m41s

Der Registry-Test erlaubt bewusst Widgets, die nur aus einem Verweis bestehen (Anfrage: nur die Kennung eines
Einstiegs) und kennt die neue Widget-Art. ADR-60, Beschreibung der Kommunikationsverwaltung, Rückfall und
Migration in der Release-Vorbereitung. Der Browser meldet laufende Zustandsabfragen über aria-busy.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
LarsandClaude Sonnet 5.5 committed 2026-11-27 17:51:04 +01:00
1 parent c6a8167601
commit 22f8afdcd6
9 files changed
+257 -6

No files matched your search

+6
View File
@@ -170,9 +170,15 @@ .inquiry-error:empty {
.inquiry-options {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr));
gap: var(--space-2);
}
/* Anliegen mit Beschreibung: je Zeile eine Option. */
.inquiry-choice .inquiry-options {
grid-template-columns: 1fr;
}
.inquiry-option {
display: flex;
align-items: flex-start;
+9 -4
View File
@@ -378,12 +378,13 @@ class InquiryForm {
refresh() {
const run = ++this.sequence;
this.root.setAttribute('aria-busy', 'true');
this.pending = this.pending.then(async () => {
if (run !== this.sequence) {
return;
}
try {
if (run !== this.sequence) {
return;
}
const response = await fetch(this.root.dataset.stateUrl, {
method: 'POST',
credentials: 'same-origin',
@@ -402,6 +403,10 @@ class InquiryForm {
this.announce(before);
} catch {
// Der letzte bekannte Zustand bleibt; beim Absenden prüft der Server ohnehin alles.
} finally {
if (run === this.sequence) {
this.root.removeAttribute('aria-busy');
}
}
});