|
|
@ -796,7 +796,7 @@ export function Workspace() { |
|
|
|
</option> |
|
|
|
</option> |
|
|
|
<option style={{fontSize: 'small'}} value="breakthroughLabsUniswapv4Hooks"> |
|
|
|
<option style={{fontSize: 'small'}} value="breakthroughLabsUniswapv4Hooks"> |
|
|
|
{intl.formatMessage({id: 'filePanel.breakthroughLabsUniswapv4Hooks'})} |
|
|
|
{intl.formatMessage({id: 'filePanel.breakthroughLabsUniswapv4Hooks'})} |
|
|
|
</option>
|
|
|
|
</option> |
|
|
|
|
|
|
|
|
|
|
|
<option style={{fontSize: 'small'}} value="uniswapV4HookBookMultiSigSwapHook"> |
|
|
|
<option style={{fontSize: 'small'}} value="uniswapV4HookBookMultiSigSwapHook"> |
|
|
|
{intl.formatMessage({id: 'filePanel.uniswapV4HookBookMultiSigSwapHook'})} |
|
|
|
{intl.formatMessage({id: 'filePanel.uniswapV4HookBookMultiSigSwapHook'})} |
|
|
@ -988,7 +988,7 @@ export function Workspace() { |
|
|
|
> |
|
|
|
> |
|
|
|
<i onClick={() => saveSampleCodeWorkspace()} className="far fa-exclamation-triangle text-warning ml-2 align-self-center" aria-hidden="true"></i> |
|
|
|
<i onClick={() => saveSampleCodeWorkspace()} className="far fa-exclamation-triangle text-warning ml-2 align-self-center" aria-hidden="true"></i> |
|
|
|
</CustomTooltip>} |
|
|
|
</CustomTooltip>} |
|
|
|
</span>
|
|
|
|
</span> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div className='mx-2'> |
|
|
|
<div className='mx-2'> |
|
|
|
{(platform !== appPlatformTypes.desktop) ? ( |
|
|
|
{(platform !== appPlatformTypes.desktop) ? ( |
|
|
@ -1063,7 +1063,7 @@ export function Workspace() { |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</header> |
|
|
|
</header> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<ElectronMenu></ElectronMenu>
|
|
|
|
<ElectronMenu></ElectronMenu> |
|
|
|
<div |
|
|
|
<div |
|
|
|
className="h-100 remixui_fileExplorerTree" |
|
|
|
className="h-100 remixui_fileExplorerTree" |
|
|
|
onFocus={() => { |
|
|
|
onFocus={() => { |
|
|
@ -1077,7 +1077,7 @@ export function Workspace() { |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
)} |
|
|
|
)} |
|
|
|
{!(global.fs.browser.isRequestingWorkspace || global.fs.browser.isRequestingCloning) && global.fs.mode === 'browser' && currentWorkspace !== NO_WORKSPACE && ( |
|
|
|
{!(global.fs.browser.isRequestingWorkspace || global.fs.browser.isRequestingCloning) && global.fs.mode === 'browser' && currentWorkspace !== NO_WORKSPACE && ( |
|
|
|
|
|
|
|
|
|
|
|
<FileExplorer |
|
|
|
<FileExplorer |
|
|
|
fileState={global.fs.browser.fileState} |
|
|
|
fileState={global.fs.browser.fileState} |
|
|
|
name={currentWorkspace} |
|
|
|
name={currentWorkspace} |
|
|
@ -1130,7 +1130,7 @@ export function Workspace() { |
|
|
|
handleNewFolderInput={handleNewFolderInput} |
|
|
|
handleNewFolderInput={handleNewFolderInput} |
|
|
|
dragStatus={dragStatus} |
|
|
|
dragStatus={dragStatus} |
|
|
|
/> |
|
|
|
/> |
|
|
|
|
|
|
|
|
|
|
|
)} |
|
|
|
)} |
|
|
|
{global.fs.localhost.isRequestingLocalhost && ( |
|
|
|
{global.fs.localhost.isRequestingLocalhost && ( |
|
|
|
<div className="text-center py-5"> |
|
|
|
<div className="text-center py-5"> |
|
|
@ -1188,6 +1188,7 @@ export function Workspace() { |
|
|
|
editModeOn={editModeOn} |
|
|
|
editModeOn={editModeOn} |
|
|
|
handleNewFileInput={handleNewFileInput} |
|
|
|
handleNewFileInput={handleNewFileInput} |
|
|
|
handleNewFolderInput={handleNewFolderInput} |
|
|
|
handleNewFolderInput={handleNewFolderInput} |
|
|
|
|
|
|
|
deletePath={deletePath} |
|
|
|
dragStatus={dragStatus} |
|
|
|
dragStatus={dragStatus} |
|
|
|
/> |
|
|
|
/> |
|
|
|
)} |
|
|
|
)} |
|
|
@ -1199,11 +1200,11 @@ export function Workspace() { |
|
|
|
<div className={`bg-light border-top ${selectedWorkspace.isGitRepo && currentBranch ? 'd-block' : 'd-none'}`} data-id="workspaceGitPanel"> |
|
|
|
<div className={`bg-light border-top ${selectedWorkspace.isGitRepo && currentBranch ? 'd-block' : 'd-none'}`} data-id="workspaceGitPanel"> |
|
|
|
<div className="d-flex justify-space-between p-1"> |
|
|
|
<div className="d-flex justify-space-between p-1"> |
|
|
|
<div className="mr-auto text-uppercase text-dark pt-2 pl-2">GIT</div> |
|
|
|
<div className="mr-auto text-uppercase text-dark pt-2 pl-2">GIT</div> |
|
|
|
{selectedWorkspace.hasGitSubmodules?
|
|
|
|
{selectedWorkspace.hasGitSubmodules? |
|
|
|
<div className="pt-1 mr-1"> |
|
|
|
<div className="pt-1 mr-1"> |
|
|
|
{global.fs.browser.isRequestingCloning ? <div style={{ height: 30 }} className='btn btn-sm border text-muted small'><i className="fad fa-spinner fa-spin"></i> updating submodules</div> : |
|
|
|
{global.fs.browser.isRequestingCloning ? <div style={{ height: 30 }} className='btn btn-sm border text-muted small'><i className="fad fa-spinner fa-spin"></i> updating submodules</div> : |
|
|
|
<div style={{ height: 30 }} onClick={updateSubModules} data-id='updatesubmodules' className='btn btn-sm border text-muted small'>update submodules</div>} |
|
|
|
<div style={{ height: 30 }} onClick={updateSubModules} data-id='updatesubmodules' className='btn btn-sm border text-muted small'>update submodules</div>} |
|
|
|
</div>
|
|
|
|
</div> |
|
|
|
: null} |
|
|
|
: null} |
|
|
|
<div className="pt-1 mr-1" data-id="workspaceGitBranchesDropdown"> |
|
|
|
<div className="pt-1 mr-1" data-id="workspaceGitBranchesDropdown"> |
|
|
|
<Dropdown style={{height: 30, minWidth: 80}} onToggle={toggleBranches} show={showBranches} drop={'up'}> |
|
|
|
<Dropdown style={{height: 30, minWidth: 80}} onToggle={toggleBranches} show={showBranches} drop={'up'}> |
|
|
|