Bladeren bron

Moves webviews into individual folders

main
Eric Amodio 2 jaren geleden
bovenliggende
commit
21c6865226
7 gewijzigde bestanden met toevoegingen van 773 en 773 verwijderingen
  1. +3
    -3
      src/container.ts
  2. +13
    -13
      src/webviews/rebase/rebaseEditor.ts
  3. +5
    -5
      src/webviews/settings/settingsWebview.ts
  4. +4
    -4
      src/webviews/welcome/welcomeWebview.ts

+ 3
- 3
src/container.ts Bestand weergeven

@ -50,9 +50,9 @@ import { TagsView } from './views/tagsView';
import { ViewCommands } from './views/viewCommands';
import { ViewFileDecorationProvider } from './views/viewDecorationProvider';
import { VslsController } from './vsls/vsls';
import { RebaseEditorProvider } from './webviews/rebaseEditor';
import { SettingsWebview } from './webviews/settingsWebview';
import { WelcomeWebview } from './webviews/welcomeWebview';
import { RebaseEditorProvider } from './webviews/rebase/rebaseEditor';
import { SettingsWebview } from './webviews/settings/settingsWebview';
import { WelcomeWebview } from './webviews/welcome/welcomeWebview';
export class Container {
static #instance: Container | undefined;

src/webviews/rebaseEditor.ts → src/webviews/rebase/rebaseEditor.ts Bestand weergeven

@ -13,18 +13,18 @@ import {
WorkspaceEdit,
} from 'vscode';
import { getNonce } from '@env/crypto';
import { ShowQuickCommitCommand } from '../commands';
import { configuration } from '../configuration';
import { CoreCommands } from '../constants';
import { Container } from '../container';
import { RepositoryChange, RepositoryChangeComparisonMode } from '../git/models';
import { Logger } from '../logger';
import { Messages } from '../messages';
import { executeCoreCommand } from '../system/command';
import { gate } from '../system/decorators/gate';
import { debug } from '../system/decorators/log';
import { join, map } from '../system/iterable';
import { normalizePath } from '../system/path';
import { ShowQuickCommitCommand } from '../../commands';
import { configuration } from '../../configuration';
import { CoreCommands } from '../../constants';
import { Container } from '../../container';
import { RepositoryChange, RepositoryChangeComparisonMode } from '../../git/models';
import { Logger } from '../../logger';
import { Messages } from '../../messages';
import { executeCoreCommand } from '../../system/command';
import { gate } from '../../system/decorators/gate';
import { debug } from '../../system/decorators/log';
import { join, map } from '../../system/iterable';
import { normalizePath } from '../../system/path';
import {
Author,
Commit,
@ -40,7 +40,7 @@ import {
RebaseEntry,
RebaseEntryAction,
RebaseState,
} from './protocol';
} from '../protocol';
let ipcSequence = 0;
function nextIpcId() {

src/webviews/settingsWebview.ts → src/webviews/settings/settingsWebview.ts Bestand weergeven

@ -1,15 +1,15 @@
import { commands, Disposable, workspace } from 'vscode';
import { configuration } from '../configuration';
import { Commands } from '../constants';
import { Container } from '../container';
import { configuration } from '../../configuration';
import { Commands } from '../../constants';
import { Container } from '../../container';
import {
IpcMessage,
onIpcCommand,
ReadyCommandType,
SettingsDidRequestJumpToNotificationType,
SettingsState,
} from './protocol';
import { WebviewBase } from './webviewBase';
} from '../protocol';
import { WebviewBase } from '../webviewBase';
const anchorRegex = /.*?#(.*)/;

src/webviews/welcomeWebview.ts → src/webviews/welcome/welcomeWebview.ts Bestand weergeven

@ -1,7 +1,7 @@
import { Commands } from '../constants';
import { Container } from '../container';
import { WelcomeState } from './protocol';
import { WebviewBase } from './webviewBase';
import { Commands } from '../../constants';
import { Container } from '../../container';
import { WelcomeState } from '../protocol';
import { WebviewBase } from '../webviewBase';
export class WelcomeWebview extends WebviewBase {
constructor(container: Container) {

Laden…
Annuleren
Opslaan