Approve the storefront elevations
Collect the retail team’s final approval on the revised street-facing elevations.
Maya Chen
Forma Works
<div id="studio-workspace" class="rl-app studio-workspace" hx-history="false" data-studio-view="board">
<aside class="rl-app-nav studio-nav">
<a class="studio-identity" href="/layouts/dashboard" hx-get="/layouts/dashboard" hx-target="#studio-workspace" hx-swap="outerHTML show:none" hx-push-url="true" hx-sync="#studio-workspace:replace" aria-label="Studio workspace overview">
<span class="studio-identity-mark"><svg aria-hidden="true" focusable="false" viewBox="0 0 24 24" height="18" width="18" fill="none" stroke="currentColor" stroke-width="1.65" stroke-linecap="round" stroke-linejoin="round"><path d="m3 15.5 8.7-10L21 8l-8.8 10.3L3 15.5Zm5.1-5.9 9.3 2.6m-8.4 4.9 8.8-10.2"/></svg></span><span>Studio<small>Team workspace</small></span>
</a>
<nav aria-label="Workspace"><div class="studio-nav-group"><span class="studio-group-name">Workspace</span>
<a href="/layouts/dashboard" hx-get="/layouts/dashboard" hx-target="#studio-workspace" hx-swap="outerHTML show:none" hx-push-url="true" hx-sync="#studio-workspace:replace" >
<svg aria-hidden="true" focusable="false" viewBox="0 0 24 24" height="18" width="18" fill="none" stroke="currentColor" stroke-width="1.65" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="3" width="7" height="7" rx="1.6"/><rect x="14" y="3" width="7" height="7" rx="1.6"/><rect x="3" y="14" width="7" height="7" rx="1.6"/><rect x="14" y="14" width="7" height="7" rx="1.6"/></svg><span>Overview</span>
</a><a href="/layouts/dashboard?view=companies" hx-get="/layouts/dashboard?view=companies" hx-target="#studio-workspace" hx-swap="outerHTML show:none" hx-push-url="true" hx-sync="#studio-workspace:replace" >
<svg aria-hidden="true" focusable="false" viewBox="0 0 24 24" height="18" width="18" fill="none" stroke="currentColor" stroke-width="1.65" stroke-linecap="round" stroke-linejoin="round"><path d="M3 21h18M5 21V5l9-2v18m0-13h5v13M8 8h2M8 12h2M8 16h2"/></svg><span>Companies</span><small aria-hidden="true">6</small>
</a><a href="/layouts/dashboard?view=inventory" hx-get="/layouts/dashboard?view=inventory" hx-target="#studio-workspace" hx-swap="outerHTML show:none" hx-push-url="true" hx-sync="#studio-workspace:replace" >
<svg aria-hidden="true" focusable="false" viewBox="0 0 24 24" height="18" width="18" fill="none" stroke="currentColor" stroke-width="1.65" stroke-linecap="round" stroke-linejoin="round"><path d="m12 2.8 8.5 4.8v8.8L12 21l-8.5-4.6V7.6L12 2.8Zm0 9 8.5-4.2M12 11.8 3.5 7.6M12 12v9M8 5l8.2 4.8"/></svg><span>Inventory</span>
</a><a href="/layouts/dashboard?view=settings" hx-get="/layouts/dashboard?view=settings" hx-target="#studio-workspace" hx-swap="outerHTML show:none" hx-push-url="true" hx-sync="#studio-workspace:replace" >
<svg aria-hidden="true" focusable="false" viewBox="0 0 24 24" height="18" width="18" fill="none" stroke="currentColor" stroke-width="1.65" stroke-linecap="round" stroke-linejoin="round"><path d="M3 7h9m4 0h5M3 17h3m4 0h11"/><circle cx="14" cy="7" r="2"/><circle cx="8" cy="17" r="2"/></svg><span>Settings</span>
</a></div><div class="studio-nav-group"><span class="studio-group-name">Planning</span>
<a href="/layouts/dashboard?view=board" hx-get="/layouts/dashboard?view=board" hx-target="#studio-workspace" hx-swap="outerHTML show:none" hx-push-url="true" hx-sync="#studio-workspace:replace" aria-current="page">
<svg aria-hidden="true" focusable="false" viewBox="0 0 24 24" height="18" width="18" fill="none" stroke="currentColor" stroke-width="1.65" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="4" width="18" height="16" rx="2.4"/><path d="M8 8v7m4-7v4m4-4v6"/></svg><span>Task board</span><small aria-hidden="true">9</small>
</a><a href="/layouts/dashboard?view=calendar" hx-get="/layouts/dashboard?view=calendar" hx-target="#studio-workspace" hx-swap="outerHTML show:none" hx-push-url="true" hx-sync="#studio-workspace:replace" >
<svg aria-hidden="true" focusable="false" viewBox="0 0 24 24" height="18" width="18" fill="none" stroke="currentColor" stroke-width="1.65" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="5" width="18" height="16" rx="2.5"/><path d="M7.5 3v4m9-4v4M3 10h18m-13 4h2m3 0h2"/></svg><span>Bookings</span>
</a></div>
</nav>
</aside>
<section class="rl-app-main studio-main" aria-label="Workspace content"><section class="stb-board" aria-label="Studio task board" data-studio-screen="board" data-studio-default-url="/layouts/dashboard?view=board&display=list&company=forma&task=ST-107">
<header class="rl-page-head stb-head"><div><h1>Task board</h1><p>Forma Works · 2 tasks</p></div>
<a class="rl-button rl-button-primary" href="/layouts/dashboard?view=board&display=board&company=forma&compose=task" hx-get="/layouts/dashboard?view=board&display=board&company=forma&compose=task" hx-target="#studio-workspace" hx-swap="outerHTML show:none" hx-push-url="true" hx-sync="#studio-workspace:replace"><span class="stb-plus" aria-hidden="true">+</span>New task</a>
</header>
<article class="stb-inspector" aria-label="Task details">
<div class="stb-inspector-main">
<div class="stb-card-meta"><span class="stb-ref">ST-107</span><span class="stb-priority" data-priority="Normal" aria-label="Normal priority"><i aria-hidden="true"><b></b><b></b><b></b></i>Normal</span></div>
<p class="stb-inspector-title" tabindex="-1" data-studio-initial-focus>Approve the storefront elevations</p>
<p class="stb-description">Collect the retail team’s final approval on the revised street-facing elevations.</p>
<div class="stb-detail-links"><span><span aria-hidden="true" class="stb-avatar" data-owner="0">MC</span> Maya Chen</span>
<a class="stb-company" href="/layouts/dashboard?view=companies&company=forma" hx-get="/layouts/dashboard?view=companies&company=forma" hx-target="#studio-workspace" hx-swap="outerHTML show:none" hx-push-url="true" hx-sync="#studio-workspace:replace">Forma Works <span aria-hidden="true">↗</span></a></div>
</div>
<div class="stb-inspector-controls"><form action="/demo/studio/tasks" method="post" hx-post="/demo/studio/tasks" hx-target="#studio-workspace" hx-swap="outerHTML show:none" data-rl-form>
<input type="hidden" name="operation" value="move"><input type="hidden" name="id" value="ST-107">
<input type="hidden" name="company" value="forma"><input type="hidden" name="display" value="board"><input type="hidden" name="openTask" value="1">
<label class="rl-field"><span class="rl-label" id="stb-move-status-label">Task status</span><select class="rl-select" aria-labelledby="stb-move-status-label" name="status"><option value="backlog">Backlog</option><option value="active">In progress</option><option value="review" selected>In review</option><option value="done">Done</option></select></label>
<p class="stb-error" role="alert" data-rl-form-error hidden></p>
<button class="rl-button rl-button-primary" type="submit">Save status</button>
</form><a class="stb-back" href="/layouts/dashboard?view=board&display=board&company=forma" hx-get="/layouts/dashboard?view=board&display=board&company=forma" hx-target="#studio-workspace" hx-swap="outerHTML show:none" hx-push-url="true" hx-sync="#studio-workspace:replace">Back to board</a></div>
</article>
<div class="stb-toolbar">
<nav class="stb-view-switch" aria-label="Task views">
<a class="stb-board-label" data-studio-display-choice="board" href="/layouts/dashboard?view=board&display=board&company=forma&task=ST-107" hx-get="/layouts/dashboard?view=board&display=board&company=forma&task=ST-107" hx-target="#studio-workspace" hx-swap="outerHTML show:none" hx-push-url="true" hx-sync="#studio-workspace:replace" aria-current="true"><i aria-hidden="true"></i>Board</a>
<a data-studio-display-choice="list" href="/layouts/dashboard?view=board&display=list&company=forma&task=ST-107" hx-get="/layouts/dashboard?view=board&display=list&company=forma&task=ST-107" hx-target="#studio-workspace" hx-swap="outerHTML show:none" hx-push-url="true" hx-sync="#studio-workspace:replace"><i class="stb-list-icon" aria-hidden="true"></i>List</a>
</nav>
<details class="stb-filter"><summary>Forma Works<span class="stb-chevron" aria-hidden="true"></span></summary>
<div class="stb-filter-menu"><a href="/layouts/dashboard?view=board&display=board" hx-get="/layouts/dashboard?view=board&display=board" hx-target="#studio-workspace" hx-swap="outerHTML show:none" hx-push-url="true" hx-sync="#studio-workspace:replace" >All companies</a><a href="/layouts/dashboard?view=board&display=board&company=forma" hx-get="/layouts/dashboard?view=board&display=board&company=forma" hx-target="#studio-workspace" hx-swap="outerHTML show:none" hx-push-url="true" hx-sync="#studio-workspace:replace" aria-current="true">Forma Works</a><a href="/layouts/dashboard?view=board&display=board&company=arc" hx-get="/layouts/dashboard?view=board&display=board&company=arc" hx-target="#studio-workspace" hx-swap="outerHTML show:none" hx-push-url="true" hx-sync="#studio-workspace:replace">Arc & Field</a><a href="/layouts/dashboard?view=board&display=board&company=stillwater" hx-get="/layouts/dashboard?view=board&display=board&company=stillwater" hx-target="#studio-workspace" hx-swap="outerHTML show:none" hx-push-url="true" hx-sync="#studio-workspace:replace">Stillwater</a><a href="/layouts/dashboard?view=board&display=board&company=tandem" hx-get="/layouts/dashboard?view=board&display=board&company=tandem" hx-target="#studio-workspace" hx-swap="outerHTML show:none" hx-push-url="true" hx-sync="#studio-workspace:replace">Tandem Labs</a><a href="/layouts/dashboard?view=board&display=board&company=cinder" hx-get="/layouts/dashboard?view=board&display=board&company=cinder" hx-target="#studio-workspace" hx-swap="outerHTML show:none" hx-push-url="true" hx-sync="#studio-workspace:replace">Cinder Studio</a><a href="/layouts/dashboard?view=board&display=board&company=union" hx-get="/layouts/dashboard?view=board&display=board&company=union" hx-target="#studio-workspace" hx-swap="outerHTML show:none" hx-push-url="true" hx-sync="#studio-workspace:replace">Union House</a></div>
</details>
</div>
<div class="stb-lanes" data-studio-lanes>
<section class="stb-lane" data-studio-lane="backlog" aria-label="Backlog">
<header class="stb-lane-head"><h2><span class="stb-stage-symbol" data-stage="backlog" aria-hidden="true"></span>Backlog <span class="stb-count">0</span></h2><a class="stb-add" href="/layouts/dashboard?view=board&display=board&company=forma&compose=task&stage=backlog" hx-get="/layouts/dashboard?view=board&display=board&company=forma&compose=task&stage=backlog" hx-target="#studio-workspace" hx-swap="outerHTML show:none" hx-push-url="true" hx-sync="#studio-workspace:replace" aria-label="Add task to Backlog">+</a></header>
<div class="stb-cards"><p class="stb-empty">No tasks</p></div>
</section><section class="stb-lane" data-studio-lane="active" aria-label="In progress">
<header class="stb-lane-head"><h2><span class="stb-stage-symbol" data-stage="active" aria-hidden="true"></span>In progress <span class="stb-count">1</span></h2><a class="stb-add" href="/layouts/dashboard?view=board&display=board&company=forma&compose=task&stage=active" hx-get="/layouts/dashboard?view=board&display=board&company=forma&compose=task&stage=active" hx-target="#studio-workspace" hx-swap="outerHTML show:none" hx-push-url="true" hx-sync="#studio-workspace:replace" aria-label="Add task to In progress">+</a></header>
<div class="stb-cards"><article class="stb-card" draggable="true" data-studio-task="ST-103" aria-labelledby="task-ST-103">
<div class="stb-card-meta"><span class="stb-ref">ST-103</span><span class="stb-priority" data-priority="High" aria-label="High priority"><i aria-hidden="true"><b></b><b></b><b></b></i>High</span></div>
<h3 class="stb-card-title"><a id="task-ST-103" href="/layouts/dashboard?view=board&display=board&company=forma&task=ST-103" hx-get="/layouts/dashboard?view=board&display=board&company=forma&task=ST-103" hx-target="#studio-workspace" hx-swap="outerHTML show:none" hx-push-url="true" hx-sync="#studio-workspace:replace">Price the first retail rollout</a></h3>
<div class="stb-card-footer"><a class="stb-company" href="/layouts/dashboard?view=companies&company=forma" hx-get="/layouts/dashboard?view=companies&company=forma" hx-target="#studio-workspace" hx-swap="outerHTML show:none" hx-push-url="true" hx-sync="#studio-workspace:replace">Forma Works</a><span class="stb-card-owner" title="Maya Chen"><span aria-hidden="true" class="stb-avatar" data-owner="0">MC</span><span class="stb-sr">Maya Chen</span></span></div>
</article></div>
</section><section class="stb-lane" data-studio-lane="review" aria-label="In review">
<header class="stb-lane-head"><h2><span class="stb-stage-symbol" data-stage="review" aria-hidden="true"></span>In review <span class="stb-count">1</span></h2><a class="stb-add" href="/layouts/dashboard?view=board&display=board&company=forma&compose=task&stage=review" hx-get="/layouts/dashboard?view=board&display=board&company=forma&compose=task&stage=review" hx-target="#studio-workspace" hx-swap="outerHTML show:none" hx-push-url="true" hx-sync="#studio-workspace:replace" aria-label="Add task to In review">+</a></header>
<div class="stb-cards"><article class="stb-card" draggable="true" data-studio-task="ST-107" aria-labelledby="task-ST-107">
<div class="stb-card-meta"><span class="stb-ref">ST-107</span><span class="stb-priority" data-priority="Normal" aria-label="Normal priority"><i aria-hidden="true"><b></b><b></b><b></b></i>Normal</span></div>
<h3 class="stb-card-title"><a id="task-ST-107" href="/layouts/dashboard?view=board&display=board&company=forma&task=ST-107" hx-get="/layouts/dashboard?view=board&display=board&company=forma&task=ST-107" hx-target="#studio-workspace" hx-swap="outerHTML show:none" hx-push-url="true" hx-sync="#studio-workspace:replace">Approve the storefront elevations</a></h3>
<div class="stb-card-footer"><a class="stb-company" href="/layouts/dashboard?view=companies&company=forma" hx-get="/layouts/dashboard?view=companies&company=forma" hx-target="#studio-workspace" hx-swap="outerHTML show:none" hx-push-url="true" hx-sync="#studio-workspace:replace">Forma Works</a><span class="stb-card-owner" title="Maya Chen"><span aria-hidden="true" class="stb-avatar" data-owner="0">MC</span><span class="stb-sr">Maya Chen</span></span></div>
</article></div>
</section><section class="stb-lane" data-studio-lane="done" aria-label="Done">
<header class="stb-lane-head"><h2><span class="stb-stage-symbol" data-stage="done" aria-hidden="true"></span>Done <span class="stb-count">0</span></h2><a class="stb-add" href="/layouts/dashboard?view=board&display=board&company=forma&compose=task&stage=done" hx-get="/layouts/dashboard?view=board&display=board&company=forma&compose=task&stage=done" hx-target="#studio-workspace" hx-swap="outerHTML show:none" hx-push-url="true" hx-sync="#studio-workspace:replace" aria-label="Add task to Done">+</a></header>
<div class="stb-cards"><p class="stb-empty">No tasks</p></div>
</section></div>
<form data-stb-move action="/demo/studio/tasks" method="post" hx-post="/demo/studio/tasks" hx-target="#studio-workspace" hx-swap="outerHTML show:none" data-rl-form><input type="hidden" name="operation" value="move"><input type="hidden" name="company" value="forma"><input type="hidden" name="display" value="board"><input type="hidden" name="id"><input type="hidden" name="status"><p class="stb-error" role="alert" data-rl-form-error hidden></p></form>
</section></section>
</div>Use the preview to see the request and the HTML your server returns.POST /demo/studio/tasks
HX-Request: true
HX-Target: studio-workspace
Content-Type: application/x-www-form-urlencoded
operation=move&id=ST-103&company=forma&display=list&openTask=1&status=doneStudio validates the task and stage, then returns the updated #studio-workspace fragment. A successful save returns HTTP 200 and replaces the current history entry. An invalid stage returns HTTP 422 with the error. A native form submission redirects to the task with HTTP 303 on success.
Studio keeps companies, tasks and bookings in memory for the life of the demo server. The company profile counts open tasks from those same records.
Serve these assets from the download’s public/ directory. Add the tags to your page head.
<link rel="stylesheet" href="/mero.css">
<link rel="stylesheet" href="/mero-layouts.css">
<link rel="stylesheet" href="/mero-inventory.css">
<link rel="stylesheet" href="/studio-workspace.css">
<link rel="stylesheet" href="/studio-companies.css">
<link rel="stylesheet" href="/studio-board.css">
<link rel="stylesheet" href="/studio-bookings.css">
<script defer src="/vendor/htmx.min.js"></script>
<script defer src="/mero.js"></script>
<script defer src="/mero-forms.js"></script>
<script defer src="/mero-inventory.js"></script>
<script defer src="/studio-board.js"></script>
<script defer src="/studio-display.js"></script>
<script defer src="/studio-workspace.js"></script>Server source · site/studio.mjs
Download full example source ↓