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: rename all references to widgetOptions as widgetParams #4612

Merged
merged 1 commit into from Jan 19, 2021

Conversation

Haroenv
Copy link
Contributor

@Haroenv Haroenv commented Dec 23, 2020

The two terms were used interchangeably, mostly in comments and in function arguments. There's now only TWidgetOptions in the Widget generic, which isn't widgetParams

BREAKING CHANGE: if you're using experimental-typescript and importing a type of the form ...WidgetOptions (eg. replace HitsWidgetOptions with HitsWidgetParams)

@Haroenv Haroenv marked this pull request as ready for review January 13, 2021 15:42
@Haroenv Haroenv force-pushed the refactor/widgetParams branch 2 times, most recently from 4cec96f to 3b39b75 Compare January 15, 2021 11:11
@codesandbox-ci
Copy link

codesandbox-ci bot commented Jan 15, 2021

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 903e3e3:

Sandbox Source
InstantSearch.js Configuration

Copy link
Contributor

@eunjae-lee eunjae-lee left a comment

Choose a reason for hiding this comment

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

Looks good to me

Base automatically changed from poc/telemetry4 to master January 19, 2021 12:30
The two terms were used interchangeably, mostly in comments and in function arguments. There's now only `TWidgetOptions` in the Widget generic, which isn't widgetParams

BREAKING CHANGE: if you're using experimental-typescript and importing a type of the form `...WidgetOptions` (eg. replace `HitsWidgetOptions` with `HitsWidgetParams`)
@Haroenv Haroenv merged commit ff9a18d into master Jan 19, 2021
@Haroenv Haroenv deleted the refactor/widgetParams branch January 19, 2021 12:40
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

3 participants