-
Notifications
You must be signed in to change notification settings - Fork 1
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(ids): prefix all ids and references with a unique string [KHCP-13216] #391
Conversation
∙ ∙ This should allow utilizing multiple instances of the same icon on a page while preventing reference conflicts and duplicate id selectors.
@@ -730,6 +730,7 @@ exports[`generate > does not remove icons from the previous build 1`] = ` | |||
"InsomniaIcon.vue", | |||
"ItalicIcon.vue", | |||
"KeyboardReturnIcon.vue", | |||
"KongGradientIcon.vue", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I’m not sure why this entry doesn’t already exist on main 🤔 but explains why the open Renovate PRs are failing.
600f822
to
6d60e23
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Two last small issues and other changes look good to me.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 🚀
# [1.16.0](v1.15.2...v1.16.0) (2024-09-25) ### Features * **ids:** prefix all ids and references with a unique string [KHCP-13216] ([#391](#391)) ([9ca7461](9ca7461))
🎉 This PR is included in version 1.16.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Summary
Prefix any internal
id
attributes within the SVG with a unique string, and update the corresponding references accordingly to allow utilizing multiple instances of the same icon on a page while preventing reference conflicts and duplicateid
selectors.Example
On the
/{geo}/gateway-manager/{control_plane_id}/configuration
page, I can now reference two Azure icons simultaneously with no conflicts from theid
attribute(s) or reference(s).Above, notice the prefixed ids