Skip to content

feat: let ordered records move up and down - #165

Merged
sean-dickinson merged 2 commits into
contentable-v2-membershipfrom
contentable-v2-ordering
Nov 1, 2026
Merged

sean-dickinson merged 2 commits into
contentable-v2-membershipfrom
contentable-v2-ordering

Conversation

@sean-dickinson

@sean-dickinson sean-dickinson commented Oct 31, 2026 •

Copy link
Copy Markdown
Collaborator

Description

Layer 2 of 7 in the contentable stack.

The Ordered concern lets a record swap places with the record above or below it. Content and module positions become required. A migration renumbers existing module positions within each program and level. This layer has no UI changes.

Type of change

  • New feature

How Has This Been Tested?

On this branch, bin/rails test, bin/rubocop, bundle exec herb analyze ., npm run lint, Brakeman, and the test seed replant pass. The top branch of the stack passes bin/ci.

🤖 Generated with Claude Code

@sean-dickinson
sean-dickinson added this pull request to stack #171 October 31, 2026 20:43
Positions are now required, and ordered records can swap places with a neighbor.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@sean-dickinson
sean-dickinson force-pushed the contentable-v2-ordering branch from 8e6e51e to a1c2364 Compare October 31, 2026 23:58
Comment thread test/models/content_test.rb Resolved
@sean-dickinson
sean-dickinson marked this pull request as ready for review November 1, 2026 21:28
@sean-dickinson
sean-dickinson merged commit e833a80 into main Nov 1, 2026
3 of 5 checks passed
@sean-dickinson
sean-dickinson deleted the contentable-v2-ordering branch November 1, 2026 21:30
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