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(sourceId): Add sourceId to provide data-autocomplete-source-id on section source container #429

Merged
merged 8 commits into from
Feb 5, 2021

Conversation

shortcuts
Copy link
Member

Summary

  • Add a required sourceId option to AutocompleteSource interface in core
  • Provide data-autocomplete-source-id based on sourceId on source DOM container (section)
  • Update getSources related tests
  • Update docs

…d `data-autocomplete-source-id` on `section` tags, update `getSources` related tests
@codesandbox-ci
Copy link

codesandbox-ci bot commented Feb 4, 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 78f8d84:

Sandbox Source
@algolia/js-example Configuration
@algolia/react-renderer-example Configuration

examples/js/app.tsx Outdated Show resolved Hide resolved
examples/js/app.tsx Outdated Show resolved Hide resolved
examples/js/app.tsx Outdated Show resolved Hide resolved
packages/autocomplete-core/src/types/AutocompleteSource.ts Outdated Show resolved Hide resolved
packages/website/docs/sources.md Outdated Show resolved Hide resolved
shortcuts and others added 3 commits February 5, 2021 11:46
Co-authored-by: François Chalifour <francoischalifour@users.noreply.github.com>
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.

3 participants