• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

yext / search-ui-react
88%

Build:
DEFAULT BRANCH: main
Repo Added 15 Jul 2022 03:07PM UTC
Files 108
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH main
branch: main
CHANGE BRANCH
x
Reset
  • main
  • autocomplete-fixes
  • dev/debounce-autocomplete-filtersearch
  • dev/events-api
  • dev/filter-search-disable-builtin-classes
  • dev/filtersearch-wcag-fix
  • dev/gda-analytics-event
  • dev/gda-markdown-styling
  • dev/localize-mapbox
  • dev/locator-analytics-events
  • dev/map-pins-improvements
  • dev/mapbox-map-updates-for-vle
  • dev/mapbox-map-vle-iframe-updates
  • dev/mapbox-pins
  • dev/merge-v1.6.3-97db8e5-into-develop
  • dev/merge-v1.6.4-fa0b741-into-develop
  • dev/merge-v1.6.5-76fb682-into-develop
  • dev/merge-v1.6.6-0c72c17-into-develop
  • dev/merge-v1.6.7-109b443-into-develop
  • dev/merge-v1.7.0-6a7ae5a-into-develop
  • dev/merge-v1.7.1-19ad6ad-into-develop
  • dev/merge-v1.7.2-805655a-into-develop
  • dev/merge-v1.7.2-c78323c-into-develop
  • dev/merge-v1.8.10-7ebcaac-into-develop
  • dev/merge-v1.8.12-7e57974-into-develop
  • dev/merge-v1.8.13-929d02a-into-develop
  • dev/merge-v1.8.14-41f0159-into-develop
  • dev/merge-v1.8.15-7e9bb8f-into-develop
  • dev/merge-v1.8.2-055c51d-into-develop
  • dev/merge-v1.8.3-3fe4af2-into-develop
  • dev/merge-v1.8.4-9f1be48-into-develop
  • dev/merge-v1.8.5-0d78fc0-into-develop
  • dev/merge-v1.8.9-3ba9ab4-into-develop
  • dev/merge-v1.9.0-162f63a-into-develop
  • dev/merge-v1.9.4-f4c07d7-into-develop
  • dev/near-me-button-filter-search
  • dev/reacti18next
  • dev/remove-mapbox-event-listeners
  • dev/remove-nested-button
  • develop
  • display-converted-richText
  • esm
  • esm2
  • exampleCards
  • feature/answers-to-search
  • feature/mapbox-component
  • hotfix/1.6.3
  • hotfix/v1.0.1
  • hotfix/v1.0.2
  • hotfix/v1.18.15
  • hotfix/v1.3.5
  • hotfix/v1.4.1
  • hotfix/v1.5.1
  • hotfix/v1.6.1
  • hotfix/v1.6.2
  • hotfix/v1.6.3
  • hotfix/v1.6.4
  • hotfix/v1.6.5
  • hotfix/v1.6.6
  • hotfix/v1.6.7
  • hotfix/v1.6.8
  • hotfix/v1.7.1-v2
  • hotfix/v1.7.2
  • hotfix/v1.8.1
  • hotfix/v1.8.12
  • hotfix/v1.8.14
  • hotfix/v1.8.2
  • hotfix/v1.8.3
  • hotfix/v1.8.4
  • hotfix/v1.9.1
  • hotfix/v1.9.2
  • hotfix/v1.9.3
  • hotfix/v1.9.4
  • hotfix2/v1.7.1
  • patch-1
  • react18upgrade
  • refs/heads/develop
  • release/1.1.1
  • release/1.3.1
  • release/v1.0.0
  • release/v1.1.0
  • release/v1.2.0
  • release/v1.5.0
  • release/v1.6.0
  • remove-logo-searchbar
  • rename-imports
  • rename-repo-package
  • rerun-npm-i-1.8.12
  • richText-html-support
  • search-autocomplete-fixes
  • search-autocomplete-fixes2
  • semgrep-ubuntu-latest
  • storybook-site
  • storybook-site-google-analytics
  • test-coverage-githubaction
  • test-gh-actions
  • test-site
  • test/set-output
  • test/snapshots
  • test/use-node-20
  • tmeyer2115-patch-1
  • update-package-version-1.8.1
  • wgorick/dev

07 Aug 2025 02:59PM UTC coverage: 88.287% (+0.7%) from 87.593%
16808152136

push

github

web-flow
Deduplicate generative direct answer calls (#554)

The effect hook that triggers a GDA call has two dependencies: the search results and the search ID. These both change when a search is made. In React 18, these updates are batched together so only one call to GDA gets made when the search is updated. However, in React 17, no batching is performed and updates are handled in order, meaning a call to GDA is made when the search results are updated and when the search ID is updated, even if the same search triggers both updates. This change tracks the search results and only executes a new GDA call if the search results have changed.

J=WAT-4861
TEST=manual

Created a local test site that runs on React 17. Made a local tarball with my changes to search-ui-react using npm pack and pointed the local test site's import of search-ui-react to the tarball. Confirmed that only one GDA call is made per-seasrch.

Also spun up the search-ui-react test-site (which runs on React 18) and confirmed that GDA calls are still made once per search as expected.

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

820 of 1026 branches covered (79.92%)

Branch coverage included in aggregate %.

3 of 4 new or added lines in 1 file covered. (75.0%)

2067 of 2244 relevant lines covered (92.11%)

135.95 hits per line

Relevant lines Covered
Build:
Build:
2244 RELEVANT LINES 2067 COVERED LINES
135.95 HITS PER LINE
Source Files on main
  • Tree
  • List 108
  • Changed 36
  • Source Changed 1
  • Coverage Changed 36
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
16808152136 main Deduplicate generative direct answer calls (#554) The effect hook that triggers a GDA call has two dependencies: the search results and the search ID. These both change when a search is made. In React 18, these updates are batched together so onl... push 07 Aug 2025 03:02PM UTC web-flow github
88.29
16731600472 main Revert "Debounce generative direct answer calls" This reverts commit 5523946e1. push 04 Aug 2025 06:54PM UTC mkouzel-yext github
87.59
16731549985 main Debounce generative direct answer calls The effect hook that triggers a GDA call has two dependencies: the search results and the search ID. These both change when a search is made. In React 18, these updates are batched together so only one call... push 04 Aug 2025 06:51PM UTC mkouzel-yext github
88.29
16503306612 main Apply FitBoundsOptions to MapboxMap if present (#551) Passes the FitBoundsOptions to the MapboxMap's fitBounds handler if present on the MapboxOptions prop. These options are defined in https://docs.mapbox.com/mapbox-gl-js/api/map/#map#fitbounds.... push 24 Jul 2025 05:12PM UTC web-flow github
88.34
16419564668 main Fix CurrentLocationIcon prop names (#548) Incorrect names were throwing warnings. Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com> push 21 Jul 2025 02:22PM UTC web-flow github
87.59
16152090902 main Add name property for near field value filters (#545) Bumps search-headless-react version to include change that added optional name property for near field value filters. * Update snapshots --------- Co-authored-by: github-actions <41898282+g... push 08 Jul 2025 07:06PM UTC web-flow github
88.34
16125266659 main Use react-i18next for default translations (#543) * Use react-i18next for default translations The default translations live in the locales/ folder. To enable translation on the react components, use <SearchI18nextProvider/> wrapper. SearchI18ne... push 07 Jul 2025 06:49PM UTC web-flow github
88.34
15907528776 main Version 1.8.15 ### Changes - allow specifying Matchers in StaticFilters push 26 Jun 2025 04:42PM UTC web-flow github
88.19
15858323119 main Version 1.8.14 ### Changes - Adds support for OpenAt Matcher push 24 Jun 2025 06:19PM UTC web-flow github
87.43
15739140045 main Cleanup various event listeners (#534) * Cleanup various event listeners Also make sure localizeMap() is executed when map style changes as well. TEST=manual verified map is localized upon style changes as well * Update snapshots --------- C... push 18 Jun 2025 05:09PM UTC web-flow github
88.19
See All Builds (1638)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc