Designing an app · Lesson 3
A view is a page of the app. It never decides who sees which record — the data did that in lesson 2 — it decides how the records a person may see are shown. Here the same ten reviews become a table, cards, KPIs, bars and a chart, then a landing page made of blocks.
Use Next, or the ← → keys, and switch “Show as” on any step. The preview is drawn by the runtime’s own functions in your browser, and the validator checks the manifest at every change.
type decides what a view is. The data views of this lesson are only one family:
page — a landing or an informative page, made of blocks (hero, steps, cards, text, note, html, view, data).table · cards · list · chart — rows from a source, with fields, formats, filters, sort, limit, groupBy; a table can show kpi or bar; export adds a CSV download.dashboard · tabs — containers: several views side by side, or one per tab (children).form — writes a record of a collection (lesson 2); with edit it changes one; submit says what happens after saving.booking — appointments on slots: opening days and hours, slot length, notice, capacity, the resources booked.map — markers from the source’s rows (same access rules as a table), with a popup per marker.new_run · history · report — the agent’s form, the list of past runs, the result of one run.chat — a conversation with an agent, with example questions; placement floating puts a bubble on every page.approvals · instances — the queue of decisions for a role; the personal agents a user creates from a template (lesson 6).account · admin — the user’s profile, connected keys and credits; the admins’ data page.roles — only these roles see the view (the others do not get it in the menu, nor by its address).nav — whether it appears in the menu; a view can exist only to be linked or embedded.title — in every language of the app: { en: …, it: … }.printable — a clean print of the page (a report, an invoice-like summary).preview — the teaser of step 6: how many rows, which columns to hide, which plan unlocks the rest.Lesson 4 is about how the app looks and speaks: palette, fonts, buttons, a dark theme, the header and the languages.