Skip to content

Migrated global blocks change to fresh branch - #2297

Open
Toocky wants to merge 3 commits into
cortezaproject:2024.9.xfrom
Toocky:2024.9.x-feature-global-blocks
Open

Toocky wants to merge 3 commits into
cortezaproject:2024.9.xfrom
Toocky:2024.9.x-feature-global-blocks

Conversation

@Toocky

@Toocky Toocky commented Mar 5, 2026

Copy link
Copy Markdown
Contributor

Issue #1598

#1727 PR with the Global blocks feature was previously approved but never merged and is now outdated and was easier to create a new branch and pull the needed code across.

This was not my code.

The following changes are implemented

Global blocks that can be used and updated on any page for example a navigation bar this eliminates the need to create and updated the same navigation block on all pages

Changes in the user interface:

when creating the block there is a new global block switch
image

then when adding blocks to a page there is a global blocks drop down selector at the bottom of the Add Blocks modal
image

Checklist when submitting a final (!draft) PR

  • Commits are tidied up, squashed if needed and follow guidelines in CONTRIBUTING.md
  • Code builds
  • All existing tests pass
  • All new critical code is covered by tests
  • PR is linked to the relevant issue(s)
  • Rebased with the target branch

A side note is there any dev guidance for testing changes? I found the "make watch" to be extremely slow to the point of unusable but I am potentially not doing something correctly.

@Toocky

Toocky commented Mar 22, 2026

Copy link
Copy Markdown
Contributor Author

Rebased to 2024.9.8

- Global blocks stored on namespace level (blocks field)
- Page builder UI for managing global/shared blocks
- Namespace REST API extended with blocks update endpoint
- Namespace service, envoy, and store updated accordingly
- Page block base type updated to support global block metadata

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@Toocky
Toocky force-pushed the 2024.9.x-feature-global-blocks branch from 251c523 to 5319475 Compare April 8, 2026 19:15
@Toocky
Toocky force-pushed the 2024.9.x-feature-global-blocks branch from a0352fd to d07b517 Compare April 13, 2026 23:57
@Fajfa
Fajfa force-pushed the 2024.9.x branch 2 times, most recently from b8536d1 to b7d6d27 Compare May 21, 2026 14:25
@github-actions

github-actions Bot commented Aug 1, 2026

Copy link
Copy Markdown

Stale pull request message

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant