-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
MDL2 and FileType Icon CDNs prior to @fluentui/react 8.109.0 are unavailable #33612
Comments
Note that this CDN was taking offline for a period this week and recently restored. After January 15th, it will be gone permanently. Follow this issue for updates. |
@micahgodbolt , we are seeing the old CDN URL references in below packages: @uifabric/icons & @uifabric/react-hooks Could you confirm if these packages are handled by your team? If yes, then is there any plan to update the versions? |
@RK0004-git @uifabric packages were renamed to @FluentUI in 2020, which means you are probably using our 7.x release? |
This is also affecting Power Pages sites - i.e., forms added to a Power Pages site lack icons. The proposed workaround in #33596 does not seem possible as the implementation seems out of our control.
|
@cwatson-sidub Have you found a solution? |
@cwatson-sidub @opteon-sdc Tools like patch-package can be used to modify the contents of the code after a package has been installed. You could modify the code in your node_modules folder, create a patch, and apply it as a |
I think that the problem is that I'm using the icons in PCF components in a PowerApps Canvas App. The way that works is that my components use a "shared" version of FluentUI that is provided by PowerApps itself (seems to be locked on version 8.29.0 (https://learn.microsoft.com/en-us/power-apps/developer/component-framework/react-controls-platform-libraries#supported-platform-libraries-list). @micahgodbolt @mmckenziedev That solution wouldn't work for me. The weird thing is, that I should be able to execute the |
We currently see the same issue in a newly created Power Page using a simple (modern) List component. Using
unfortunatelly seems not to work for us. |
@johannschenkl I solved it this way, I hope it helps: microsoft/powercat-creator-kit#514 (comment) |
@opteon-sdc Thanks a lot! We'll try that. Honestly, for now we just switched back to "classic" lists in Power Pages. |
@opteon-sdc From what I understand, if |
@mmckenziedev That would explain it, the problem is that because PowerApps Canvas Apps loads the FluentUI library themselves, I'm unable to ever overwrite it. |
As per CDN issue fix in microsoft/fluentui#33612
@micahgodbolt we are observing similar failure on our internal tool . Is there any permanent fix rolled out or any plan to do in near future? |
@micahgodbolt , we are no longer seeing the issue on 10 Feb. Has this now been fully resolved/mitigated? Our scenario was React component in Power Page. I also understand there was a Power Pages version update over the weekend, which may be relevant. |
Hi, Is there any update on resolving the icon loading issue? |
For now, the best solution for this problem is to upgrade to the latest version of Fluent v7 or v8, as they by default use the latest CDN. Otherwise you can use initializeIcons to specifiy the new CDN. initializeIcons("https://res.cdn.office.net/files/fabric-cdn-prod_20241209.001/assets/icons/"); Manual alternativeIf you are not able to change the version of Fluent or the initializeIcon call, you can manually load in the missing font files files. See the example below. https://codepen.io/micahgodbolt/pen/xbxRgLP Note that icons are broken up into several different chunks. The chunk loaded in the codepen includes all of the default icons used throughout Fluent, but if you are using custom Icons, you'll need to make sure to load the fontface and URL associated with that icon. You can find those icon/font-face associations here: https://github.com/microsoft/fluentui/tree/master/packages/font-icons-mdl2/src
@font-face {
font-family: 'FabricMDL2Icons-0';
src: url('https://res.cdn.office.net/files/fabric-cdn-prod_20241209.001/assets/icons/fabric-icons-0-467ee27f.woff')
format('woff2');
} |
Hi @micahgodbolt , |
Hi @micahgodbolt , |
Due to the January 15th shutdown of Edgio, CDNs that were used to host MDL2 and FileType icons prior to 2023 are going to be permanently unavailable after January 15th. We are actively working to see if we can mitigate this issue through Azure Front Door (AFD), but due to the tight deadline we recommend that any product using these old packages use the following mitigation steps.
Update your dependencies to:
Or manually set your CDN urls by updating your icon initialize functions
The text was updated successfully, but these errors were encountered: