Skip to main content
Version: v1 (Current)

Build a Dashboard Tile

Tiles render admin-facing project information on dashboards. Author their configuration, layout and server-backed data bindings in the Developer Hub. A tile is not an attendee app or a hosted coding session.

Create the tile​

  1. Open Developer Hub → Tiles and choose New tile.
  2. Supply a name, unique lowercase hyphenated slug, descriptions and optional appearance metadata.
  3. Open Settings → Config Form and add any installation options.
  4. Open Canvas to design the tile body and its data sources.

The full tile tabs are Overview, Settings, Canvas and Publish. General metadata and discovery Tags are in Settings. Enrich with AI generates descriptions/configuration features; it is not a substitute for the saved canvas.

Choose the version and settings section​

The list searches name, slug and description and normally stays within the selected team. List access requires the Tile model's list permission; creating a Tile requires its create permission. At develop 25e1564 (reviewed 2026-10-19), the list shows New tile only when the server reports create permission; otherwise its empty state says team-available tiles appear here. A missing button can therefore reflect authorization, while button visibility still does not prove the create endpoint will succeed in the deployed context. The slug is globally unique among tile definitions, not just within your team. Creation makes version 1 and sets it as the definition's current version.

Overview summarizes the definition/current version and at most five recent versions. Use Publish for the full version list; the short overview is not evidence that older versions are absent. Settings has General, Tags and Config Form sections. General and Tags change the shared definition; Config Form and Canvas edit the selected version's content. Editing a description is not a new published layout. Public/global-default flags are super-admin-only changes.

Tile Settings and Canvas accept a version query parameter containing the version-row ID, not the displayed vN number. Without it, the editor follows current_version_id. The Tile tabs preserve that selected ID between Settings and Canvas, but Overview and Publish do not preserve it. After visiting those views, use Publish's Edit vN or View vN link to reopen the exact version. A version from another tile is rejected rather than silently selected.

After creating a draft, open Publish → Edit vN before editing. Creating or publishing that draft does not advance the current-version pointer. A plain Canvas/Settings link can therefore reopen the old published version. If Canvas says No version available, inspect the version list and use a valid version link; the empty-state suggestion to create a version in Settings does not describe the current Publish → Create draft control. Do not create a duplicate tile to repair a missing pointer or selection.

If a valid version link works but the default link still has no version, ask the tile owner/platform maintainer to reconcile the definition's current-version selection through the supported management process. Keep the working explicit version link while that is investigated; this guide does not prescribe direct database repair.

Canvas layout​

Use Visual editor for supported layouts or Layout JSON for the stored body-card structure. The builder preserves layout shapes it cannot safely edit visually through the JSON mode instead of discarding them. Published versions are read-only.

Add content using the visual builder's supported elements. Keep a simple first tile: a heading and a count. Verify the layout at the width and height it will have on the actual dashboard, including zero and unusually large values.

Bind a data source​

In Canvas Properties:

  1. Choose a Provider from the registry.
  2. Choose its Data method.
  3. Give it a Binding name that the layout will use.
  4. Fill in required parameters shown for that method.
  5. Choose Add data source, bind the result into the layout using the builder, and choose Save layout.

The registry contains point-in-time sources and time-series metrics. A point-in-time attendee count and a time-series attendance chart produce different value shapes; select a display appropriate to the source result. The dashboard’s direct-source resolver returns point-in-time values; time-series metrics use the chart request pipeline. Selecting a time-series catalog entry as a direct scalar binding does not execute a chart request automatically. See Analytics Metrics and Tile Data for the separate chart contract.

For example, Attendee Counts → Total Attendees requires no parameters and can use attendee_total as its binding name. The stored source is:

{
"type": "attendee_counts",
"method": "count",
"identifier": "attendee_total",
"params": {}
}

Attendees by Type returns rows rather than one scalar. Saved Search Count requires a valid project saved-search ID, but its current handler returns paginated attendee results despite the label. Its advertised count_only parameter is not read by that handler. Do not bind that response as a scalar count. Time-series methods expose their own date/range parameters in the catalog. Choose the method's offered fields rather than inventing PHP class or method names; the registry validates supported provider/method combinations.

For a filtered count, ask the maintainer for a corrected, verified scalar provider or a supported display of the returned paginated shape. Counting only the returned page's rows is not a reliable total, and adding count_only does not repair this handler. Use Total Attendees only when an unfiltered project total is actually the intended metric.

Save and verify​

Choose Save layout after editing Canvas layout or sources; its save action appears when there are changes. In Settings → Config Form, use the separate Save configuration action. A successful visual preview alone is not a saved version. Invalid layout JSON, an unsupported provider/method, a missing required parameter or an incorrect parameter type prevents saving.

The data-source list supports up to 100 entries; the backend also validates nested layout structure. Keep names stable and meaningful. Missing or duplicate binding names are rejected. New or changed source entries receive provider/method and parameter validation; unchanged legacy entries can be retained without revalidating their catalog parameters. A successful save does not prove an older stored binding still executes successfully.

Publish and continue development​

In Publish, choose Publish vN for the intended draft. Verify its Published status. To continue after publication, choose Create draft when offered. The current tile workflow copies the highest-numbered source version's canvas, data sources, settings, configuration features and runtime files into the next draft. The UI hides Create draft while a never-published draft exists; open that draft instead. The server's creation path locks the tile and avoids creating another version when its latest version is already an unpublished, never-published draft.

Publication can be blocked while version assets are uploading/processing or when a referenced runtime file is missing. Wait for uploads to finish and restore missing files before retrying. Publishing in the hub does not automatically create a draft or switch the definition’s current-version pointer; use the version list’s Edit vN action to open the intended draft. Published or previously published version content remains read-only.

App release provenance checks are not the tile publication mechanism. A tile's completed delivery evidence is its saved configuration, published version and tested dashboard installation.

Publication can also be refused for a global-default tile outside its configured publishing environment. Ask the responsible platform administrator to resolve that ownership/environment constraint; changing a public/global flag is not an ordinary authoring repair. An already published or historically published version cannot be reopened for editing through the unpublish endpoint. Use a new draft and preserve the shipped version's attribution.

Workspace routes and request checks​

On the dashboard host, the Tile routes live under /{team}/developer/tiles in the authenticated, verified-account and team-context group:

GET pathWorkspace behavior
/Team tile list; model list authorization
/createCreation form; model create authorization
/{tile}Ownership/view check, then redirect to Overview
/{tile}/overviewDefinition/current-version summary and five recent versions
/{tile}/settings?version=ROW_IDSelected version's settings; own-tile version lookup
/{tile}/canvas?version=ROW_IDSelected version's canvas and provider catalog
/{tile}/publishVersion list and publication controls

The tile slug identifies the reusable definition. A mismatched owning team is rejected as not found; viewing and updating require the corresponding tile policy action. Creating the definition uses POST /; shared metadata uses PUT /{tile}. Draft creation uses POST /{tile}/versions; version content uses PUT /{tile}/versions/{version}; publish/unpublish use POST beneath that version. These version parameters are row IDs scoped through the tile's versions. The content update checks update permission and refuses published or previously published rows. A visible editor/save button is not proof of mutation permission. These are administrator workspace routes, not attendee bearer API endpoints.

Install into a dashboard​

On the dashboard host, open /p/{team}/{project}/dashboards/{dashboard} with team/project slugs and the dashboard slug. In Dashboard Tiles, create a New Tile, give the instance a name and select the tile definition. Supply installation settings and check the chosen version. A zero/default version selection follows the definition’s current version; an explicit version pins the installation. Creation validates that the version belongs to an available tile; another team’s tile requires a published version. Explicit version changes during installation updates are restricted to super administrators. Set and save the instance’s X, Y, width and height in dashboard configuration. The reviewed dashboard view hides its grid toolbar; do not assume dragging or a visual grid change saves coordinates to the backend. Use the instance configuration to persist placement, then reload the dashboard to confirm it. A project can have multiple dashboards, so test the one the intended admin actually opens.

Tiles without explicit coordinates receive a runtime placement fallback; that is not confirmation that a custom grid arrangement was saved. Verify the persisted layout after a reload.

For an authorized super administrator editing an instance, Developer Settings → Plugin Tile Version offers numbered versions and Use Published Default (value zero). Despite that label, the zero/default path follows the definition's current-version pointer; inspect the actual version/publication state rather than assuming it picks the newest published version. Ordinary administrators should ask the responsible administrator to verify or change a pin, rather than trying to expose this privileged field.

Permissions and runtime data​

Developer Hub checks team ownership and tile view/update authorization. With view permission but no update permission, Canvas remains read-only even for a draft: the Draft label describes publication status, not your ability to edit. The visual builder and Save layout control are unavailable. Settings disables shared metadata and tags, hides save and AI enrichment actions, and shows configuration as disabled JSON instead of an editable form builder. Publish offers View vN links and hides Create draft and Publish actions. An authorized manager can edit a draft, but published or previously published version content stays read-only. Ask the responsible tile owner to review your update permission when a draft is unexpectedly locked; creating another version does not grant that permission. Dashboard viewing and tile management use dashboard/admin policies, not an attendee App’s dependency declaration. Test the actual admin roles intended to see the tile, and avoid treating a provider binding as a separate permission grant.

The browser receives resolved values under each binding identifier. Installation custom_settings is combined with dashboard URL query parameters, with query values taking precedence; do not assume installation settings are immutable or suitable for storing secrets. The backend also supplies metadata and signed asset maps. These administrative data flows are separate from portal widget credentials and attendee App page context.

Troubleshooting​

For a blank tile, check its installed version, body layout and binding names. For a missing value, check the provider method, parameter IDs, project data and admin permissions. Distinguish “zero matching records” from a null result caused by an invalid source. For a misplaced tile, inspect dashboard coordinates. For an unexpected count, check date ranges, saved search filters and the selected project before changing the renderer.

For an apparently unsaved Canvas, inspect the save response before leaving, then reopen the same version-row ID and verify both layout and sources. A 422 can identify invalid JSON/source parameters or immutable version content; a 403 can mean update permission is absent despite read access. For the wrong version, return to Publish and select Edit/View vN rather than assuming its displayed number is the query ID. Retain the selected team, tile slug, version ID/number, saved response, publication status and explicitly tested dashboard installation as handoff evidence.

Use a controlled installation to test zero and populated values at the saved dashboard coordinates, then reload. Verify an allowed administrator's expected view/update and refusals for a same-team account without permission, a cross-team tile and a foreign version. The source checks and retained local fixtures do not establish deployed role isolation, runtime provider correctness or installation acceptance.