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(relevant sort): Relevant sort widget #162

Merged
merged 15 commits into from
Mar 4, 2021

Conversation

VladislavFitz
Copy link
Contributor

@VladislavFitz VladislavFitz commented Feb 15, 2021

Summary

Implementation of widget toggling the relevancy strictness search parameter within a virtual index search.
InstantSearch Core inlcudes:

  • RelevantSortInteractor - smart sort priority toggling logic
  • RelevantSortController - controller presenting the smart sort priority applied to the search and a toggle control
  • RelevantSortPresenter - presenter transforming the smart sort priority state to its representation for a controller
  • RelevantSortConnector - high-level component automatically establishing the connections between smart sort components
  • DefaultPresenter.RelevantSort.present – default textual presenter

And connections between them:

  • RelevantSortInteractor.SingleIndexSearcherConnection
  • RelevantSortInteractor.MultiIndexSearcherConnection
  • RelevantSortInteractor.ControllerConnection

InstantSearch provides out-of-box ButtonRelevantSortController including a label presenting the smart sort state hint and state toggle button.

@VladislavFitz VladislavFitz changed the title feat(dynamic ranking): Smart sort widget feat(smart sort): Smart sort widget Feb 17, 2021
Copy link
Member

@aallam aallam left a comment

Choose a reason for hiding this comment

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

🎉

@VladislavFitz VladislavFitz changed the title feat(smart sort): Smart sort widget feat(relevant sort): Relevant sort widget Mar 3, 2021
@VladislavFitz VladislavFitz merged commit d77bb60 into master Mar 4, 2021
@VladislavFitz VladislavFitz deleted the feat/dynamic-ranking-toggle branch March 9, 2021 16:20
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.

2 participants