Migrate pagelayout position frontend (#18229)

## Context
Part 1 of migrating gridPosition in favor of typed position
FE should now always send both values to the BE and use both.

Next steps: 
- Update the backend to enforce and validate the new position field + DB
migrations gridPositon -> position (type: GRID)
- Cleanup frontend usage
- Cleanup backend
This commit is contained in:
Weiko
2026-03-02 14:42:30 +01:00
committed by GitHub
parent 78a0197643
commit 37bcb35391
15 changed files with 140 additions and 14 deletions
@@ -329,7 +329,7 @@ export const fromPageLayoutWidgetConfigurationToUniversalConfiguration = ({
}
case WidgetConfigurationType.FRONT_COMPONENT: {
const { frontComponentId, ...rest } = configuration;
const { frontComponentId, configurationType } = configuration;
const frontComponentUniversalIdentifier: string | null =
frontComponentUniversalIdentifierById[frontComponentId] ?? null;
@@ -345,7 +345,7 @@ export const fromPageLayoutWidgetConfigurationToUniversalConfiguration = ({
}
return {
...rest,
configurationType,
frontComponentUniversalIdentifier,
};
}