Skip to content

Show the Clips desktop meeting pill's answer as its ask sheet opens - #9395

Merged
3mdistal merged 2 commits into
mainfrom
alice/clips-pill-one-row-ask
Nov 20, 2026
Merged

3mdistal merged 2 commits into
mainfrom
alice/clips-pill-one-row-ask

Conversation

@3mdistal

Copy link
Copy Markdown
Contributor

Problem

During a meeting, the Clips desktop app shows a small floating meeting pill: the live transcript, pause and stop, and an "ask" sheet at the bottom for questions about the meeting. Since #9336 styled it, the sheet hosts the shared AgentKit composer, which is three rows tall: the meeting's context chip, the field, then a toolbar with the mic and send button. That is 115px of a pill whose area below the header is about 293px.

Once a question is sent, the sheet opens to 45% of that area (about 132px), and the follow-up suggestion chips take another 28px. The answer never shows: the answer list gets 0px as the sheet opens, and 28px with the sheet dragged to its maximum, which is still less than one line of answer plus its action buttons. At the default size the send button is also cut off at the sheet's bottom edge.

Approach

Make room for the answer inside the pill's existing window, rather than growing the meeting window.

  • Lay the pill's composer out as one row, as the pill's old ask bar was: the field, then the mic and send button. Collapsed, it drops from 115px to 42px.
  • Hide the meeting's context chip. It stays attached, so every question still goes with the live meeting; the pill only loses the chip's × for detaching it, and every pill question is about that meeting.
  • Scale the answer list's spacing to the pill with AgentKit's own spacing variables (--agentkit-transcript-top-inset, --agentkit-transcript-message-gap), and drop the padding and gap under the last answer.
  • Open the sheet at 60% of the area below the header instead of 45% (about 176px instead of 132px). The live transcript above it keeps 117px, above its 104px minimum. The drag range, 20% to 70%, is unchanged.

The one-row composer alone isn't enough: at the old 45% opening, only the answer's action buttons show until the sheet is dragged up. With all three, a two-line answer and its actions show in full as the sheet opens. Longer answers scroll inside the sheet, which can still be dragged taller.

What changed

  • templates/clips/desktop/src/tailwind.css: the one-row composer and hidden context chip, by AgentKit's data-agent-composer-slot attributes under .pill-agentkit-composer, and the answer list's spacing under .pill-agentkit-chat. Both classes exist only in the pill.
  • templates/clips/desktop/src/lib/ask-sheet-layout.ts: ASK_SHEET_DEFAULT goes from 0.45 to 0.6.

Safety and operations

This is a client-only change to the desktop app's stylesheet and one layout constant: no server, data or permission changes. It reaches people with the next Clips desktop build.

Verification

On a Linux boat.dev machine, against main at 360d90a:

  • Desktop typecheck, all 101 desktop test files (1,078 tests), vite build, oxfmt and oxlint on the changed files, and pnpm guards all pass.
  • In Chromium, the desktop Vite harness ran the pill in its demo meeting at #recording-pill, at the pill's real 480 × 340 size. A stand-in server answered the AI-readiness check as ready and answered the question with one made-up, two-line reply.
Measured main This PR
Composer, collapsed 115px 42px
Answer list as the sheet opens 0px 79px
Answer shown as the sheet opens none all of it
Answer shown with the sheet dragged to its maximum none all of it
Live transcript while the sheet is open 161px 117px
  • The same branch with the sheet opening at 45% shows only the answer's action buttons until it is dragged up.
  • Light and dark were both recorded.
  • Not checked in the native desktop app during a real meeting.

Review focus

  • Hiding the context chip in the pill. Is there a case where someone would detach the meeting from a pill question?
  • Opening at 60% trades 44px of live transcript for the answer while the sheet is open.
  • The pill now depends on AgentKit's composer slot names (area, root, context-row, editor-wrap, toolbar, toolbar-spacer). A renamed slot would bring back the three-row layout rather than break the pill.

🤖 Generated with Claude Code

The pill's ask box was the shared three-row composer, so once a question was
sent the open sheet had no room left for the answer, even dragged to its
maximum. Lay the box out as one row with the meeting chip hidden, scale the
answer list's spacing to the pill, and open the sheet at 60% instead of 45%.
builder-io-integration[bot]

This comment was marked as outdated.

@3mdistal

Copy link
Copy Markdown
Contributor Author

Alice approved landing this once it's approved. She switched its row on her task board back to the agent on Nov 18, 2026 at 5:59 PM ET with no comment, which accepts the suggested answer to this ask:

From its review page: land the one-row ask box PR with the ask sheet opening at 60% once it's approved, or keep the 45% opening, so every answer needs a drag?

The suggested answer:

Land it opening at 60% once it's approved: showing the answer is what the sheet is for, and the transcript stays readable above it.

So this stays as it is, opening at 60%. It merges after a review approves it, once main is merged in and the desktop checks pass again.

@builder-io-integration builder-io-integration Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Builder reviewed your changes and has a few items to flag 🟡

Review Details

Incremental Code Review Summary

The current PR diff still contains the same Clips desktop UI changes: the ask-sheet default rises from 45% to 60%, and pill-specific CSS compacts the composer and answer transcript. The new head merges origin/main; no additional change to the affected Clips desktop files was present since the prior review, which had no comments to resolve. The higher default is sound at the demonstrated 480×340 size, but at the supported 260px minimum-height window the clamp computes its limit using the entire pill height while the sheet’s percentage is applied to the area below the fixed 44px header and divider. It therefore permits a sheet height that leaves less than the documented 104px transcript floor. This is a medium-severity regression for users who resize the pill to minimum height; the clamp should account for the fixed header/divider or use a lower default for short panels.

Key Finding

  • 🟡 MEDIUM — The new default can starve the live transcript on minimum-height pills.

🧪 Browser testing: Skipped — the browser-test-planner agent is not available in this environment.

@3mdistal

Copy link
Copy Markdown
Contributor Author

Landing this on Alice's yes, recorded above: she accepted landing it opening at 60% once it was approved, and Steve approved 78d45d2 on Nov 20 at 4:32 PM ET.

Before merging, main at 05d86d4 was merged in as d1a09b4, with no conflicts; against main the PR still changes only tailwind.css and ask-sheet-layout.ts. Main's composer changes since the branch started (#9450, #9453) don't touch the slots this styling targets. On a Linux boat.dev machine, d1a09b4 passed the desktop typecheck, all 101 desktop test files (1,078 tests), vite build, oxfmt and oxlint on the changed files, and pnpm guards (110 checks). GitHub's required checks and the Clips desktop build check passed on d1a09b4.

@3mdistal
3mdistal merged commit fa7e27b into main Nov 20, 2026
50 checks passed
@3mdistal
3mdistal deleted the alice/clips-pill-one-row-ask branch November 20, 2026 22:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants