Skip to content

Commit

Permalink
Merge pull request #1986 from googlefonts/start-import-cleanup
Browse files Browse the repository at this point in the history
Cleanup imports in views start.js
  • Loading branch information
justvanrossum authored Jan 24, 2025
2 parents 939f6dc + e86b2f3 commit 08523e0
Show file tree
Hide file tree
Showing 8 changed files with 5 additions and 12 deletions.
2 changes: 2 additions & 0 deletions src/fontra/views/applicationsettings/applicationsettings.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ import { ServerInfoPanel } from "./panel-server-info.js";
import { ShortCutsPanel } from "./panel-shortcuts.js";
import { ThemeSettingsPanel } from "./panel-theme-settings.js";
import { ensureLanguageHasLoaded, translate } from "/core/localization.js";
import "/web-components/grouped-settings.js";
import { message } from "/web-components/modal-dialog.js";
import "/web-components/plugin-manager.js";

export class ApplicationSettingsController {
async start() {
Expand Down
3 changes: 0 additions & 3 deletions src/fontra/views/applicationsettings/start.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
import "/core/theme-settings.js";
import "/web-components/grouped-settings.js";
import "/web-components/modal-dialog.js";
import "/web-components/plugin-manager.js";

import { ApplicationSettingsController } from "/applicationsettings/applicationsettings.js";

Expand Down
1 change: 1 addition & 0 deletions src/fontra/views/editor/editor.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ import { makeFontraMenuBar } from "/core/fontra-menus.js";
import * as html from "/core/html-utils.js";
import { themeController } from "/core/theme-settings.js";
import { getDecomposedIdentity } from "/core/transform.js";
import "/web-components/inline-svg.js";
import { MenuItemDivider, showMenu } from "/web-components/menu-panel.js";
import { dialog, dialogSetup, message } from "/web-components/modal-dialog.js";
import { parsePluginBasePath } from "/web-components/plugin-manager.js";
Expand Down
1 change: 1 addition & 0 deletions src/fontra/views/editor/panel-designspace-navigation.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ import {
mapAxesFromUserSpaceToSourceSpace,
piecewiseLinearMap,
} from "/core/var-model.js";
import "/web-components/designspace-location.js";
import { IconButton } from "/web-components/icon-button.js";
import { InlineSVG } from "/web-components/inline-svg.js";
import { showMenu } from "/web-components/menu-panel.js";
Expand Down
1 change: 1 addition & 0 deletions src/fontra/views/editor/panel-glyph-search.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import Panel from "./panel.js";
import * as html from "/core/html-utils.js";
import "/web-components/glyph-search-list.js";

export default class GlyphSearchPanel extends Panel {
identifier = "glyph-search";
Expand Down
7 changes: 0 additions & 7 deletions src/fontra/views/editor/start.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,4 @@
import "/core/theme-settings.js";
import "/web-components/add-remove-buttons.js";
import "/web-components/designspace-location.js";
import "/web-components/glyph-search-list.js";
import "/web-components/grouped-settings.js";
import "/web-components/inline-svg.js";
import "/web-components/modal-dialog.js";
import "/web-components/ui-list.js";

import { EditorController } from "/editor/editor.js";

Expand Down
1 change: 0 additions & 1 deletion src/fontra/views/fontinfo/start.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import "/core/theme-settings.js";
import "/web-components/modal-dialog.js";

import { FontInfoController } from "/fontinfo/fontinfo.js";

Expand Down
1 change: 0 additions & 1 deletion src/fontra/views/fontoverview/start.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import "/core/theme-settings.js";
import "/web-components/modal-dialog.js";

import { FontOverviewController } from "/fontoverview/fontoverview.js";

Expand Down

0 comments on commit 08523e0

Please sign in to comment.