Repository navigation
Conversation
Contributor
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: true
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
xsahil03x
force-pushed
the
sahil/flu-954-scheduled-messages-schedule-sheets
branch
2 times, most recently
from
November 10, 2026 14:35
9bde400 to
af7a231
Compare
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
xsahil03x
force-pushed
the
sahil/flu-954-scheduled-messages-schedule-sheets
branch
from
November 10, 2026 15:12
af7a231 to
4c90263
Compare
…u-954-scheduled-messages-schedule-sheets
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This branch has not been deployed
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.
Linear: FLU-954
Stacked on #3150. Uses stream_core_flutter from GetStream/stream-core-flutter#216 (
StreamInlineNotification, calendar icon).What changed
Adds scheduling a message to
stream_chat_flutter.showStreamScheduleMessageSheetoffers tomorrow at 09:00, tomorrow at 13:00, next Monday at 09:00 and a custom time, and returns the chosen time. Presets outside the channel's min/max lead time aren't offered; when the channel already holds its maximum of pending scheduled messages, the sheet reads "Limit reached (N max)" and nothing can be picked.showStreamScheduleTimeSheetpicks a date and time (Material pickers in the design system's styling), previews the message, shows the time zone, and flags a time that's too soon or too far ahead. WithonSchedule, it schedules before closing and stays open with the error when that fails. Rescheduling reuses it.StreamMessageComposerschedules the message on a long press of Send when the channel has theschedule-messagecapability andonSendLongPressisn't set — applyingpreMessageSending, the link check and the dismissed link preview like a send, and clearing the composer once it's scheduled. Not offered while editing, for a command, or while an attachment hasn't uploaded.Translationsand all 11 locales; preset and time labels are formatted per locale.Why
The sheets follow the Figma designs (schedule sheet, custom time) and the SDK's sheet conventions (
showStreamSheet+StreamSheetHeader,StreamListTilerows, the dialogs' Cancel / confirm buttons). The presets, the lead-time bounds with a clock-skew buffer, keeping the custom sheet open on failure, and reusing it for reschedule match the React SDK; Android and iOS trigger scheduling with the same long press on Send.Verified
dart analyze --fatal-infosclean on all packages;dart formatclean.🤖 Generated with Claude Code