# Meeting controls

*Only around a meeting: join it, say you're late, then send the recap when it ends.*

**Type: [Act](types/act.md).** Where things stand, and the three things you'd want to do about it. This is one good use of it; the same widget serves a failing build, a production issue, a pull request, an email that needs you and more. Switch the subject when something else matters more.

Template id `meeting-controls` · Controls · uses Calendar · for: Agents with calendar and email access.

## Goal

Everything about a meeting is one tap away at exactly the moment it's needed.

## When to offer it

The user has video calls or meetings often.

## What the user gets

- Shows up just before the meeting and leaves after
- Changes from Join and I'm late to Send recap
- Writes the recap and sends it after your tap

## What each size shows

- **Small**: metric: Starts at = 2:00.
- **Medium**: metric: Starts at = 2:00; text (body): "Room 4 or the video link."; buttons: Join (`join`), I'm late (`late`), Agenda (`agenda`).
- **Large**: metric: Starts at = 2:00; text (body): "Room 4 or the video link."; buttons: Join (`join`), I'm late (`late`), Agenda (`agenda`); list: After it ends, these become (2 rows).
- **Lock Screen**: inline "Design review at 2:00".

## Make it theirs

**Look.** Send `look` instead of `theme` and `accent`; every combination is designed to read well:

- `style`: `glass` (default: see-through, adapts to dark mode), `soft` (a calm pale tint) or `bold` (a vivid gradient with dark buttons).
- `accent`: blue, indigo, purple, pink, red, orange, green, teal, graphite, or a hex.
- `font`: default, rounded, serif or mono.

This template's own accent is **indigo**. To restyle a widget you already saved, send only the look:

```json
{"slug": "meeting-controls", "look": {"style": "bold", "accent": "indigo", "font": "rounded"}}
```

Preview a look without saving: `droplet_preview_widget` with the slug and `look`. When the user says "make it greener", "calmer" or "bolder", change the look; keep the content.

**Their choices.** Ask once (droplet_ask) or use what you know:

- How early to show it
- Who gets the recap

**Search words:** meeting, call, join, zoom, meet, recap, late, controls, event.


## Before you build

- Check `droplet_get_phone_context`: the phone must share calendar. If something is off, ask the user to turn it on in Droplet.ai, Settings, Phone access.
- You need: Agents with calendar and email access.
- Ask once: Before sending a recap to the group.

## Fill it with real data

Start from the template (`droplet_library` with `id: "meeting-controls"`), keep the design, and replace each sample value:

| Block | Real value |
|---|---|
| 0 · metric | When it starts. |
| 1 · text | Where. |
| 2 · buttons | Before it: Join, I'm late, Agenda. After it: Send recap, Add tasks, Done. |
| 3 · list | What happens next. |

Sources:
- The event, its link, its people and its room (calendar).
- Notes or a transcript afterwards, if you can read them.

## The widget

Sample values; send it with `droplet_set_widget` on your widget's slug (or a new slug with `new_widget: true` if the user asked for a separate widget). Preview it and fix every warning first.

```json
{
  "slug": "meeting-controls",
  "title": "Design review",
  "symbol": "video.fill",
  "accent": "#5E5CE6",
  "blocks": [
    {"type": "metric", "label": "Starts at", "value": "2:00"},
    {"type": "text", "text": "Room 4 or the video link.", "style": "body"},
    {"type": "buttons", "items": [{"id": "join", "label": "Join", "symbol": "video.fill", "url": "https://meet.google.com/"}, {"id": "late", "label": "I'm late", "symbol": "clock.fill"}, {"id": "agenda", "label": "Agenda", "symbol": "list.bullet"}]},
    {"type": "list", "title": "After it ends, these become", "items": [{"title": "Send recap", "detail": "I'll write it"}, {"title": "Add the tasks", "detail": "to your list"}]}
  ],
  "sizes": {"small": [0], "medium": [0, 1, 2], "large": [0, 1, 2, 3]},
  "lock": {"inline": "Design review at 2:00", "circular": 0}
}
```

## Keep it fresh

Set it 10 minutes before. Change the buttons when it ends. Remove it when the recap is sent.

## Handle the taps

Each tap reaches you once on `droplet_get_events` (keep a waker running, SKILL.md Process C). Answer within seconds by updating the widget.

**Join** opens `https://meet.google.com/` directly; no event. Put the user's real link there.

**I'm late** (`late`)

```json
{"widget": "meeting-controls", "kind": "button", "target": "late", "value": {"label": "I'm late"}}
```

Tell the organiser how late, and show it's done.

**Agenda** (`agenda`)

```json
{"widget": "meeting-controls", "kind": "button", "target": "agenda", "value": {"label": "Agenda"}}
```

Put the agenda on the widget.

## Ask first

Before sending a recap to the group.

For example:

```json
{"question": "Send this recap to all 6 people?", "kind": "decision", "options": ["Send", "Just me"], "risk": "medium"}
```

## Phone actions

None.

## Edge cases

- No link in the event: replace Join with the room or a map.
- Back-to-back meetings: move straight on to the next one.

## Never

Never keep it on the screen after the meeting is finished and handled.

## Done when

- [ ] Every sample value is replaced with real data (no "Dr. Lee" on a real widget).
- [ ] `droplet_preview_widget` shows no warnings at the sizes the user placed (`placed` in `droplet_whoami`).
- [ ] Every button has a handler and a waker is running.
- [ ] Refresh is set up as above.
- [ ] You told the user in one line what it does on its own and what it asks first.

## Same widget, other uses

- [Meeting prep](meeting-prep.md): Before every meeting: who, why, and your notes ready.
- [Calendar clash](schedule-clash.md): Two things landed at the same time. Your agent found the fix; you tap it.
- [Worth your time](news-brief.md): One story that matters to your work, why it matters, and what to do about it.
- [Smart buttons](smart-buttons.md): The buttons you need right now. Your agent changes them by time, place and what's next.
- [Home controls](home-scenes.md): At home, the controls for this moment: leaving, evening or bedtime.
- [Release room](release-room.md): A small app for one job: everything about a release, with the controls, built by your agent.
- [Needs a reply](inbox-zero.md): Your agent drafts the replies. You tap send.
- [Follow up](follow-up.md): Someone never replied. Your agent noticed and wrote the nudge.
- [Ship status](ship-status.md): Builds, failing tests and the fix, all one tap from your agent.
- [PR review](pr-review.md): Your agent read the pull request. You get the verdict and merge with a tap.
- [Production issue](incident.md): Something broke in production. Your agent already looked, and offers the fix.
