From 0f49a21e580ae508cc5d03e87dfc432befab3408 Mon Sep 17 00:00:00 2001 From: Joseph Izang Date: Thu, 22 Aug 2024 13:31:58 +0100 Subject: [PATCH 01/11] show worksspace creation option conditionally --- .../workspace/src/lib/remix-ui-workspace.tsx | 33 +++++++++++-------- 1 file changed, 20 insertions(+), 13 deletions(-) diff --git a/libs/remix-ui/workspace/src/lib/remix-ui-workspace.tsx b/libs/remix-ui/workspace/src/lib/remix-ui-workspace.tsx index 3673851d110..6260ce04046 100644 --- a/libs/remix-ui/workspace/src/lib/remix-ui-workspace.tsx +++ b/libs/remix-ui/workspace/src/lib/remix-ui-workspace.tsx @@ -917,6 +917,22 @@ export function Workspace() { _paq.push(['trackEvent', 'Workspace', 'GIT', 'login']) } + const CreateDropDownMenuItem = () => { + return ( + <> + { + createWorkspace() + }} + > + + {' '} + - -{' '} + + + + ) + } return (
{selectedWorkspace ? selectedWorkspace.name : currentWorkspace === LOCALHOST ? formatNameForReadonly('localhost') : NO_WORKSPACE} - - { - createWorkspace() - }} - > - { - - {' '} - - -{' '} - - } - + { + currentWorkspace !== LOCALHOST && + + } { switchWorkspace(LOCALHOST) From cc1f27346e11bf912c7333de70a4eba07b3e80d1 Mon Sep 17 00:00:00 2001 From: Joseph Izang Date: Thu, 22 Aug 2024 17:01:33 +0100 Subject: [PATCH 02/11] change text in dropdown --- apps/remix-ide/src/app/tabs/locales/en/filePanel.json | 2 +- libs/remix-ui/workspace/src/lib/remix-ui-workspace.tsx | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/apps/remix-ide/src/app/tabs/locales/en/filePanel.json b/apps/remix-ide/src/app/tabs/locales/en/filePanel.json index 6b02520e94d..1e0a2e00df4 100644 --- a/apps/remix-ide/src/app/tabs/locales/en/filePanel.json +++ b/apps/remix-ide/src/app/tabs/locales/en/filePanel.json @@ -92,7 +92,7 @@ "filePanel.cancel": "Cancel", "filePanel.selectFolder": "Select or create folder", "filePanel.createNewWorkspace": "create a new workspace", - "filePanel.connectToLocalhost": "connect to localhost", + "filePanel.connectToLocalhost": "connect to Local Filesystem", "filePanel.copiedToClipboard": "Copied to clipboard {path}", "filePanel.downloadFailed": "Download Failed", "filePanel.downloadFailedMsg": "Unexpected error while downloading: {error}", diff --git a/libs/remix-ui/workspace/src/lib/remix-ui-workspace.tsx b/libs/remix-ui/workspace/src/lib/remix-ui-workspace.tsx index 6260ce04046..254b4f1dc10 100644 --- a/libs/remix-ui/workspace/src/lib/remix-ui-workspace.tsx +++ b/libs/remix-ui/workspace/src/lib/remix-ui-workspace.tsx @@ -1045,7 +1045,6 @@ export function Workspace() { { currentWorkspace !== LOCALHOST && - } { From 1a52698cfe879e66507d158496e3da8140d3074e Mon Sep 17 00:00:00 2001 From: Joseph Izang Date: Thu, 22 Aug 2024 17:54:23 +0100 Subject: [PATCH 03/11] clean up dropdown menu and update logic --- .../src/app/tabs/locales/en/filePanel.json | 2 +- .../workspace/src/lib/remix-ui-workspace.tsx | 72 ++++++++++++++----- 2 files changed, 54 insertions(+), 20 deletions(-) diff --git a/apps/remix-ide/src/app/tabs/locales/en/filePanel.json b/apps/remix-ide/src/app/tabs/locales/en/filePanel.json index 1e0a2e00df4..3680b1b5c09 100644 --- a/apps/remix-ide/src/app/tabs/locales/en/filePanel.json +++ b/apps/remix-ide/src/app/tabs/locales/en/filePanel.json @@ -92,7 +92,7 @@ "filePanel.cancel": "Cancel", "filePanel.selectFolder": "Select or create folder", "filePanel.createNewWorkspace": "create a new workspace", - "filePanel.connectToLocalhost": "connect to Local Filesystem", + "filePanel.connectToLocalhost": "Connect to Local Filesystem", "filePanel.copiedToClipboard": "Copied to clipboard {path}", "filePanel.downloadFailed": "Download Failed", "filePanel.downloadFailedMsg": "Unexpected error while downloading: {error}", diff --git a/libs/remix-ui/workspace/src/lib/remix-ui-workspace.tsx b/libs/remix-ui/workspace/src/lib/remix-ui-workspace.tsx index 254b4f1dc10..82939621938 100644 --- a/libs/remix-ui/workspace/src/lib/remix-ui-workspace.tsx +++ b/libs/remix-ui/workspace/src/lib/remix-ui-workspace.tsx @@ -933,6 +933,57 @@ export function Workspace() { ) } + const IsGitRepoDropDownMenuItem = (props: { isGitRepo: boolean, mName: string}) => { + return ( + <> + {props.isGitRepo ? ( +
+ {currentWorkspace === props.mName ? ✓ {props.mName} : {props.mName}} + +
+ ) : ( + {currentWorkspace === props.mName ? ✓ {props.mName} : {props.mName}} + )} + + ) + } + + const ShowNonLocalHostMenuItems = () => { + const cachedFilter = global.fs.browser.workspaces.filter(x => !x.name.includes('localhost')) + return ( + <> + { + currentWorkspace === LOCALHOST && cachedFilter.length > 0 ? cachedFilter.map(({ name, isGitRepo }, index) => ( + { + switchWorkspace(name) + }} + data-id={`dropdown-item-${name}`} + > + + + )) : + } + + ) + } + + const ShowAllMenuItems = () => { + return ( + <> + { global.fs.browser.workspaces.map(({ name, isGitRepo }, index) => ( + { switchWorkspace(name) }} + data-id={`dropdown-item-${name}`} + > + + + ))} + + ) + } return (
{currentWorkspace === LOCALHOST ? ( - ✓ localhost + ✓ Connected to Local Filesystem ) : ( {' '} @@ -1060,24 +1111,7 @@ export function Workspace() { )} - {global.fs.browser.workspaces.map(({ name, isGitRepo }, index) => ( - { - switchWorkspace(name) - }} - data-id={`dropdown-item-${name}`} - > - {isGitRepo ? ( -
- {currentWorkspace === name ? ✓ {name} : {name}} - -
- ) : ( - {currentWorkspace === name ? ✓ {name} : {name}} - )} -
- ))} + {(global.fs.browser.workspaces.length <= 0 || currentWorkspace === NO_WORKSPACE) && ( { From 984d47f300e100be83aae07d226d578c326d01c6 Mon Sep 17 00:00:00 2001 From: Joseph Izang Date: Mon, 26 Aug 2024 12:22:59 +0100 Subject: [PATCH 04/11] refactor logic for dropdown selection --- libs/remix-ui/workspace/src/lib/remix-ui-workspace.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/remix-ui/workspace/src/lib/remix-ui-workspace.tsx b/libs/remix-ui/workspace/src/lib/remix-ui-workspace.tsx index 82939621938..3202af6cb4c 100644 --- a/libs/remix-ui/workspace/src/lib/remix-ui-workspace.tsx +++ b/libs/remix-ui/workspace/src/lib/remix-ui-workspace.tsx @@ -1091,7 +1091,7 @@ export function Workspace() { className="btn btn-light btn-block w-100 d-inline-block border border-dark form-control mt-1" icon={selectedWorkspace && selectedWorkspace.isGitRepo && !(currentWorkspace === LOCALHOST) ? 'far fa-code-branch' : null} > - {selectedWorkspace ? selectedWorkspace.name : currentWorkspace === LOCALHOST ? formatNameForReadonly('localhost') : NO_WORKSPACE} + {selectedWorkspace ? selectedWorkspace.name === LOCALHOST ? 'Connected to Local FileSystem' : selectedWorkspace.name : currentWorkspace === LOCALHOST ? formatNameForReadonly('localhost') : NO_WORKSPACE} { From cf38330d8262fa41eb4aec5c3d69be085f142625 Mon Sep 17 00:00:00 2001 From: Joseph Izang Date: Tue, 27 Aug 2024 15:12:34 +0100 Subject: [PATCH 05/11] fix connecting text --- .../workspace/src/lib/contexts/index.ts | 2 ++ .../workspace/src/lib/remix-ui-workspace.tsx | 31 ++++++++++++++++++- 2 files changed, 32 insertions(+), 1 deletion(-) diff --git a/libs/remix-ui/workspace/src/lib/contexts/index.ts b/libs/remix-ui/workspace/src/lib/contexts/index.ts index 47fba81fedb..04e1b7f8a38 100644 --- a/libs/remix-ui/workspace/src/lib/contexts/index.ts +++ b/libs/remix-ui/workspace/src/lib/contexts/index.ts @@ -2,6 +2,8 @@ import { branch } from '@remix-ui/git' import { customAction } from '@remixproject/plugin-api' import { createContext, SyntheticEvent } from 'react' import { BrowserState } from '../reducers/workspace' +import { Plugin } from '@remixproject/engine' +import { CustomRemixApi } from '@remix-api' export const FileSystemContext = createContext<{ fs: any, diff --git a/libs/remix-ui/workspace/src/lib/remix-ui-workspace.tsx b/libs/remix-ui/workspace/src/lib/remix-ui-workspace.tsx index 3202af6cb4c..11d0982efc1 100644 --- a/libs/remix-ui/workspace/src/lib/remix-ui-workspace.tsx +++ b/libs/remix-ui/workspace/src/lib/remix-ui-workspace.tsx @@ -984,6 +984,35 @@ export function Workspace() { ) } + const [togglerText, setTogglerText] = useState<'Connecting' | 'Connected to Local FileSystem'>('Connecting') + + useEffect(() => { + setTimeout(() => { + setTogglerText('Connected to Local FileSystem') + }, 1000) + }, [selectedWorkspace]) + + const WorkspaceDropdownToggle = () => { + const [togglerText, setTogglerText] = useState<'Connecting' | 'Connected to Local FileSystem'>('Connecting') + + useEffect(() => { + setTimeout(() => { + setTogglerText('Connected to Local FileSystem') + }, 1000) + }, [selectedWorkspace]) + + return ( + + {selectedWorkspace ? selectedWorkspace.name === LOCALHOST ? togglerText : selectedWorkspace.name : currentWorkspace === LOCALHOST ? formatNameForReadonly('localhost') : NO_WORKSPACE} + + ) + } + return (
- {selectedWorkspace ? selectedWorkspace.name === LOCALHOST ? 'Connected to Local FileSystem' : selectedWorkspace.name : currentWorkspace === LOCALHOST ? formatNameForReadonly('localhost') : NO_WORKSPACE} + {selectedWorkspace ? selectedWorkspace.name === LOCALHOST ? togglerText : selectedWorkspace.name : currentWorkspace === LOCALHOST ? formatNameForReadonly('localhost') : NO_WORKSPACE} { From 035271790a9c4e16c8f13c88037d9c614dd17e6c Mon Sep 17 00:00:00 2001 From: Joseph Izang Date: Thu, 26 Sep 2024 14:02:51 +0100 Subject: [PATCH 06/11] update component type. add new icon to menu --- .../src/lib/components/file-explorer-menu.tsx | 10 ++++++++++ .../workspace/src/lib/components/file-explorer.tsx | 1 + libs/remix-ui/workspace/src/lib/remix-ui-workspace.tsx | 4 ++-- libs/remix-ui/workspace/src/lib/types/index.ts | 2 ++ 4 files changed, 15 insertions(+), 2 deletions(-) diff --git a/libs/remix-ui/workspace/src/lib/components/file-explorer-menu.tsx b/libs/remix-ui/workspace/src/lib/components/file-explorer-menu.tsx index 63d8c92024f..2e331a31867 100644 --- a/libs/remix-ui/workspace/src/lib/components/file-explorer-menu.tsx +++ b/libs/remix-ui/workspace/src/lib/components/file-explorer-menu.tsx @@ -53,6 +53,13 @@ export const FileExplorerMenu = (props: FileExplorerMenuProps) => { icon: 'fa-solid fa-link', placement: 'top', platforms: [appPlatformTypes.web, appPlatformTypes.desktop] + }, + { + action: 'connectToLocalFileSystem', + title: 'Import files with https', + icon: 'fa-solid fa-desktop', + placement: 'top', + platforms: [appPlatformTypes.web] } ].filter( (item) => @@ -158,6 +165,9 @@ export const FileExplorerMenu = (props: FileExplorerMenuProps) => { props.createNewFolder() } else if (action === 'publishToGist' || action == 'updateGist') { props.publishToGist() + } else if (action === 'connectToLocalFileSystem') { + _paq.push(['trackEvent', 'fileExplorer', 'fileAction', action]) + props.connectToLocalFileSystem() } else if (action === 'importFromIpfs') { _paq.push(['trackEvent', 'fileExplorer', 'fileAction', action]) props.importFromIpfs('Ipfs', 'ipfs hash', ['ipfs://QmQQfBMkpDgmxKzYaoAtqfaybzfgGm9b2LWYyT56Chv6xH'], 'ipfs://') diff --git a/libs/remix-ui/workspace/src/lib/components/file-explorer.tsx b/libs/remix-ui/workspace/src/lib/components/file-explorer.tsx index 38ac14cd6de..f0c691680b0 100644 --- a/libs/remix-ui/workspace/src/lib/components/file-explorer.tsx +++ b/libs/remix-ui/workspace/src/lib/components/file-explorer.tsx @@ -609,6 +609,7 @@ export const FileExplorer = (props: FileExplorerProps) => { uploadFolder={uploadFolder} importFromIpfs={props.importFromIpfs} importFromHttps={props.importFromHttps} + connectToLocalFileSystem={() => console.log('connectToLocalFileSystem')} />
diff --git a/libs/remix-ui/workspace/src/lib/remix-ui-workspace.tsx b/libs/remix-ui/workspace/src/lib/remix-ui-workspace.tsx index 11d0982efc1..abc3cfc39a6 100644 --- a/libs/remix-ui/workspace/src/lib/remix-ui-workspace.tsx +++ b/libs/remix-ui/workspace/src/lib/remix-ui-workspace.tsx @@ -1174,8 +1174,7 @@ export function Workspace() { switchWorkspace(LOCALHOST)} canPaste={canPaste} hasCopied={hasCopied} setHasCopied={setHasCopied} diff --git a/libs/remix-ui/workspace/src/lib/types/index.ts b/libs/remix-ui/workspace/src/lib/types/index.ts index 214c1196b24..4e3a5473e5a 100644 --- a/libs/remix-ui/workspace/src/lib/types/index.ts +++ b/libs/remix-ui/workspace/src/lib/types/index.ts @@ -159,6 +159,7 @@ export interface FileExplorerProps { dragStatus: (status: boolean) => void importFromIpfs: any importFromHttps: any + connectToLocalFileSystem?: any handleMultiCopies: any feTarget: { key: string, type: 'file' | 'folder' }[] setFeTarget: Dispatch void importFromIpfs: any importFromHttps: any + connectToLocalFileSystem?: any tooltipPlacement?: Placement } export interface FileExplorerContextMenuProps { From 99672ae69149113be6282fb1849b087c7947e25b Mon Sep 17 00:00:00 2001 From: Joseph Izang Date: Thu, 26 Sep 2024 15:29:37 +0100 Subject: [PATCH 07/11] add git initialization --- .../src/lib/components/file-explorer-menu.tsx | 32 ++++++++++++++++++- .../src/lib/components/file-explorer.tsx | 9 +++++- .../workspace/src/lib/remix-ui-workspace.tsx | 2 +- .../remix-ui/workspace/src/lib/types/index.ts | 2 ++ 4 files changed, 42 insertions(+), 3 deletions(-) diff --git a/libs/remix-ui/workspace/src/lib/components/file-explorer-menu.tsx b/libs/remix-ui/workspace/src/lib/components/file-explorer-menu.tsx index 2e331a31867..b9cf27aa551 100644 --- a/libs/remix-ui/workspace/src/lib/components/file-explorer-menu.tsx +++ b/libs/remix-ui/workspace/src/lib/components/file-explorer-menu.tsx @@ -56,10 +56,17 @@ export const FileExplorerMenu = (props: FileExplorerMenuProps) => { }, { action: 'connectToLocalFileSystem', - title: 'Import files with https', + title: 'Connect to local filesystem with remixd', icon: 'fa-solid fa-desktop', placement: 'top', platforms: [appPlatformTypes.web] + }, + { + action: 'initializeWorkspaceAsGitRepo', + title: 'Initialize workspace as a git repository', + icon: 'fa-brands fa-git-alt', + placement: 'top', + platforms: [appPlatformTypes.web] } ].filter( (item) => @@ -143,6 +150,29 @@ export const FileExplorerMenu = (props: FileExplorerMenuProps) => { ) + } else if (action === 'initializeWorkspaceAsGitRepo') { + return ( + } + key={`index-${action}-${placement}-${icon}`} + > + + + ) } else { return ( { } + const handleGitInit = async () => { + const isActive = await plugin.call('manager', 'isActive', 'dgit') + if (!isActive) await plugin.call('manager', 'activatePlugin', 'dgit') + await plugin.call('dgitApi', 'init') + } + return (
{ uploadFolder={uploadFolder} importFromIpfs={props.importFromIpfs} importFromHttps={props.importFromHttps} - connectToLocalFileSystem={() => console.log('connectToLocalFileSystem')} + connectToLocalFileSystem={() => props.connectToLocalFileSystem()} + handleGitInit={handleGitInit} />
diff --git a/libs/remix-ui/workspace/src/lib/remix-ui-workspace.tsx b/libs/remix-ui/workspace/src/lib/remix-ui-workspace.tsx index abc3cfc39a6..18e56b21051 100644 --- a/libs/remix-ui/workspace/src/lib/remix-ui-workspace.tsx +++ b/libs/remix-ui/workspace/src/lib/remix-ui-workspace.tsx @@ -1174,7 +1174,7 @@ export function Workspace() { Promise handleMultiCopies: any feTarget: { key: string, type: 'file' | 'folder' }[] setFeTarget: Dispatch Promise tooltipPlacement?: Placement } export interface FileExplorerContextMenuProps { From 1a1bb6075fedc39333ce4d978776a0c5851449cb Mon Sep 17 00:00:00 2001 From: Joseph Izang Date: Thu, 26 Sep 2024 15:34:03 +0100 Subject: [PATCH 08/11] should show on desktop also --- .../workspace/src/lib/components/file-explorer-menu.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/remix-ui/workspace/src/lib/components/file-explorer-menu.tsx b/libs/remix-ui/workspace/src/lib/components/file-explorer-menu.tsx index b9cf27aa551..7e3ee7019d8 100644 --- a/libs/remix-ui/workspace/src/lib/components/file-explorer-menu.tsx +++ b/libs/remix-ui/workspace/src/lib/components/file-explorer-menu.tsx @@ -66,7 +66,7 @@ export const FileExplorerMenu = (props: FileExplorerMenuProps) => { title: 'Initialize workspace as a git repository', icon: 'fa-brands fa-git-alt', placement: 'top', - platforms: [appPlatformTypes.web] + platforms: [appPlatformTypes.web, appPlatformTypes.desktop] } ].filter( (item) => From daf40e14d9bd8fa044d5c908dbd39fe6bc26573f Mon Sep 17 00:00:00 2001 From: Joseph Izang Date: Mon, 30 Sep 2024 14:40:53 +0100 Subject: [PATCH 09/11] add hamburger menu item --- apps/remix-ide/src/app/tabs/locales/en/filePanel.json | 1 + .../src/lib/components/workspace-hamburger.tsx | 11 +++++++++++ .../remix-ui/workspace/src/lib/remix-ui-workspace.tsx | 10 ++++++---- 3 files changed, 18 insertions(+), 4 deletions(-) diff --git a/apps/remix-ide/src/app/tabs/locales/en/filePanel.json b/apps/remix-ide/src/app/tabs/locales/en/filePanel.json index 3680b1b5c09..bbcd8ff1f0d 100644 --- a/apps/remix-ide/src/app/tabs/locales/en/filePanel.json +++ b/apps/remix-ide/src/app/tabs/locales/en/filePanel.json @@ -9,6 +9,7 @@ "filePanel.clone": "Clone", "filePanel.download": "Download", "filePanel.backup": "Backup", + "filePanel.localFileSystem": "Connect to Local Filesystem", "filePanel.restore": "Restore", "filePanel.name": "Name", "filePanel.save": "Save", diff --git a/libs/remix-ui/workspace/src/lib/components/workspace-hamburger.tsx b/libs/remix-ui/workspace/src/lib/components/workspace-hamburger.tsx index 860ac4042ed..6bceeba044a 100644 --- a/libs/remix-ui/workspace/src/lib/components/workspace-hamburger.tsx +++ b/libs/remix-ui/workspace/src/lib/components/workspace-hamburger.tsx @@ -17,6 +17,7 @@ export interface HamburgerMenuProps { downloadWorkspaces: () => void restoreBackup: () => void hideIconsMenu: (showMenu: boolean) => void + handleRemixdWorkspace: () => void showIconsMenu: boolean hideWorkspaceOptions: boolean hideLocalhostOptions: boolean @@ -139,6 +140,16 @@ export function HamburgerMenu(props: HamburgerMenuProps) { }} platforms={[appPlatformTypes.web]} > + { + props.handleRemixdWorkspace() + props.hideIconsMenu(!showIconsMenu) + }} + platforms={[appPlatformTypes.web]} + > ) } diff --git a/libs/remix-ui/workspace/src/lib/remix-ui-workspace.tsx b/libs/remix-ui/workspace/src/lib/remix-ui-workspace.tsx index 18e56b21051..b5239d0ee1f 100644 --- a/libs/remix-ui/workspace/src/lib/remix-ui-workspace.tsx +++ b/libs/remix-ui/workspace/src/lib/remix-ui-workspace.tsx @@ -1044,6 +1044,7 @@ export function Workspace() { switchWorkspace(LOCALHOST)} createBlankWorkspace={createBlankWorkspace} renameCurrentWorkspace={renameCurrentWorkspace} downloadCurrentWorkspace={downloadCurrentWorkspace} @@ -1134,10 +1135,11 @@ export function Workspace() { {currentWorkspace === LOCALHOST ? ( ✓ Connected to Local Filesystem ) : ( - - {' '} - {' '} - + // + // {' '} + // {' '} + // + null )} From da97ba2194af5c77340167febb7e4969cdc55683 Mon Sep 17 00:00:00 2001 From: lianahus Date: Mon, 7 Oct 2024 14:54:39 +0200 Subject: [PATCH 10/11] added a divider and -create w.- removed --- .../lib/components/workspace-hamburger.tsx | 1 + .../workspace/src/lib/remix-ui-workspace.tsx | 19 ------------------- 2 files changed, 1 insertion(+), 19 deletions(-) diff --git a/libs/remix-ui/workspace/src/lib/components/workspace-hamburger.tsx b/libs/remix-ui/workspace/src/lib/components/workspace-hamburger.tsx index 6bceeba044a..c83313cb655 100644 --- a/libs/remix-ui/workspace/src/lib/components/workspace-hamburger.tsx +++ b/libs/remix-ui/workspace/src/lib/components/workspace-hamburger.tsx @@ -140,6 +140,7 @@ export function HamburgerMenu(props: HamburgerMenuProps) { }} platforms={[appPlatformTypes.web]} > + { - return ( - <> - { - createWorkspace() - }} - > - - {' '} - - -{' '} - - - - ) - } const IsGitRepoDropDownMenuItem = (props: { isGitRepo: boolean, mName: string}) => { return ( <> @@ -1124,9 +1108,6 @@ export function Workspace() { {selectedWorkspace ? selectedWorkspace.name === LOCALHOST ? togglerText : selectedWorkspace.name : currentWorkspace === LOCALHOST ? formatNameForReadonly('localhost') : NO_WORKSPACE} - { - currentWorkspace !== LOCALHOST && - } { switchWorkspace(LOCALHOST) From c1f6b29e8a1b35691f8b04050b34c006a55625b6 Mon Sep 17 00:00:00 2001 From: aniket-engg Date: Mon, 7 Oct 2024 20:22:44 +0530 Subject: [PATCH 11/11] fix tooltips --- apps/remix-ide/src/app/tabs/locales/en/filePanel.json | 1 + .../workspace/src/lib/components/file-explorer-menu.tsx | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/remix-ide/src/app/tabs/locales/en/filePanel.json b/apps/remix-ide/src/app/tabs/locales/en/filePanel.json index bbcd8ff1f0d..4084b6a82f7 100644 --- a/apps/remix-ide/src/app/tabs/locales/en/filePanel.json +++ b/apps/remix-ide/src/app/tabs/locales/en/filePanel.json @@ -29,6 +29,7 @@ "filePanel.workspace.chooseTemplate": "Choose a template", "filePanel.workspace.backup": "Backup All Workspaces", "filePanel.workspace.restore": "Restore Workspaces from the Backup", + "filePanel.workspace.localFileSystem": "Connect to Local Filesystem using Remixd", "filePanel.workspace.clone": "Clone Git Repository", "filePanel.workspace.cloneMessage": "Please provide a valid git repository url.", "filePanel.workspace.enterGitUrl": "Enter git repository url", diff --git a/libs/remix-ui/workspace/src/lib/components/file-explorer-menu.tsx b/libs/remix-ui/workspace/src/lib/components/file-explorer-menu.tsx index 7e3ee7019d8..71278a2a485 100644 --- a/libs/remix-ui/workspace/src/lib/components/file-explorer-menu.tsx +++ b/libs/remix-ui/workspace/src/lib/components/file-explorer-menu.tsx @@ -56,7 +56,7 @@ export const FileExplorerMenu = (props: FileExplorerMenuProps) => { }, { action: 'connectToLocalFileSystem', - title: 'Connect to local filesystem with remixd', + title: 'Connect to local filesystem using remixd', icon: 'fa-solid fa-desktop', placement: 'top', platforms: [appPlatformTypes.web]