Skip to content

feat(blocs): compose pages from sections, grids and single object blocs - #1292

Open
ThibaudDauce wants to merge 20 commits into
mainfrom
feat/blocs-sections
Open

ThibaudDauce wants to merge 20 commits into
mainfrom
feat/blocs-sections

Conversation

@ThibaudDauce

@ThibaudDauce ThibaudDauce commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor

ThibaudDauce added a commit that referenced this pull request Oct 22, 2026
…edito page gets its metrics (#1295)

The admin edito page and the public page share the same `useSiteBlocs`
cache key but not the same `X-Fields`. Clicking "Éditer sur la page
publique" from `/admin/site/edito/datasets` reuses the admin response,
without `metrics`:

```
TypeError: Cannot read properties of undefined (reading 'datasets')
    at pages/datasets/index.vue
```

Same for reuses and dataservices. Found while testing
#1292
:icon="RiAddLine"
@click="workingBlocs.splice(index, 0, newSection())"
>
{{ $t('Ajouter une section') }}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I dont think it's related to this PR, but the first button, above the first section is half-hidden by the header menu

This branch has not been deployed

No deployments
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.

2 participants