Skip to content

Implement versioned blocks for content pages (#445)#449

Merged
thibaudcolas merged 9 commits into
wagtail:mainfrom
Raghaddahi:feature/versioned-blocks-prototype
Jul 9, 2026
Merged

Implement versioned blocks for content pages (#445)#449
thibaudcolas merged 9 commits into
wagtail:mainfrom
Raghaddahi:feature/versioned-blocks-prototype

Conversation

@Raghaddahi

@Raghaddahi Raghaddahi commented Jun 21, 2026

Copy link
Copy Markdown
Member

Relates to #445

Description

  • TextBlockVersioned — generic versioned text block using BlockGroup, rendering an optional version badge above the text.

The original TextBlock stays a RichTextBlock so existing text content keeps working; the versioned variant is a separate text_versioned block with its own template, avoiding a data migration.

Testing

Text Block Versioned

image image

AI usage

  • Agent: opencode (glm-5.2) assisted with this PR description and the HTML/CSS (templates and SCSS for version-note / version-badge).
  • All code reviewed and tested by @Raghaddahi.

@thibaudcolas thibaudcolas force-pushed the feature/versioned-blocks-prototype branch from 7a5ecc6 to 5aa7fdf Compare July 9, 2026 05:48
@thibaudcolas thibaudcolas changed the title Prototype versioned blocks for content pages (#445) Implement versioned blocks for content pages (#445) Jul 9, 2026
@thibaudcolas thibaudcolas merged commit 5efda7f into wagtail:main Jul 9, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: ✅ Done

Development

Successfully merging this pull request may close these issues.

2 participants