Skip to content

Workflow builder: fit phones and tablets - #554

Open
chattermate wants to merge 4 commits into
mainfrom
feature/workflow-builder-mobile
Open

chattermate wants to merge 4 commits into
mainfrom
feature/workflow-builder-mobile

Conversation

@chattermate

@chattermate chattermate commented Dec 1, 2026 •

Copy link
Copy Markdown
Owner

At 375px only Close was visible in the builder header, and the 300px node list squeezed the canvas to a strip.

  • 768px and below: the node list is a drawer opened from a new Nodes button. Tapping a node type adds it to the canvas, because touch has no drag-and-drop. The minimap is hidden.
  • Below 480px: header actions are icon-only (each keeps an aria-label), so Save and Publish stay on screen.
  • Desktop is unchanged, except the zoom controls. Their stylesheet was never imported, so in dark mode they showed as a white square. They're now a themed floating card with 32px buttons.

e2e: workflow-builder-layout.spec.ts checks that Close, Publish and Save are fully on screen at 375 and 768, that there's no horizontal scroll, and that tapping a node type adds it. It fails on main. The WorkflowBuilder page object matches the one in #552 with methods added, so whichever merges second has a trivial rebase.

Checked at 375, 768 and 1280 in light and dark.

At 768px and below the node list becomes a drawer opened from a Nodes
button, and tapping a node type adds it (touch has no drag-and-drop).
Under 480px the header actions go icon-only so Save and Publish stay on
screen. Desktop is unchanged. e2e checks both widths.

Signed-off-by: Runix <admin@chattermate.chat>
The controls stylesheet was never imported, so the buttons fell back to
browser defaults and showed as a white square in dark mode. Import it
and restyle as a floating card with design tokens and 32px buttons.

Signed-off-by: Runix <admin@chattermate.chat>
Swap Vue Flow's filled default icons for outline ones in the same
stroke style as the header buttons.

Signed-off-by: Runix <admin@chattermate.chat>
Signed-off-by: Runix <admin@chattermate.chat>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant