Skip to content

fix: allow undoing the first drill move in review - #317

Open
epinxteren wants to merge 2 commits into
CSSLab:mainfrom
epinxteren:codex/fix-drill-review-first-move
Open

epinxteren wants to merge 2 commits into
CSSLab:mainfrom
epinxteren:codex/fix-drill-review-first-move

Conversation

@epinxteren

Copy link
Copy Markdown

Summary

  • Allow the back button to return from the first played drill move to the drill starting position.
  • Keep navigation stopped at that starting position.

Validation

  • Reproduced the disabled back button on the live drills page after the first move.
  • The changed file passes ESLint; git diff --check passes.
  • Repository-wide lint and TypeScript checks hit an unrelated existing COPY_AUTOCAPTURE_EVENT import error in src/lib/posthog-browser-config.ts. npm ci is also blocked by the current lockfile being out of sync.

Removed unnecessary check for parent node's FEN in disablePrevious condition.
Use a boolean expression for the disabled state of review navigation.
@vercel

vercel Bot commented Oct 4, 2026

Copy link
Copy Markdown

@epinxteren is attempting to deploy a commit to the Maia Platform Team on Vercel.

A member of the Team first needs to authorize it.

This branch has not been deployed

No deployments
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