|
|
@ -29,7 +29,8 @@ export const contextMenuActions: MenuItems = [{ |
|
|
|
name: 'Download', |
|
|
|
name: 'Download', |
|
|
|
type: ['file', 'folder', 'workspace'], |
|
|
|
type: ['file', 'folder', 'workspace'], |
|
|
|
multiselect: false, |
|
|
|
multiselect: false, |
|
|
|
label: '' |
|
|
|
label: '', |
|
|
|
|
|
|
|
platform: 'browser' |
|
|
|
}, { |
|
|
|
}, { |
|
|
|
id: 'run', |
|
|
|
id: 'run', |
|
|
|
name: 'Run', |
|
|
|
name: 'Run', |
|
|
@ -41,19 +42,22 @@ export const contextMenuActions: MenuItems = [{ |
|
|
|
name: 'Push changes to gist', |
|
|
|
name: 'Push changes to gist', |
|
|
|
type: ['gist'], |
|
|
|
type: ['gist'], |
|
|
|
multiselect: false, |
|
|
|
multiselect: false, |
|
|
|
label: '' |
|
|
|
label: '', |
|
|
|
|
|
|
|
platform: 'browser' |
|
|
|
}, { |
|
|
|
}, { |
|
|
|
id: 'publishFolderToGist', |
|
|
|
id: 'publishFolderToGist', |
|
|
|
name: 'Publish folder to gist', |
|
|
|
name: 'Publish folder to gist', |
|
|
|
type: ['folder'], |
|
|
|
type: ['folder'], |
|
|
|
multiselect: false, |
|
|
|
multiselect: false, |
|
|
|
label: '' |
|
|
|
label: '', |
|
|
|
|
|
|
|
platform: 'browser' |
|
|
|
}, { |
|
|
|
}, { |
|
|
|
id: 'publishFileToGist', |
|
|
|
id: 'publishFileToGist', |
|
|
|
name: 'Publish file to gist', |
|
|
|
name: 'Publish file to gist', |
|
|
|
type: ['file'], |
|
|
|
type: ['file'], |
|
|
|
multiselect: false, |
|
|
|
multiselect: false, |
|
|
|
label: '' |
|
|
|
label: '', |
|
|
|
|
|
|
|
platform: 'browser' |
|
|
|
}, { |
|
|
|
}, { |
|
|
|
id: 'copy', |
|
|
|
id: 'copy', |
|
|
|
name: 'Copy', |
|
|
|
name: 'Copy', |
|
|
@ -83,18 +87,21 @@ export const contextMenuActions: MenuItems = [{ |
|
|
|
name: 'Load a Local File', |
|
|
|
name: 'Load a Local File', |
|
|
|
type: ['folder', 'gist', 'workspace'], |
|
|
|
type: ['folder', 'gist', 'workspace'], |
|
|
|
multiselect: false, |
|
|
|
multiselect: false, |
|
|
|
label: 'Load a Local File' |
|
|
|
label: 'Load a Local File', |
|
|
|
|
|
|
|
platform: 'browser' |
|
|
|
}, { |
|
|
|
}, { |
|
|
|
id: 'publishToGist', |
|
|
|
id: 'publishToGist', |
|
|
|
name: 'Push changes to gist', |
|
|
|
name: 'Push changes to gist', |
|
|
|
type: ['folder', 'gist'], |
|
|
|
type: ['folder', 'gist'], |
|
|
|
multiselect: false, |
|
|
|
multiselect: false, |
|
|
|
label: 'Publish all to Gist' |
|
|
|
label: 'Publish all to Gist', |
|
|
|
|
|
|
|
platform: 'browser' |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
{ |
|
|
|
id: 'publishWorkspace', |
|
|
|
id: 'publishWorkspace', |
|
|
|
name: 'Publish Workspace to Gist', |
|
|
|
name: 'Publish Workspace to Gist', |
|
|
|
type: ['workspace'], |
|
|
|
type: ['workspace'], |
|
|
|
multiselect: false, |
|
|
|
multiselect: false, |
|
|
|
label: '' |
|
|
|
label: '', |
|
|
|
|
|
|
|
platform: 'browser' |
|
|
|
}] |
|
|
|
}] |