Skip to content
View templateOpen app

Companies

Client accounts, contacts and project work.

Directory

6
Company directory

Forma Works

Retail designCopenhagen

Edit company
Open pipeline
$68,400
Open tasks
2
Bookings
3
Account owner
Maya Chen
Team size
84 employees

Opportunity

Retail rolloutproposal

Walk Lena through the revised rollout estimate on November 24.

People

  • Lena ParkDesign director
  • Emil HolmRetail operations

Tasks

Open board

Bookings

Open calendar
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 public/ directory. 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 ↓