Skip to content

Merge main (v2.0.4) into develop#629

Merged
mkouzel-yext merged 4 commits intodevelopfrom
dev/merge-v2.0.4-3af4696-into-develop
Feb 11, 2026
Merged

Merge main (v2.0.4) into develop#629
mkouzel-yext merged 4 commits intodevelopfrom
dev/merge-v2.0.4-3af4696-into-develop

Conversation

@github-actions
Copy link
Contributor

Merge main (v2.0.4) into develop

k-gerner and others added 3 commits February 3, 2026 16:30
also update visual test script to not terminate process preemptively
The DropdownItem component currently uses an anchor element with href="#". In the VLE in Storm, if the DropdownItem is clicked, the page tries to call another endpoint, causing the Locator component to get frozen ([relevant slack thread](https://yext.slack.com/archives/C0A1G447MPD/p1770309810738039?thread_ts=1770309450.749689&cid=C0A1G447MPD)). 

This change converts the DropdownItem component from an `a` element to a `button` element. This is in line with [best practices](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/a#onclick_events), as `a` should only be used for navigation to a real URL rather than triggering JS. 

This PR also aligns handling for focusing and for hovering over dropdown results. Note that focusing happens by toggling different results with arrow keys, whereas hovering happens by moving the mouse on top of results. We want styling changes to be the same for focusing and hovering.

https://yext.atlassian.net/browse/WAT-5384

Before:https://jam.dev/c/51ec9a97-bf37-485f-a6a1-14b8c98e7a76 (note that CSS is not changing properly when focusing on different results)
After:https://jam.dev/c/92938750-9cb1-46d0-9b60-f12d9c9984e6
@github-actions github-actions bot requested a review from a team as a code owner February 11, 2026 17:08
@github-actions
Copy link
Contributor Author

Current unit coverage is 89.67687788501888%
Current visual coverage is 70.37849698299506%
Current combined coverage is 92.79538904899135%

@coveralls
Copy link

Coverage Status

coverage: 85.188% (+0.03%) from 85.161%
when pulling 032c58c on dev/merge-v2.0.4-3af4696-into-develop
into 8dea5b3 on develop.

@mkouzel-yext mkouzel-yext merged commit bf30a01 into develop Feb 11, 2026
18 checks passed
@mkouzel-yext mkouzel-yext deleted the dev/merge-v2.0.4-3af4696-into-develop branch February 11, 2026 17:18
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