[2.0.0-beta1] Remove usage of setComponentSettingsExtra in field formatters in favor of injected contexts + Fix contexts issues + Fix ComponentFormatter issues

Created on 1 August 2024, about 2 months ago
Updated 12 August 2024, about 1 month ago

Problem/Motivation

like we do for view in issue [2.0.0-beta1] Do we take care of the big object in views config? 📌 [2.0.0-beta1] Do we take care of the big object in views config? Fixed , we need to correct the field formatter plugins to correctly inject data through context instead of storing big data in component settings passed to rendering.

There is an issue about field formatter "ComponentFormatter" when used in a nested slot, using data from a field.
When the field has multiple values, it does render multiple component instead of one

There are multiple issues in the current codebase about contexts.
- field formatters in views do not always behave as expected.
- when componentFormatter and Component Formatter per item are nested inside each other, the behavior about the field items rendered is not as expected, and moreover when using "data from a field"
- other weird behaviors and cases, mostly based on contexts and multiple VS single value fields.

🐛 Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

🇫🇷France just_like_good_vibes PARIS

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024