Pages & Sites

Page Builder V4

Build AI-first Sites pages with Iris chat, a single React source file, preview, history, and runtime widgets.

Page Builder V4 is Antly’s Iris-first page authoring experience. Instead of dragging a component tree, you describe the page in natural language (or paste requirements), Iris writes a single default-exported React component, and you refine it in a studio with chat, preview, history, and an objects pane.

V4 pages still live on sites.Page with audience, roles, slug, settings, and history — only the content shape and editor differ from V3.

Studio layout

PanePurpose
ChatAgent mode (edit page) and Ask mode (questions without mutating). Prompt queue for stacked refinements.
PreviewLive render of the compiled page against the shared React runtime
HistoryPrompt/page history; rewind or jump to earlier versions
ObjectsInspect object schemas while authoring data-driven pages

Empty pages start from a CTA that opens Iris generation. Saving writes sites.Page.content for version 4 and appends history.

Page kinds

KindIntent
Data-drivenDashboards, object-backed admin views, filterable tables/charts
WebsiteMarketing/public pages with navigation, CTAs, and visual sections

Both kinds use the same runtime. Style guides (editorial, playful, minimal, brand-vibrant, and tenant settings) steer Iris generation.

Code rules (what Iris must emit)

  • One default-exported function component
  • No import statements — APIs are injected by the runtime
  • Use hooks for data (useJql, mutations, tables), Formik/Yup for forms, and special widgets for charts/reports/Iris chat
  • Prefer allowlisted images and style-guide tokens over arbitrary remote assets

Runtime capabilities

CapabilityHow
DatauseJql / mutation helpers against any allowed namespace
TablesTable helpers with sorting/filtering
FiltersPage-level filter state + JQL q builders
FormsFormik + Yup + Antly inputs; multipart via PUT /jql
ChartsPageBuilderChart backed by reports.Chart
ReportsPageBuilderReport download/export sections
Iris in-pagePageBuilderIrisChat with runtime-exposed topics
ContextuseRecordContext, useSearchParams, auth context

Full API: Runtime overview, Data hooks, Widgets.

Audiences

Same as all Sites pages:

AudienceTypical URL
public/<slug> — no portal chrome; ship your own nav
authenticated/sites/<slug>
admin/admin/<slug>

Optional allowed_roles further restricts access (failed checks look like 404).

Authoring workflow

  1. Create a Sites page, set version 4, audience, and slug.
  2. Choose a style guide in page settings if needed.
  3. Open the studio and describe the page (layout, data sources, interactions).
  4. Review the preview; queue follow-up prompts (“add a status filter”, “use objects.Case”).
  5. Use Ask mode to inspect without changing code.
  6. Save, preview as the target audience, pin to menu/launchpad if required.

Iris topics used while authoring

Authoring uses Iris V2 topics such as page-builder, page-builder-ask, and object-agent helpers. Runtime chat widgets only see topics marked expose to Page Builder runtime in Iris Studio. Details: Iris authoring contracts and Iris in Page Builder.

For developers