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

refactor: add FieldsComposable #749

Merged
merged 3 commits into from Jun 14, 2023
Merged

Conversation

YoussefRaafatNasry
Copy link
Member

@YoussefRaafatNasry YoussefRaafatNasry commented Jun 14, 2023

The FieldsComposable is an interface for unifying how features that uses Fields as building blocks (i.e. Addons and Knobs) should behave. This lead to some breaking changes as follow:

Class Old Method Name New Method Name
WidgetbookAddon settingFromQueryGroup valueFromQueryGroup
WidgetbookAddon buildSetting buildFields
Knob build buildFields

@docs-page
Copy link

docs-page bot commented Jun 14, 2023

To view this pull requests documentation preview, visit the following URL:

docs.widgetbook.io/~749

Documentation is deployed and generated using docs.page.

@YoussefRaafatNasry YoussefRaafatNasry self-assigned this Jun 14, 2023
@YoussefRaafatNasry YoussefRaafatNasry marked this pull request as ready for review June 14, 2023 10:49
@YoussefRaafatNasry YoussefRaafatNasry merged commit 52b3e8e into main Jun 14, 2023
5 checks passed
@YoussefRaafatNasry YoussefRaafatNasry deleted the refactor/fields-composable branch June 14, 2023 12:19
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.

None yet

2 participants