Skip to content

fix(ordering): prove and correct persisted item order - #185

Merged
kbuffardi merged 4 commits into
mainfrom
feature/module-resource-ordering
Sep 14, 2026
Merged

kbuffardi merged 4 commits into
mainfrom
feature/module-resource-ordering

Conversation

@kbuffardi

Copy link
Copy Markdown
Contributor

Summary

  • correct Demo drag direction so the dragged exercise moves to the target position
  • add API regression coverage for Module resource create, update, and retrieval order
  • add learner Demo exercise-order coverage
  • split Module reorder and removal browser assertions so each behavior is independently proven
  • add Demo save/reopen browser coverage and align affected Cypress intercepts with current /api routes

Follow-up to #183, which merged while this branch update was in progress. Completes the requested verification for #182.

Verification

  • API ordering tests: 4 passed
  • immutable reorder unit test: 1 passed
  • focused Cypress ordering scenarios: 3 passed
  • API and client TypeScript checks passed
  • API and client production builds passed

Store zero-based ModuleResources ordering, return it across module and course reads, and make resource selection sortable and removable. Order learner Demo attempts by the existing exercise order.\n\nCloses #182
Add API and browser regression coverage for module resource ordering and learner-facing demo exercise order. Correct the merged demo drag operation so the dragged item moves to the target position, and align Cypress intercepts with current API routes.\n\nRefs #182\n\nCo-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…ce-ordering

# Conflicts:
#	codewit/client-e2e/src/e2e/app.cy.ts
@kbuffardi
kbuffardi merged commit 9353423 into main Sep 14, 2026
2 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