Skip to content

PM-5757: Keep footer cancel menu visible - #2102

Merged
jmgasper merged 1 commit into
devfrom
PM-5757-2
Aug 4, 2026
Merged

PM-5757: Keep footer cancel menu visible#2102
jmgasper merged 1 commit into
devfrom
PM-5757-2

Conversation

@jmgasper

@jmgasper jmgasper commented Aug 3, 2026

Copy link
Copy Markdown
Collaborator

What was broken

QA confirmed that the cancellation workflow added by the previous PM-5757 follow-up now works, but the edit-footer status menu extends beyond the left edge of the viewport and is not fully visible.

Root cause

PR #2094 reused the header-oriented cancellation action in the form's left footer slot. The 280px menu remained right-aligned to the narrow Cancel trigger, so it expanded offscreen to the left.

What was changed

Added an optional start alignment for the cancellation status menu and enabled it only for the edit-footer action. The menu now expands rightward into the form and remains inside the viewport, while header and read-only footer instances retain their existing end alignment.

Updated the challenge editor documentation to describe the footer menu behavior.

Any added/updated tests

Extended ChallengeEditorPage.spec.tsx to verify that the edit-footer cancellation menu receives the start-alignment modifier. The existing assertions continue to cover status selection, confirmation, the challenge PATCH payload, and refresh.

Validation:

  • Focused ChallengeEditorPage suite: 30 tests passed.
  • yarn lint: passed.
  • yarn run build: passed with existing warnings.
  • git diff --check: passed.
  • Full suite: 999 tests passed and 32 tests failed across 18 suites. A clean origin/dev worktree reproduced the identical 999 passing and 32 failing tests in the same 18 suites, confirming the failures are pre-existing.

What was broken

The edit-footer cancellation status menu extended beyond the left edge of the viewport, so QA could not see the complete menu.

Root cause

The previous follow-up reused the header-oriented cancellation action in the form's left footer slot. Its 280px menu remained right-aligned to the narrow trigger and expanded offscreen to the left.

What was changed

Added an optional start alignment for the cancellation menu and enabled it only for the edit-footer action. Header and read-only footer actions retain their existing end alignment, and the challenge editor documentation now describes the footer behavior.

Any added/updated tests

Extended ChallengeEditorPage coverage to verify that the edit-footer cancellation menu receives the start-alignment modifier while preserving the existing status selection, confirmation, PATCH, and refresh assertions.
@jmgasper
jmgasper requested a review from kkartunov as a code owner August 3, 2026 20:52
@jmgasper
jmgasper merged commit 2ea5a68 into dev Aug 4, 2026
7 checks passed
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