Skip to content

Fix stop comment form remaining disabled after saving - #49

Merged
rcosteira79 merged 1 commit into
mainfrom
fix/reuse-stop-comment-form
Nov 12, 2026
Merged

rcosteira79 merged 1 commit into
mainfrom
fix/reuse-stop-comment-form

Conversation

@rcosteira79

@rcosteira79 rcosteira79 commented Nov 12, 2026 •

Copy link
Copy Markdown
Collaborator

After saving a tour-stop comment, the persistent form kept its submit button disabled. Opening it on another stop (or editing an existing comment) therefore could not submit again.

Always re-enable the button when the save request finishes. Extend the browser regression to save comments on two different stops, edit the original comment, and retry a failed save without losing its draft.

Validation:

  • The browser regression failed on the previous implementation at the second comment's disabled submit button and passes with the fix.
  • Review-sidebar browser checks pass, including desktop/mobile layout and a clean browser console.
  • bun run verify: typecheck, 1,191 passing tests (13 skipped), and JavaScript syntax checks. The run requires localhost networking for server fixtures.
  • All GitHub CI checks pass, including every Monaco browser group and Windows.

@rcosteira79
rcosteira79 merged commit d7c1ddf into main Nov 12, 2026
14 checks passed
@rcosteira79
rcosteira79 deleted the fix/reuse-stop-comment-form branch November 13, 2026 14: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