Skip to content

feat: standup creation in smart post composer#6074

Merged
idoshamun merged 11 commits into
mainfrom
feat/standup-smart-composer
May 19, 2026
Merged

feat: standup creation in smart post composer#6074
idoshamun merged 11 commits into
mainfrom
feat/standup-smart-composer

Conversation

@idoshamun
Copy link
Copy Markdown
Member

@idoshamun idoshamun commented May 19, 2026

Summary

  • Adds a Standup option to the smart composer kind picker (gated by standup_creation).
  • New StandupForm mirrors the legacy CreateLiveRoomForm fields: intro copy, topic with char counter, Start now / Schedule for later radio, datetime + timezone hint, optional rich-text description (lobby/Agenda placeholder).
  • Mode is hardcoded to moderated, audience chip / notification toggle / spam warning are hidden for standups, and a successful submit routes to /standups/{id} and logs create standup.

Test plan

  • Open smart composer, switch to Standup, verify intro copy + counter + radio descriptions.
  • Submit "Start now" — lands in the new standup room.
  • Submit "Schedule for later" with past time — inline error, future time creates the lobby.
  • With standup_creation flag off, the Standup option is absent from the picker.

Preview domain

https://feat-standup-smart-composer.preview.app.daily.dev

Adds a Standup option to the smart composer's kind picker (gated by the
standup_creation flag) so users can launch the same topic / schedule /
description flow without leaving the modal. Mode is hardcoded to
moderated, audience/notification chrome is hidden for standups, and on
submit we route to the new standup room.
@vercel
Copy link
Copy Markdown

vercel Bot commented May 19, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
daily-webapp Ready Ready Preview May 19, 2026 8:42am
1 Skipped Deployment
Project Deployment Actions Updated (UTC)
storybook Ignored Ignored May 19, 2026 8:42am

Request Review

idoshamun added 2 commits May 19, 2026 10:32
The fixtures use scheduledStart 2026-05-20 and assert /May 20 at/, but
formatLiveRoomScheduledStart returns "Tomorrow at ..." when the date is
the next calendar day. Lock the system clock to 2026-05-15 so the
assertions stay stable regardless of when the suite runs.
idoshamun added 4 commits May 19, 2026 11:16
Strip the form down to the composer's borderless writing-page look:
- Topic is a big bold textarea (typo-title2), placeholder-only.
- Description is a smaller typo-callout textarea, placeholder-only.
- Schedule choice is two rounded-8 chip toggles inline with a tertiary
  microcopy line.
- Scheduled time becomes a compact calendar chip with timezone delta.
idoshamun added 2 commits May 19, 2026 11:23
Restructure StandupForm to mirror TextForm: topic + schedule chips +
optional datetime sit in a shrink-0 header, and the description below
is a RichTextInput that owns the bottom toolbar (formatting controls,
kind picker, post button) just like the freeform composer.
Native datetime-local already renders a picker indicator; the extra
icon was duplicating it. Keep only the native one and invert its color
for dark-theme visibility, matching the /squads/create form.
idoshamun added 2 commits May 19, 2026 11:36
The smart composer and /squads/create form both encoded the same
scheduled-time validation, createLiveRoom payload, CreateStandup log
shape, and error-toast handling. Move that flow into useSubmitStandup
and let each caller adapt the result (form.setError vs setStandupErrors,
onCreated vs router.push). Also restore the false defaults on
featureSmartComposer and featureStandupCreation that drifted to true
during local testing.
@idoshamun idoshamun merged commit fd65eac into main May 19, 2026
11 checks passed
@idoshamun idoshamun deleted the feat/standup-smart-composer branch May 19, 2026 08:43
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.

1 participant