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

feat(ts): migrate toggleRefinement & connectToggleRefinement #4743

Merged
merged 1 commit into from
May 3, 2021

Conversation

Haroenv
Copy link
Contributor

@Haroenv Haroenv commented Apr 20, 2021

Summary

converts toggleRefinement and connectToggleRefinement

Result

toggleRefinement and connectToggleRefinement are converted to typescript

(note typescript will fail until this is rebased onto master, I didn't do it now because it's 9 PRs deep)

@Haroenv Haroenv requested review from a team, eunjae-lee and tkrugg and removed request for a team April 20, 2021 09:34
@codesandbox-ci
Copy link

codesandbox-ci bot commented Apr 20, 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 d5d55d5:

Sandbox Source
InstantSearch.js Configuration

@Haroenv Haroenv force-pushed the chore/types-reorg-8 branch 3 times, most recently from 52bb7f1 to 467df0e Compare April 28, 2021 14:21
@Haroenv Haroenv force-pushed the feat/toggle-ts branch 4 times, most recently from 10a1064 to 822a934 Compare April 30, 2021 09:13
}: {
isRefined: boolean;
} = { isRefined: false }
) => {
if (!isRefined) {
sendEvent('click', isRefined);
Copy link
Contributor

Choose a reason for hiding this comment

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

I'm not super familiar with this but isn't we supposed to pass the attribute:{{value}} here ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

let's not change it in this PR :)

Copy link
Contributor

@tkrugg tkrugg left a comment

Choose a reason for hiding this comment

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

I'm not the most familiar with the sendEvent logic. i'm not sure on that part.
Otherwise 👍

@Haroenv Haroenv force-pushed the chore/types-reorg-8 branch from 467df0e to 11c6b97 Compare May 3, 2021 12:51
Base automatically changed from chore/types-reorg-8 to master May 3, 2021 12:51
@Haroenv Haroenv merged commit b9c884d into master May 3, 2021
@Haroenv Haroenv deleted the feat/toggle-ts branch May 3, 2021 12:52
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