You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Follow-up from #2122 review: Keep newer rename drafts open #2153
Minor findings from the Codex review of #2122 (Sweep fix: a failed Everyone rename keeps the name and says "Couldn't save the name."), deferred so the bug fix can land.
changed the title [-]Follow-up from #2122 review: Keep newer rename drafts open**[/-][+]Follow-up from #2122 review: Keep newer rename drafts open[/+]on Oct 8, 2026
Already fixed on main by 91ee05f ("Preserve speaker name edits made during a pending save"), which landed via #2173.
commitRename in Sources/UI/Settings/SpeakerPeoplePersonRow.swift captures submittedDraft before the save and, on completion, asks SpeakerEveryoneRenamePolicy.nameBox(afterSave:typed:submitted:) what to do. The card closes only when the live draft still equals the submitted one, so a newer draft typed during a slow save stays open.
acceptsSubmit(typed:saveInFlight:) ignores a second Return while a save is still running.
The close is also scoped to this card (expandedPersonID == id).
Tests/SpeakerVoiceRowPresentationTests.swift covers it: "An edit during an Everyone rename save stays available for a later save" (newer draft stays open after the first save succeeds, can be submitted once it finishes, and a failed save keeps it too).
Verified on origin/main 86f4ce9: bash run-tests.sh --filter testSpeakerVoiceRowPresentation gave 42 passed, 0 failed. No new PR needed.
Activity
[-]Follow-up from #2122 review: Keep newer rename drafts open**[/-][+]Follow-up from #2122 review: Keep newer rename drafts open[/+]r3dbars commentedon Oct 17, 2026
Already fixed on main by 91ee05f ("Preserve speaker name edits made during a pending save"), which landed via #2173.
commitRenameinSources/UI/Settings/SpeakerPeoplePersonRow.swiftcapturessubmittedDraftbefore the save and, on completion, asksSpeakerEveryoneRenamePolicy.nameBox(afterSave:typed:submitted:)what to do. The card closes only when the live draft still equals the submitted one, so a newer draft typed during a slow save stays open.acceptsSubmit(typed:saveInFlight:)ignores a second Return while a save is still running.expandedPersonID == id).Tests/SpeakerVoiceRowPresentationTests.swiftcovers it: "An edit during an Everyone rename save stays available for a later save" (newer draft stays open after the first save succeeds, can be submitted once it finishes, and a failed save keeps it too).Verified on origin/main 86f4ce9:
bash run-tests.sh --filter testSpeakerVoiceRowPresentationgave 42 passed, 0 failed. No new PR needed.