{"templates":[{"id":"list","name":"Shared list","archetype":"A list the whole household keeps together: groceries, errands, things to pick up.","useWhen":"Several people add to and tick off one shared list of short items, grouped into a few fixed categories.","shows":["app scope: one live list for every member","nerd.ui.hero with nerd.ui.meter and category nerd.ui.panel cards","nerd.ui.list per group with a where/order query","nerd.ui.quickAdd with an extra control and a parse function, with nerd.draft for half-typed text","two columns on wide screens from .n-cols-2, with no media query of its own","tactile circular .n-check-btn rows with ui.pill quantities","bulk remove with a single Undo toast (nerd.data.restore)","added by, from meta.createdBy and nerd.ui.memberName","nerd.ui.editSheet with only/labels, plus delete with Undo","nerd.ui.liveStatus, nerd.ui.presence, read-only viewers"],"scope":"app","theme":"harbor","url":"/workshop/sdk/templates/list.json"},{"id":"board","name":"Team board","archetype":"A shared board where a team moves cards from To do to Done, assigns them and talks about each one.","useWhen":"Several people track the same work in stages: tasks, a pipeline, a content calendar, a hiring board, chores. Change the select options to rename or add columns.","shows":["data.scope \"app\": one set of records shared live by every member","nerd.ui.stats card summary with semantic tones and nerd.ui.pill status badges","nerd.ui.board with drag between columns, a compact move menu and a position order","nerd.ui.form with only/labels; the assignee is a member field, so the form draws the people picker","nerd.ui.sheet for a card that follows its record live through observeQuery","nerd.ui.comments with mentions (data.comments)","nerd.ui.removeWithUndo, nerd.ui.toast","nerd.ui.tabs with nerd.ui.activity and a custom describe()","nerd.ui.presence and nerd.ui.liveStatus in the header","read-only viewers (ctx.data.readOnly): no add, edit, delete or move","stopping a tab's live query before the next tab renders"],"scope":"app","theme":"slate","url":"/workshop/sdk/templates/board.json"},{"id":"tracker","name":"Habit tracker","archetype":"A personal tracker: a few things you want to do every day, a quick check-in, streaks and a two-week chart.","useWhen":"One person logs a number or a yes/no every day and wants to see how it is going: habits, water, reading, workouts, practice minutes, mood scores. Each person keeps their own.","shows":["data.scope \"account\": each person's own records, live on all their devices","a ref field (entries.habit -> habits) and a date field keyed on nerd.ui.today()","nerd.ui.hero with nerd.ui.meter, streak nerd.ui.pill badges, and nerd.ui.stats cards","numbers derived from the snapshot: totals, streaks, averages","keyed card rendering that keeps a half-typed number when data changes","nerd.ui.chart (bar) for the last 14 days with an accessible label","nerd.ui.form in nerd.ui.sheet with labels and a custom validation message","nerd.ui.list with edit and nerd.ui.removeWithUndo","permissions.notify: a daily reminder with .n-switch, nerd.notify.schedule/cancel/list and a stable key","nerd.ui.tabs that stop the previous tab's live query"],"scope":"account","theme":"garden","url":"/workshop/sdk/templates/tracker.json"},{"id":"journal","name":"Journal","archetype":"A private journal: a few lines a day, with a mood and tags, found again by search or on a calendar.","useWhen":"One person writes longer text that belongs to a day or a thing: a diary, meeting notes, a reading log, a garden log, a gratitude journal. Each person keeps their own.","shows":["data.scope \"account\": each person's own records, live on all their devices","data.documents: long text as a document (\"entry:\" + id) bound to a textarea with .bind()","creating a record with a known id (nerd.uuid()) so its document can open before the first save","record fields that save on change and follow other devices without overwriting what you are typing","nerd.ui.list with an observeQuery search and two empty states","nerd.ui.calendar keyed on a date field with onItem and onDay","nerd.ui.sheet, nerd.ui.removeWithUndo, nerd.ui.tabs that stop the previous view","$docs in sampleData to seed document text"],"scope":"account","theme":"paper","url":"/workshop/sdk/templates/journal.json"},{"id":"calendar","name":"Shared calendar","archetype":"A calendar a club, team or family shares: who is playing where, and when.","useWhen":"People plan dated events together and want a month view, a what's-next list, reminders by email, or outside data like the weather beside each day.","shows":["app scope with datetime fields","nerd.ui.tabs between an Upcoming nerd.ui.list and a nerd.ui.calendar month grid","nerd.ui.panel for the 7-day forecast and nerd.ui.pill event kind tags","nerd.ui.editSheet with labels and pre-filled values, including a file field","nerd.files.show for photos (data.files)","nerd.notify.schedule / cancel / list with a stable key (permissions.notify)","manifest.sources + nerd.sources.observe for a server-fetched forecast","custom remove with Undo that also restores the reminder","read-only viewers"],"scope":"app","theme":"sunset","url":"/workshop/sdk/templates/calendar.json"},{"id":"directory","name":"Team directory","archetype":"A directory of people: who they are, what team they're on, how to reach them.","useWhen":"The app is a searchable set of profiles or cards (people, places, suppliers) grouped by a second collection.","shows":["two collections linked with a ref field, read back with nerd.data.resolve","nerd.data.observeQuery with search and where, re-subscribed when filters change","a card grid built with nerd.ui.h, .n-grid and nerd.ui.empty for no results","photo upload in nerd.ui.editSheet and nerd.files.show, with initials as the fallback","list fields (skills) as chips","a detail sheet with nerd.ui.sheet and nerd.ui.facts, removal with nerd.ui.removeWithUndo","a second collection managed in a sheet with nerd.ui.list and nerd.ui.form, unsubscribed on close","read-only viewers"],"scope":"app","theme":"midnight","url":"/workshop/sdk/templates/directory.json"},{"id":"records","name":"Clients","archetype":"A list beside the selected record: pick one on the left, read and edit it on the right.","useWhen":"People look things up one at a time and each record has more detail than fits in a row (clients, properties, equipment, cases, recipes).","shows":["nerd.ui.split: a list beside its detail on a laptop, the same detail as a sheet on a phone","a record's details from nerd.ui.recordFacts (dates, lists and members formatted for you)","search with split.setQuery and an empty state for no matches","deep links via nerd.route (?client=<id> and ?q=<search>)","nerd.ui.section, nerd.ui.editSheet with multiline, removal with nerd.ui.removeWithUndo",".n-wide to use a laptop's width, read-only viewers"],"scope":"app","theme":"harbor","url":"/workshop/sdk/templates/records.json"},{"id":"overview","name":"Job desk","archetype":"An overview: the numbers, what needs attention now, and what changed.","useWhen":"The owner wants one screen that sums up their records (jobs, orders, leads, requests): totals, what is late or due, a chart, recent changes.","shows":["a figures row with nerd.ui.stats","three responsive columns from .n-cols-3 and a main column with a sidebar from .n-sidebar, with no media query of its own",".n-wide to use a laptop's width","nerd.ui.section for each titled part","three nerd.ui.list views of one collection with where and order","a record's details from nerd.ui.recordFacts in a sheet","nerd.ui.chart with nerd.ui.groupCount, and nerd.ui.activity","a member field with nerd.ui.avatar"],"scope":"app","theme":"slate","url":"/workshop/sdk/templates/overview.json"},{"id":"signup","name":"Sign-up sheet","archetype":"A sign-up sheet: what is needed, and who has put their name down.","useWhen":"People put their own name on a shared sheet (a potluck, volunteer shifts) and nobody may change anyone else's line.","shows":["\"contribute\": true on one collection, so Participants add their own records there and change only those","ctx.data.writable and ctx.data.ownOnly to tell an organizer from a Participant","nerd.data.canChange before offering Change or Take it off","a live nerd.ui.list per slot, with a count and All taken worked out from the snapshot","one header button that changes with the person","checking it as \"viewer\": { \"participant\": true }"],"scope":"app","theme":"paper","url":"/workshop/sdk/templates/signup.json"},{"id":"connected","name":"My repositories","archetype":"A list from a service each person signs in to","useWhen":"The app shows or changes a person's own things at another service (their repositories, calendar, tasks, files). Read /workshop/sdk/integrations.md with it.","shows":["manifest.integrations","nerd.integrations.call","ui.connect","what was fetched kept in records","a confirmed write","sampleData.$integrations"],"scope":"account","theme":"harbor","url":"/workshop/sdk/templates/connected.json"}]}