Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve the IWidgetDescriptor API #2064

Closed
pcdavid opened this issue Jun 14, 2023 · 1 comment
Closed

Improve the IWidgetDescriptor API #2064

pcdavid opened this issue Jun 14, 2023 · 1 comment

Comments

@pcdavid
Copy link
Member

pcdavid commented Jun 14, 2023

In #1914 a new IWidgetDescriptor API was introduced on the backend to allow the the Form redering to handle custom widgets not defined in the core.
The shape of the API was modeled "naively" to match how FormInstancePropsValidator, FormElementFactory & co. handle the core component, but it lacks flexibility.
In particular it assumes that a given component type/class can only produce a single type of element (and a single type of corresponding props).

@pcdavid pcdavid added this to the 2023.8.0 milestone Jun 14, 2023
pcdavid added a commit that referenced this issue Jun 14, 2023
Bug: #2064
Signed-off-by: Pierre-Charles David <pierre-charles.david@obeo.fr>
@pcdavid pcdavid self-assigned this Jun 14, 2023
@pcdavid pcdavid linked a pull request Jun 14, 2023 that will close this issue
pcdavid added a commit that referenced this issue Jun 14, 2023
Bug: #2064
Signed-off-by: Pierre-Charles David <pierre-charles.david@obeo.fr>
pcdavid added a commit that referenced this issue Jun 15, 2023
Bug: #2064
Signed-off-by: Pierre-Charles David <pierre-charles.david@obeo.fr>
pcdavid added a commit that referenced this issue Jun 16, 2023
Bug: #2064
Signed-off-by: Pierre-Charles David <pierre-charles.david@obeo.fr>
pcdavid added a commit that referenced this issue Jun 16, 2023
Bug: #2064
Signed-off-by: Pierre-Charles David <pierre-charles.david@obeo.fr>
pcdavid added a commit that referenced this issue Jun 20, 2023
Bug: #2064
Signed-off-by: Pierre-Charles David <pierre-charles.david@obeo.fr>
pcdavid added a commit that referenced this issue Jun 20, 2023
Bug: #2064
Signed-off-by: Pierre-Charles David <pierre-charles.david@obeo.fr>
pcdavid added a commit that referenced this issue Jun 20, 2023
Bug: #2064
Signed-off-by: Pierre-Charles David <pierre-charles.david@obeo.fr>
pcdavid added a commit that referenced this issue Jun 21, 2023
Bug: #2064
Signed-off-by: Pierre-Charles David <pierre-charles.david@obeo.fr>
pcdavid added a commit that referenced this issue Jun 23, 2023
Bug: #2064
Signed-off-by: Pierre-Charles David <pierre-charles.david@obeo.fr>
AxelRICHARD pushed a commit that referenced this issue Jun 23, 2023
Bug: #2064
Signed-off-by: Pierre-Charles David <pierre-charles.david@obeo.fr>
@pcdavid
Copy link
Member Author

pcdavid commented Jun 26, 2023

Fixed by 53916cd

@pcdavid pcdavid closed this as completed Jun 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants