Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Fix/workflow#8

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
ShMcK merged 7 commits intomasterfromfix/workflow
Jun 14, 2019
Merged
Show file tree
Hide file tree
Changes from1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
PrevPrevious commit
NextNext commit
load current
  • Loading branch information
@ShMcK
ShMcK committedJun 14, 2019
commit7804d04977ea1d4ccd96cfe48f4a5e089153d2eb
3 changes: 1 addition & 2 deletionssrc/editor/ReactWebView.ts
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -31,7 +31,7 @@ class ReactWebView {
console.log('webview loaded')
}

publicasynccreateOrShow(column: number):Promise<void> {
public createOrShow(column: number): void {
// If we already have a panel, show it.
// Otherwise, create a new panel.
if (this.panel && this.panel.webview) {
Expand All@@ -40,7 +40,6 @@ class ReactWebView {
} else {
console.log('make new panel')
this.panel = this.createWebviewPanel(column)

}
}

Expand Down
3 changes: 3 additions & 0 deletionssrc/editor/commands/index.ts
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -43,6 +43,9 @@ export const createCommands = ({ context, machine, storage, git, position }: Cre
// open React webview
[COMMANDS.OPEN_WEBVIEW]: (column: number = vscode.ViewColumn.One) => {
webview.createOrShow(column);
setTimeout(() => {
machine.send('WEBVIEW_INITIALIZED')
}, 2000)
},
// launch a new tutorial
// NOTE: may be better to move into action as logic is primarily non-vscode
Expand Down
1 change: 1 addition & 0 deletionstypings/index.d.ts
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -148,6 +148,7 @@ export interface MachineStateSchema {
states: {
Initialize: {}
Summary: {}
LoadCurrent: {}
LoadNext: {}
Level: {}
Stage: {
Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp