Skip to content
View templateOpen app

Bookings

8–14 Nov 2027

New booking

New booking

Cancel
0 bookings
Studio AThe workshopMeeting room
Time
Mon8
Tue9
Wed10
Thu11
Fri12
Sat13
Sun14
No bookings this weekBook a room
Walkthrough · Finish a company task
  1. Open Forma Works and check its Open tasks count.
  2. Under Tasks, open Price the first retail rollout. Set Task status to Done and choose Save status.
  3. Open HTTP exchange to inspect the save. Use your browser’s Back button to return to Forma Works. The task now shows Done. Finishing an open task reduces the count by one.
Task move with List selected
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=done

Studio 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.

Read the task move handler
Use in your app

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 ui/ and public/ directories. Add the tags to your page head.

Page assets
<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 ↓