Gib den Aufbau-Dialogen Fokusfalle und Esc und öffne „Medium anlegen“ ohne offenen Picker dahinter.
Dialoge zeigen beim Öffnen keine Meldung einer früheren Aktion mehr. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
e7b0932e54
commit
494e9fa0fb
3 files changed
+8
-5
No files matched your search
@@ -483,6 +483,7 @@ public function einordnungUnsaved(): bool
|
||||
|
||||
public function openText(): void
|
||||
{
|
||||
$this->feedback = '';
|
||||
$this->pickerOpen = false;
|
||||
$this->moduleOpen = false;
|
||||
$this->partOpen = false;
|
||||
@@ -1084,6 +1085,7 @@ public function openModule(): void
|
||||
$this->pickerOpen = false;
|
||||
$this->partOpen = false;
|
||||
$this->textOpen = false;
|
||||
$this->feedback = '';
|
||||
$this->moduleTab = in_array($this->moduleTab, ['didaktik', 'titelbild'], true) ? $this->moduleTab : 'didaktik';
|
||||
$this->frameFilmChoices = $this->frameFilms();
|
||||
$films = $this->frameFilmChoices;
|
||||
@@ -1146,6 +1148,7 @@ public function openPart(int $index): void
|
||||
$this->partTitle = (string) ($member['title'] ?? '');
|
||||
$this->partBody = (string) ($member['body'] ?? '');
|
||||
$this->partSnapshot = $this->members;
|
||||
$this->feedback = '';
|
||||
$this->moduleOpen = false;
|
||||
$this->pickerOpen = false;
|
||||
$this->textOpen = false;
|
||||
|
||||
@@ -50,7 +50,7 @@
|
||||
</div>
|
||||
@if ($this->releaseArmed)
|
||||
@php($review = $this->releaseReview())
|
||||
<div class="luf-modal" role="dialog" aria-modal="true" aria-labelledby="freigabe-titel">
|
||||
<div class="luf-modal" role="dialog" aria-modal="true" aria-labelledby="freigabe-titel" x-data x-trap.noscroll="true" x-on:keydown.escape.window="$wire.cancelRelease()">
|
||||
<div class="luf-modal-card luf-modal-narrow">
|
||||
<div class="luf-pane-head">
|
||||
<h2 id="freigabe-titel">Fassung freigeben</h2>
|
||||
@@ -304,7 +304,7 @@
|
||||
</div>
|
||||
|
||||
@if ($this->moduleOpen)
|
||||
<div class="luf-modal" role="dialog" aria-modal="true" aria-labelledby="modul-dialog-titel">
|
||||
<div class="luf-modal" role="dialog" aria-modal="true" aria-labelledby="modul-dialog-titel" x-data x-trap.noscroll="true" x-on:keydown.escape.window="$wire.closeModule()">
|
||||
<div class="luf-modal-card">
|
||||
<div class="luf-pane-head">
|
||||
<h2 id="modul-dialog-titel">Didaktik und Katalogbild</h2>
|
||||
@@ -412,7 +412,7 @@
|
||||
|
||||
@if ($this->partOpen && $this->selectedMember())
|
||||
@php($member = $this->selectedMember())
|
||||
<div class="luf-modal" role="dialog" aria-modal="true" aria-labelledby="teil-dialog-titel">
|
||||
<div class="luf-modal" role="dialog" aria-modal="true" aria-labelledby="teil-dialog-titel" x-data x-trap.noscroll="true" x-on:keydown.escape.window="$wire.closePart()">
|
||||
<div class="luf-modal-card luf-modal-narrow">
|
||||
<div class="luf-pane-head">
|
||||
<h2 id="teil-dialog-titel">Bestandteil bearbeiten</h2>
|
||||
@@ -496,7 +496,7 @@
|
||||
@include('filament.verwaltung.abgang', ['offen' => $aufbauOffen || $redaktionOffen])
|
||||
|
||||
@if ($this->textOpen)
|
||||
<div class="luf-modal" role="dialog" aria-modal="true" aria-labelledby="text-titel-ueberschrift">
|
||||
<div class="luf-modal" role="dialog" aria-modal="true" aria-labelledby="text-titel-ueberschrift" x-data x-trap.noscroll="true" x-on:keydown.escape.window="$wire.cancelText()">
|
||||
<form class="luf-modal-card luf-modal-narrow" wire:submit="addText">
|
||||
<div class="luf-pane-head">
|
||||
<h2 id="text-titel-ueberschrift">Neuen Text erstellen</h2>
|
||||
|
||||
@@ -242,7 +242,7 @@
|
||||
@if ($zweck === 'aufbau')
|
||||
<span style="display: flex; flex-wrap: wrap; gap: 0.25rem 1rem;">
|
||||
@if (method_exists($this, 'openText'))<button type="button" class="vw-link is-quiet" wire:click="openText">Neuen Text erstellen</button>@endif
|
||||
<button type="button" class="vw-link is-quiet" wire:click="mountAction('createMedium')">Neues Medium anlegen</button>
|
||||
<button type="button" class="vw-link is-quiet" x-on:click="$wire.closePicker().then(() => $wire.mountAction('createMedium'))">Neues Medium anlegen</button>
|
||||
</span>
|
||||
@if (method_exists($this, 'isProgram') && $this->isProgram())
|
||||
<form wire:submit="startModule" style="display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center;">
|
||||
|
||||
Reference in new issue
Block a user