Skip to content

WorkflowPage

Stable

A task in progress, shown as a conversation: heading, checklist, approval request and steps.

Also known as agent page, workflow

Install with npm install @tattva/ui (setup), or copy the code from the kit in Downloads.

Full page

Request missing documents

Ask for the missing documents

3 of 5 done. Here is where things stand:

  • Dana WhitfieldForm ANo reply in 5 days, due in 2
  • Owen ParkForm AReminder sent yesterday
  • Received from Atlas, Birch and Cedar

Send a second reminder to Dana Whitfield

medium risk
An email from team@example.com with the subject “Documents due Friday” will be sent now.
  1. Find missing documents

    2 people

    done
  2. Send reminders

    Waiting for approval

    active
  3. 3

    Confirm receipt

    todo
5 people

AI can make mistakes. Check important information.

Approve or deny the reminder to see the decision message appear under the request.

When to use it

A worked example of a long task shown as a conversation. Open items, the decision that needs a person and overall progress stack in one column, and the message box stays for questions.

Made of: Side panel · Title · Heading and status · Checklist · Approval request · Decision message · Step list · Message box with a context tag · AI notice

Use it for

  • A starting point for tasks that wait on people, such as chasing documents.
  • Seeing how Checklist, ApprovalPrompt and StepTimeline fit in a thread.
  • Showing how to confirm a decision with a short message.

Not for

  • A plain question and answer: use ThreadPage.
  • One list of everything waiting for the person across tasks: use ApprovalInbox.

Do and avoid

  • Dana WhitfieldNo reply in 5 days, due in 2
  • Owen ParkReminder sent yesterday
  • Received from Atlas and Birch
Do. Fragment: amber marks only the row where a person must act.
  • Dana WhitfieldNo reply in 5 days, due in 2
  • Owen ParkReminder sent yesterday
  • Received from Atlas and Birch
Avoid. Amber on work still running hides the one row that needs you.

Do

  • Use the conversation layout so follow-up questions stay possible.
  • Put the request that needs a person where it is easy to spot, between the checklist and the step list.
  • Say what will be sent, to whom and when in the approval request.
  • Confirm the outcome of a decision with a message, as the page does.
  • Keep the status line under the heading in step with the checklist.

Avoid

  • Do not mark work in progress as needing attention. Amber means a person has to act.
  • Do not list finished items one by one. Fold them into one summary line.
  • Do not ask for approval without a Deny option.

On a phone

  • The sidebar opens from a Menu button in a side sheet on a phone, and the page shows the workflow in one column.
  • The approval buttons keep their size and have a 44px tap area on touch screens. The checklist rows are not tappable.
  • The page is 45rem tall at most and never taller than the phone screen height. The composer area clears the bottom safe area.

Build your next AI screen with Tattva.

Free and open, with the code. Start in one line.

Get started