Commit f7df3e6e authored by aniket-engg's avatar aniket-engg Committed by Aniket

current placing updated

parent 0f4031f2
...@@ -16,12 +16,12 @@ export const FileExplorerMenu = (props: FileExplorerMenuProps) => { ...@@ -16,12 +16,12 @@ export const FileExplorerMenu = (props: FileExplorerMenuProps) => {
}, },
{ {
action: 'publishToGist', action: 'publishToGist',
title: 'Publish all the workspace files (only root) to a github gist', title: 'Publish all the current workspace files (only root) to a github gist',
icon: 'fab fa-github' icon: 'fab fa-github'
}, },
{ {
action: 'uploadFile', action: 'uploadFile',
title: 'Load a local file into workspace', title: 'Load a local file into current workspace',
icon: 'fa fa-upload' icon: 'fa fa-upload'
}, },
{ {
......
...@@ -131,7 +131,7 @@ export const Workspace = (props: WorkspaceProps) => { ...@@ -131,7 +131,7 @@ export const Workspace = (props: WorkspaceProps) => {
/* workspace creation, renaming and deletion */ /* workspace creation, renaming and deletion */
const renameCurrentWorkspace = () => { const renameCurrentWorkspace = () => {
modal('Rename Workspace', renameModalMessage(), { modal('Rename Current Workspace', renameModalMessage(), {
label: 'OK', label: 'OK',
fn: onFinishRenameWorkspace fn: onFinishRenameWorkspace
}, { }, {
...@@ -151,7 +151,7 @@ export const Workspace = (props: WorkspaceProps) => { ...@@ -151,7 +151,7 @@ export const Workspace = (props: WorkspaceProps) => {
} }
const deleteCurrentWorkspace = () => { const deleteCurrentWorkspace = () => {
modal('Delete Workspace', 'Are you sure to delete the workspace?', { modal('Delete Current Workspace', 'Are you sure to delete the current workspace?', {
label: 'OK', label: 'OK',
fn: onFinishDeleteWorkspace fn: onFinishDeleteWorkspace
}, { }, {
...@@ -327,7 +327,7 @@ export const Workspace = (props: WorkspaceProps) => { ...@@ -327,7 +327,7 @@ export const Workspace = (props: WorkspaceProps) => {
createWorkspace() createWorkspace()
}} }}
className='far fa-plus-square remixui_menuicon' className='far fa-plus-square remixui_menuicon'
title='Create workspace'> title='Create'>
</span> </span>
<span <span
hidden={state.currentWorkspace === LOCALHOST || state.currentWorkspace === NO_WORKSPACE} hidden={state.currentWorkspace === LOCALHOST || state.currentWorkspace === NO_WORKSPACE}
...@@ -338,7 +338,7 @@ export const Workspace = (props: WorkspaceProps) => { ...@@ -338,7 +338,7 @@ export const Workspace = (props: WorkspaceProps) => {
renameCurrentWorkspace() renameCurrentWorkspace()
}} }}
className='far fa-edit remixui_menuicon' className='far fa-edit remixui_menuicon'
title='Rename workspace'> title='Rename'>
</span> </span>
<span <span
hidden={state.currentWorkspace === LOCALHOST || state.currentWorkspace === NO_WORKSPACE} hidden={state.currentWorkspace === LOCALHOST || state.currentWorkspace === NO_WORKSPACE}
...@@ -349,7 +349,7 @@ export const Workspace = (props: WorkspaceProps) => { ...@@ -349,7 +349,7 @@ export const Workspace = (props: WorkspaceProps) => {
deleteCurrentWorkspace() deleteCurrentWorkspace()
}} }}
className='fas fa-trash' className='fas fa-trash'
title='Delete workspace'> title='Delete'>
</span> </span>
</span> </span>
<select id="workspacesSelect" data-id="workspacesSelect" onChange={(e) => setWorkspace(e.target.value)} className="form-control custom-select"> <select id="workspacesSelect" data-id="workspacesSelect" onChange={(e) => setWorkspace(e.target.value)} className="form-control custom-select">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment