Sets up the first page with some filler information (#11762)

* Sets up the first page with some filler information

* Add some valid information

* move to its own method
This commit is contained in:
Amir Omidi
2020-08-11 17:12:05 -07:00
committed by GitHub
parent 6e26261149
commit 207a9a6a25
5 changed files with 66 additions and 19 deletions

View File

@@ -25,7 +25,7 @@ export enum State {
}
export interface Model {
readonly sourceConnection: azdata.IConnectionProfile;
readonly sourceConnection: azdata.connection.Connection;
readonly currentState: State;
}
@@ -38,11 +38,11 @@ export class MigrationStateModel implements Model, vscode.Disposable {
private _stateChangeEventEmitter = new vscode.EventEmitter<StateChangeEvent>();
private _currentState: State;
constructor(private readonly _sourceConnection: azdata.IConnectionProfile) {
constructor(private readonly _sourceConnection: azdata.connection.Connection) {
this._currentState = State.INIT;
}
public get sourceConnection(): azdata.IConnectionProfile {
public get sourceConnection(): azdata.connection.Connection {
return this._sourceConnection;
}

View File

@@ -7,5 +7,10 @@ import * as nls from 'vscode-nls';
const localize = nls.loadMessageBundle();
// #region wizard
export const WIZARD_TITLE = localize('sql-migration.wizard.title', "SQL Migration Wizard");
export const SOURCE_CONFIGURATION_PAGE_TITLE = localize('sql.migration.wizard.source_configuration.title', "SQL Source Configuration");
// //#endregion
export const COLLECTING_SOURCE_CONFIGURATIONS = localize('sql.migration.collecting_source_configurations', "Collecting source configurations");
export const COLLECTING_SOURCE_CONFIGURATIONS_INFO = localize('sql.migration.collecting_source_configurations.info', "We need to collect some information about how your data is configured currently.\nThis may take some time.");