Skip to content

feat: list a module's contents in one ordered table - #166

Merged
sean-dickinson merged 2 commits into
contentable-v2-orderingfrom
contentable-v2-module-contents
Nov 1, 2026
Merged

sean-dickinson merged 2 commits into
contentable-v2-orderingfrom
contentable-v2-module-contents

Conversation

@sean-dickinson

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

Copy link
Copy Markdown
Collaborator

Description

Layer 3 of 7 in the contentable stack.

The module edit page shows one ordered table of links and games, with one partial for each content type.

  • A link row says "Delete", because the link is deleted.
  • A game row says "Remove", because the game is kept.
  • Admin::ContentsController#destroy handles both. LinksController no longer has its own destroy action.

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
@sean-dickinson
sean-dickinson force-pushed the contentable-v2-module-contents branch from 24b0ec7 to 64861f3 Compare October 31, 2026 23:58
Links say Delete and games say Remove, both through ContentsController#destroy.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@sean-dickinson
sean-dickinson force-pushed the contentable-v2-module-contents branch from 64861f3 to 5c5426d Compare November 1, 2026 19:50
@sean-dickinson
sean-dickinson marked this pull request as ready for review November 1, 2026 21:28
@sean-dickinson
sean-dickinson merged commit 4a3085a into main Nov 1, 2026
3 of 5 checks passed
@sean-dickinson
sean-dickinson deleted the contentable-v2-module-contents 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