-
Notifications
You must be signed in to change notification settings - Fork 759
Switch to AccessibleImage in Frames component broke SmartTrace #7782
Comments
The naive solution would be to simply load the whole
I'd be in favor of having the |
@nchevobbe could you load Frames.css, Svg.css or something equivelant? |
Probably, yes. If we go that way, we should be careful of classname clashes though. I'll try that soon. |
…nent; r=bgrins. The Frames component changed significantly on Github, which means we need to do some adjustments in the SmartTrace component (pass the `selectable` prop, change CSS rules, …). For now, we also hide the Framework icons as we need to find a way to properly share the underlying CSS from the debugger (See firefox-devtools/debugger#7782). Differential Revision: https://phabricator.services.mozilla.com/D17376 --HG-- extra : moz-landing-system : lando
…nent; r=bgrins. The Frames component changed significantly on Github, which means we need to do some adjustments in the SmartTrace component (pass the `selectable` prop, change CSS rules, …). For now, we also hide the Framework icons as we need to find a way to properly share the underlying CSS from the debugger (See firefox-devtools/debugger#7782). Differential Revision: https://phabricator.services.mozilla.com/D17376
The CSS for these icons was in a handful of places, and is now in two stylesheets:
Yep, as mentioned in #7905 the selectors in Debugger are often not built for reusability. .img.vue {
background-image: url(/images/sources/vuejs.svg);
background-color: transparent !important;
} Then there is the issue of the One solution could be to change those selectors to something more specific, e.g.: .dbg-img {
/* base style */
}
.dbg-img-vue {
background-image: url(/images/sources/vuejs.svg);
background-color: transparent !important;
} |
…nent; r=bgrins. The Frames component changed significantly on Github, which means we need to do some adjustments in the SmartTrace component (pass the `selectable` prop, change CSS rules, …). For now, we also hide the Framework icons as we need to find a way to properly share the underlying CSS from the debugger (See firefox-devtools/debugger#7782). Differential Revision: https://phabricator.services.mozilla.com/D17376 UltraBlame original commit: 2fbbe85bb9923a7eb11ed36dd07343689dc8d071
…nent; r=bgrins. The Frames component changed significantly on Github, which means we need to do some adjustments in the SmartTrace component (pass the `selectable` prop, change CSS rules, …). For now, we also hide the Framework icons as we need to find a way to properly share the underlying CSS from the debugger (See firefox-devtools/debugger#7782). Differential Revision: https://phabricator.services.mozilla.com/D17376 UltraBlame original commit: 2fbbe85bb9923a7eb11ed36dd07343689dc8d071
…nent; r=bgrins. The Frames component changed significantly on Github, which means we need to do some adjustments in the SmartTrace component (pass the `selectable` prop, change CSS rules, …). For now, we also hide the Framework icons as we need to find a way to properly share the underlying CSS from the debugger (See firefox-devtools/debugger#7782). Differential Revision: https://phabricator.services.mozilla.com/D17376 UltraBlame original commit: 2fbbe85bb9923a7eb11ed36dd07343689dc8d071
Cloned into Bugzilla https://bugzilla.mozilla.org/show_bug.cgi?id=1695634 Firefox Developer Tools (including Debugger tool) development is now entirely happening in Bugzilla and new issues should be reported here: https://bugzilla.mozilla.org/enter_bug.cgi?product=DevTools&component=Debugger Honza |
We used to embed the icon's SVG directly in the markup, so icons were displayed in
SmartTrace
too.But since we switched to
AccessibleImage
, we don't have the SVG anymore, and the icon are displayed via CSS (either withbackground-image
ormask-url
).Because the webconsole (which use the
SmartTrace
component) don't load the debugger CSS files, images are not displayed in the console anymore.For now, I plan to simply hide the framework icons, and add only what's needed for the arrow to show up in
Group
, but we should fix this and find a way to share those images with consumer outside of the debugger (console, maybe in the future netmonitor).The text was updated successfully, but these errors were encountered: