Skip to content

Commit e819137

Browse files
icons update
1 parent 28c5c90 commit e819137

File tree

3 files changed

+14
-8
lines changed

3 files changed

+14
-8
lines changed

src/index.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ import { KernelAPI, KernelSpecAPI } from '@jupyterlab/services';
3838
import { authApi, iconDisplay } from './utils/utils';
3939
import { dpmsWidget } from './dpms/dpmsWidget';
4040
import dpmsIcon from '../style/icons/dpms_icon.svg';
41-
import datasetExplorerIcon from '../style/icons/dataset_explorer_icon.svg';
41+
import catalogIcon from '../style/icons/catalog_icon_light.svg';
4242
import { INotebookTracker, NotebookPanel } from '@jupyterlab/notebook';
4343
import {
4444
PLUGIN_ID,
@@ -52,7 +52,7 @@ import {
5252
IDefaultFileBrowser
5353
} from '@jupyterlab/filebrowser';
5454
import dpmsIconDark from '../style/icons/dpms_icon_dark.svg';
55-
import datasetExplorerIconDark from '../style/icons/dataset_explorer_dark_icon.svg';
55+
import catalogIconDark from '../style/icons/catalog_icon_dark.svg';
5656
import { NotebookButtonExtension } from './controls/NotebookButtonExtension';
5757
import { ISettingRegistry } from '@jupyterlab/settingregistry';
5858
import { IDocumentManager } from '@jupyterlab/docmanager';
@@ -71,9 +71,9 @@ const iconDpms = new LabIcon({
7171
name: 'launcher:dpms-icon',
7272
svgstr: dpmsIcon
7373
});
74-
const iconDatasetExplorer = new LabIcon({
74+
const iconCatalog = new LabIcon({
7575
name: 'launcher:dataset-explorer-icon',
76-
svgstr: datasetExplorerIcon
76+
svgstr: catalogIcon
7777
});
7878
const iconPythonLogo = new LabIcon({
7979
name: 'launcher:python-bigquery-logo-icon',
@@ -129,9 +129,9 @@ const extension: JupyterFrontEndPlugin<void> = {
129129
name: 'launcher:dpms-icon-dark',
130130
svgstr: dpmsIconDark
131131
});
132-
const iconDatasetExplorerDark = new LabIcon({
132+
const iconCatalogDark = new LabIcon({
133133
name: 'launcher:dataset-explorer-icon-dark',
134-
svgstr: datasetExplorerIconDark
134+
svgstr: catalogIconDark
135135
});
136136
window.addEventListener('beforeunload', () => {
137137
localStorage.removeItem('notebookValue');
@@ -246,14 +246,14 @@ const extension: JupyterFrontEndPlugin<void> = {
246246
panelDpms.title.icon = iconDpms;
247247
}
248248
if (bqFeature.enable_bigquery_integration && panelCatalog) {
249-
panelCatalog.title.icon = iconDatasetExplorer;
249+
panelCatalog.title.icon = iconCatalog;
250250
}
251251
} else {
252252
if (bqFeature.enable_metastore_integration && panelDpms) {
253253
panelDpms.title.icon = iconDpmsDark;
254254
}
255255
if (bqFeature.enable_bigquery_integration && panelCatalog) {
256-
panelCatalog.title.icon = iconDatasetExplorerDark;
256+
panelCatalog.title.icon = iconCatalogDark;
257257
}
258258
}
259259
};

style/icons/catalog_icon_dark.svg

Lines changed: 3 additions & 0 deletions
Loading

style/icons/catalog_icon_light.svg

Lines changed: 3 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)