| Auto-Submit | +1 |
| Commit-Queue | +1 |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
| Commit-Queue | +2 |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Commit-Queue | +2 |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
5 is the latest approved patch-set.
The change was submitted with unreviewed changes in the following files:
```
The name of the file: front_end/panels/sources/TabbedEditorContainer.ts
Insertions: 8, Deletions: 6.
@@ -527,9 +527,10 @@
}
private addLoadErrorIcon(tabId: string): void {
- const icon = html`
- <devtools-icon class="small" name="cross-circle-filled"
- title=${i18nString(UIStrings.unableToLoadThisContent)}></devtools-icon>`;
+ const icon = new Icon();
+ icon.name = 'cross-circle-filled';
+ icon.classList.add('small');
+ UI.Tooltip.Tooltip.install(icon, i18nString(UIStrings.unableToLoadThisContent));
if (this.tabbedPane.tabView(tabId)) {
this.tabbedPane.setTrailingTabIcon(tabId, icon);
}
@@ -605,9 +606,10 @@
const tooltip = this.tooltipForFile(uiSourceCode);
this.tabbedPane.changeTabTitle(tabId, title, tooltip);
if (uiSourceCode.loadError()) {
- const icon = html`
- <devtools-icon class="small" name="cross-circle-filled"
- title=${i18nString(UIStrings.unableToLoadThisContent)}></devtools-icon>`;
+ const icon = new Icon();
+ icon.name = 'cross-circle-filled';
+ icon.classList.add('small');
+ UI.Tooltip.Tooltip.install(icon, i18nString(UIStrings.unableToLoadThisContent));
this.tabbedPane.setTrailingTabIcon(tabId, icon);
} else if (Persistence.Persistence.PersistenceImpl.instance().hasUnsavedCommittedChanges(uiSourceCode)) {
/* eslint-disable @devtools/no-imperative-dom-api --
```
Update lint rule for imperative icon creation
- updated the identifiers after ui kit migration
- moved the icon-related out of button.ts as icons are no longer related to the button component
- added support for UIUtils.createIconLabel
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |