Finalize the launch brief
Resolve the remaining positioning questions and circulate the final brief to product, sales, and support.
Search 71 components and 72 controllers by name, category or description.
Shared Turbo Frame payload and full-layout page rendering from one view
Each action below targets the same edit route. Only the request context changes.
Resolve the remaining positioning questions and circulate the final brief to product, sales, and support.
Choose a presentation
Every action uses the same edit URL.
<hw:button as="a" :href="$editUrl" frame="modal">
<x-lucide-panel-top-open class="size-4" />
Open in modal
</hw:button>
<hw:button as="a" :href="$editUrl" frame="settings-panel" variant="secondary">
<x-lucide-panel-right-open class="size-4" />
Open in sheet
</hw:button>
<hw:button as="a" :href="$editUrl" data-turbo-frame="_top" variant="outline">
<x-lucide-maximize-2 class="size-4" />
Open as page
</hw:button>
The page breadcrumb and host-specific close controls are evaluated only in their active context. Shared form markup stays in the parent.
Returns <turbo-frame id="modal"> and modal controls.
Returns the sheet frame and evaluates only its close branch.
Renders layouts.tasks without a duplicate host frame.
<div class="grid gap-4 md:grid-cols-3">
<article class="rounded-lg border p-4">
<div class="mb-3 flex size-8 items-center justify-center rounded-lg bg-muted">
<x-lucide-panel-top-open class="size-4" />
</div>
<h3 class="font-medium">Turbo-Frame: modal</h3>
<p class="mt-1 text-sm text-muted-foreground">Returns <code><turbo-frame id="modal"></code> and modal controls.</p>
</article>
<article class="rounded-lg border p-4">
<div class="mb-3 flex size-8 items-center justify-center rounded-lg bg-muted">
<x-lucide-panel-right-open class="size-4" />
</div>
<h3 class="font-medium">Turbo-Frame: settings-panel</h3>
<p class="mt-1 text-sm text-muted-foreground">Returns the sheet frame and evaluates only its close branch.</p>
</article>
<article class="rounded-lg border p-4">
<div class="mb-3 flex size-8 items-center justify-center rounded-lg bg-muted">
<x-lucide-monitor class="size-4" />
</div>
<h3 class="font-medium">Direct navigation</h3>
<p class="mt-1 text-sm text-muted-foreground">Renders <code>layouts.tasks</code> without a duplicate host frame.</p>
</article>
</div>
Use track-frame-src to return validation errors to the originating URL. On success, streams update the board and close only the active host.
Submit once
The same form and request validation run in every context.
Detect the host
The request header determines which overlay should close.
Reconcile the board
Targeted streams replace the card and preserve the surrounding page.
public function update(TaskRequest $request, Task $task): mixed
{
$task->update($request->validated());
if ($request->wasFromTurboFrame('modal')
|| $request->wasFromTurboFrame('settings-panel')) {
$frame = $request->wasFromTurboFrame('modal')
? 'modal'
: 'settings-panel';
return turbo_stream()
->replace($task, view('tasks._card', compact('task')))
->update($frame)
->toast('success', 'Task updated');
}
return to_route('tasks.show', $task);
}