diff --git a/libs/remix-ui/file-explorer/src/lib/file-explorer-context-menu.tsx b/libs/remix-ui/file-explorer/src/lib/file-explorer-context-menu.tsx index 81bd7aa5e9..2deb23e96a 100644 --- a/libs/remix-ui/file-explorer/src/lib/file-explorer-context-menu.tsx +++ b/libs/remix-ui/file-explorer/src/lib/file-explorer-context-menu.tsx @@ -52,6 +52,12 @@ export const FileExplorerContextMenu = (props: FileExplorerContextMenuProps) => case 'Push changes to gist': publishToGist(path, type) break + case 'Publish folder to gist': + publishToGist(path, type) + break + case 'Publish file to gist': + publishToGist(path, type) + break case 'Run': runScript(path) break diff --git a/libs/remix-ui/file-explorer/src/lib/file-explorer.tsx b/libs/remix-ui/file-explorer/src/lib/file-explorer.tsx index a93b801ec9..188c805084 100644 --- a/libs/remix-ui/file-explorer/src/lib/file-explorer.tsx +++ b/libs/remix-ui/file-explorer/src/lib/file-explorer.tsx @@ -58,7 +58,7 @@ export const FileExplorer = (props: FileExplorerProps) => { pattern: [] }, { id: 'pushChangesToGist', - name: 'Push back changes to gist', + name: 'Push changes to gist', type: ['gist'], path: [], extension: [], @@ -70,6 +70,13 @@ export const FileExplorer = (props: FileExplorerProps) => { path: [], extension: [], pattern: [] + }, { + id: 'publishFileToGist', + name: 'Publish file to gist', + type: ['file'], + path: [], + extension: [], + pattern: [] }, { id: 'run', name: 'Run',