feat: standup creation in smart post composer#6074
Merged
Conversation
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.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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.
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.
This reverts commit 3aef0d9.
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.
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.
tsahimatsliah
pushed a commit
that referenced
this pull request
May 19, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
standup_creation).StandupFormmirrors the legacyCreateLiveRoomFormfields: intro copy, topic with char counter, Start now / Schedule for later radio, datetime + timezone hint, optional rich-text description (lobby/Agenda placeholder)./standups/{id}and logscreate standup.Test plan
standup_creationflag off, the Standup option is absent from the picker.Preview domain
https://feat-standup-smart-composer.preview.app.daily.dev