-
Notifications
You must be signed in to change notification settings - Fork 50
Hds::Icon Groundwork
#2198
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
Hds::Icon Groundwork
#2198
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
c922506 to
c23bdcb
Compare
bd5f01d to
088aa8c
Compare
Hds::Icon Groundwork
|
@Dhaulagiri I'm unable to reproduce the double loading locally. Maybe something environment related? |
|
@zamoore see the deployed preview website: https://hds-website-git-hdsicon-importicons-hashicorp.vercel.app/
|
|
@didoo @Dhaulagiri - I had to make the same change to addon-main that I made to the load-sprite initializer for cases where that isn't used. Checked the preview now and it does appear to only load once. |
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
(let's wait for @Dhaulagiri or @alex-ju to approve too, for this one)
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.
Code looks good! I'm happy for us to get it in, assuming we tested this in a product as well.
| !config.emberFlightIcons?.lazyEmbed && | ||
| !config.__flightIconsSpriteLoaded && |
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.
note: I assume the double underscore notation is used to denote the 'internal' nature of this property. across the codebase we have all sorts of notations for this, from __PROPERTY__ to _property and __property that would ideally get aligned in the future
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.
What do you think the best way to document this would be?
79c7bfd to
9980466
Compare
|
@zamoore do you think we should do a quick check in Cloud UI using this specific branch, to make sure we're not missing anything? unless you're 100% confident is not necessary to retest what happens if we deploy only this groundwork first I'll leave it to you to make the call :) |
|
@didoo I'd rather be more cautious than less. I'm going to run a quick test this morning to verify. |
d2c611a to
9972c76
Compare


📌 Summary
This PR is part of #2207
If merged, this PR will:
@hashicorp/flight-iconsas a direct dependency ofcomponentsember-flight-iconstocomponents🔗 External links
Feature branch PR: 2207
Jira ticket: HDS-3515