Browse Source

Fixes naming

main
Eric Amodio 1 year ago
parent
commit
b02f00c593
3 changed files with 6 additions and 6 deletions
  1. +4
    -4
      src/container.ts
  2. +1
    -1
      src/webviews/settings/registration.ts
  3. +1
    -1
      src/webviews/welcome/registration.ts

+ 4
- 4
src/container.ts View File

@ -58,10 +58,10 @@ import { VslsController } from './vsls/vsls';
import { registerCommitDetailsWebviewView } from './webviews/commitDetails/registration';
import { registerHomeWebviewView } from './webviews/home/registration';
import { RebaseEditorProvider } from './webviews/rebase/rebaseEditor';
import { registerSettingsWebviewCommands, registerSettingsWebviewView } from './webviews/settings/registration';
import { registerSettingsWebviewCommands, registerSettingsWebviewPanel } from './webviews/settings/registration';
import type { WebviewViewProxy } from './webviews/webviewsController';
import { WebviewsController } from './webviews/webviewsController';
import { registerWelcomeWebviewView } from './webviews/welcome/registration';
import { registerWelcomeWebviewPanel } from './webviews/welcome/registration';
export type Environment = 'dev' | 'staging' | 'production';
@ -218,10 +218,10 @@ export class Container {
// context.subscriptions.splice(0, 0, (this._graphView = registerGraphWebviewView(this._webviews)));
context.subscriptions.splice(0, 0, new GraphStatusBarController(this));
const settingsWebviewPanel = registerSettingsWebviewView(this._webviews);
const settingsWebviewPanel = registerSettingsWebviewPanel(this._webviews);
context.subscriptions.splice(0, 0, settingsWebviewPanel);
context.subscriptions.splice(0, 0, registerSettingsWebviewCommands(settingsWebviewPanel));
context.subscriptions.splice(0, 0, registerWelcomeWebviewView(this._webviews));
context.subscriptions.splice(0, 0, registerWelcomeWebviewPanel(this._webviews));
context.subscriptions.splice(0, 0, (this._rebaseEditor = new RebaseEditorProvider(this)));
context.subscriptions.splice(0, 0, new FocusWebview(this));

+ 1
- 1
src/webviews/settings/registration.ts View File

@ -4,7 +4,7 @@ import { registerCommand } from '../../system/command';
import type { WebviewPanelProxy, WebviewsController } from '../webviewsController';
import type { State } from './protocol';
export function registerSettingsWebviewView(controller: WebviewsController) {
export function registerSettingsWebviewPanel(controller: WebviewsController) {
return controller.registerWebviewPanel<State>(Commands.ShowSettingsPage, 'gitlens.settings', {
fileName: 'settings.html',
iconPath: 'images/gitlens-icon.png',

+ 1
- 1
src/webviews/welcome/registration.ts View File

@ -2,7 +2,7 @@ import { Commands, ContextKeys } from '../../constants';
import type { WebviewsController } from '../webviewsController';
import type { State } from './protocol';
export function registerWelcomeWebviewView(controller: WebviewsController) {
export function registerWelcomeWebviewPanel(controller: WebviewsController) {
return controller.registerWebviewPanel<State>(Commands.ShowWelcomePage, 'gitlens.welcome', {
fileName: 'welcome.html',
iconPath: 'images/gitlens-icon.png',

Loading…
Cancel
Save