Repository navigation
/schedule: rename draft Schedule button to Save (#243) - #245
Merged
Merged
Conversation
New and edit drafts both use Save (was Schedule / Save changes), and creating a schedule confirms with Saved. like an edit, so the label is not read as "show the schedule" (PIXEL-2E, #243). Co-authored-by: NinjaLikesCheez <NinjaLikesCheez@users.noreply.github.com>
NinjaLikesCheez
marked this pull request as ready for review
November 28, 2026 10:27
5 tasks done
NinjaLikesCheez
added a commit
that referenced
this pull request
Nov 28, 2026
* Fix /schedule edit preview matching saved view and post (#242) After editing a message, the draft content slot could show the raw stored template while the schedule panel and the real post showed filled tokens. Always fill that slot for the next occurrence, fill titles/names the same way, refresh auto-names when the text changes, and keep mention markup out of auto-names. Co-authored-by: NinjaLikesCheez <NinjaLikesCheez@users.noreply.github.com> * Fix schedule draft occurrence fallback and legacy auto-names Address Sentry review on #244: when evaluate fails for a non-timing reason, fill the draft preview for the parsed occurrence via timingOf instead of now(); treat pre-strip auto-names that still contain mention markup as auto so edits keep refreshing the name. Co-authored-by: NinjaLikesCheez <NinjaLikesCheez@users.noreply.github.com> * Update schedule tests for Save button after #245 #245 renamed draft Schedule / Save changes to Save; rebase onto main and point the #242 regression clicks at the new label. Co-authored-by: NinjaLikesCheez <NinjaLikesCheez@users.noreply.github.com> --------- Co-authored-by: Cursor Agent <cursoragent@cursor.com>
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
On a
/scheduledraft, the save button said Schedule for new posts and Save changes when editing. Members reported Schedule could be read as “show the schedule”. Both paths now use Save, and creating a schedule confirms with Saved. like an edit (Sentry PIXEL-2E).Changes
draftPanel():saveLabelis alwaysSave(button and “Nothing is saved until you press …” hint)✅ **Saved.**(wasScheduled.)commands.md,architecture.md,runbook.mdConflict note
#244 (
cursor/schedule-preview-mismatch-242-a026) also editssrc/features/schedules/index.tsandtests/features/schedules/schedules.test.ts. This PR only touches the label strings so merges should be small; after one lands, the other may needSchedule/Save changesclick helpers in any new tests updated toSave.Closes #243