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

ksearch: adjust id generation to add basename from callers #471

Merged
merged 2 commits into from
Oct 17, 2024

Conversation

Fondryext
Copy link
Contributor

This PR adjusts our useId function, which generates ids for html elements, to also take a 'basename' argument from callers. This is to help reduce the likelihood of an id made conflicting with an id somewhere else on the page.

J=WAT-4464
TEST=auto

Ran tests. Was having issues getting the test site running

This PR adjusts our useId function, which generates ids for
html elements, to also take a 'basename' argument from
callers. This is to help reduce the likelihood of an id
made conflicting with an id somewhere else on the page.

J=WAT-4464
TEST=auto

Ran tests. Was having issues getting the test site running
@Fondryext Fondryext requested a review from a team as a code owner October 17, 2024 14:27
Copy link
Contributor

Current unit coverage is 92.12481426448737%
Current visual coverage is 79.01234567901234%
Current combined coverage is 92.62376237623762%

@coveralls
Copy link

coveralls commented Oct 17, 2024

Coverage Status

coverage: 85.38%. remained the same
when pulling bbf9f63 on dev/v1.6.5
into 8834ba3 on hotfix/v1.6.5.

@Fondryext Fondryext merged commit 1c102c5 into hotfix/v1.6.5 Oct 17, 2024
20 checks passed
@Fondryext Fondryext deleted the dev/v1.6.5 branch October 17, 2024 19:29
@Fondryext Fondryext mentioned this pull request Oct 17, 2024
Fondryext added a commit that referenced this pull request Oct 17, 2024
**Fixes**

- Updates id generation to reduce risk of id collision #471
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