From afd4f4e4b138bf02b03d78d44dfc2477dc4c4ac4 Mon Sep 17 00:00:00 2001 From: Conor Gallagher Date: Thu, 18 Jan 2024 13:49:21 -0800 Subject: [PATCH 1/5] updated v4-periphery to v4-template --- apps/remix-ide-e2e/src/tests/workspace_git.test.ts | 4 ++-- apps/remix-ide/src/app/tabs/locales/en/filePanel.json | 4 ++-- libs/remix-ui/workspace/src/lib/remix-ui-workspace.tsx | 4 ++-- libs/remix-ui/workspace/src/lib/types/index.ts | 2 +- libs/remix-ui/workspace/src/lib/utils/constants.ts | 6 +++--- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/apps/remix-ide-e2e/src/tests/workspace_git.test.ts b/apps/remix-ide-e2e/src/tests/workspace_git.test.ts index fb74ce1bee..9bb7038a83 100644 --- a/apps/remix-ide-e2e/src/tests/workspace_git.test.ts +++ b/apps/remix-ide-e2e/src/tests/workspace_git.test.ts @@ -370,14 +370,14 @@ module.exports = { // GIT WORKSPACE E2E STARTS - 'Should create a git workspace (uniswapV4Periphery) #group4': function (browser: NightwatchBrowser) { + 'Should create a git workspace (uniswapV4Template) #group4': function (browser: NightwatchBrowser) { browser .click('*[data-id="workspacesMenuDropdown"]') .click('*[data-id="workspacecreate"]') .waitForElementVisible('*[data-id="modalDialogCustomPromptTextCreate"]') .waitForElementVisible('[data-id="fileSystemModalDialogModalFooter-react"] > button') .click('select[id="wstemplate"]') - .click('select[id="wstemplate"] option[value=uniswapV4Periphery]') + .click('select[id="wstemplate"] option[value=uniswapV4Template]') .waitForElementPresent('[data-id="fileSystemModalDialogModalFooter-react"] .modal-ok') .execute(function () { (document.querySelector('[data-id="fileSystemModalDialogModalFooter-react"] .modal-ok') as HTMLElement).click() }) .pause(100) 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 4f917fe861..3b790fa706 100644 --- a/apps/remix-ide/src/app/tabs/locales/en/filePanel.json +++ b/apps/remix-ide/src/app/tabs/locales/en/filePanel.json @@ -113,7 +113,7 @@ "filePanel.hashchecker": "Hash Checker", "filePanel.rln": "Rate-Limiting Nullifier", "filePanel.breakthroughLabsUniswapv4Hooks": "Breakthrough-Labs Hooks", - "filePanel.uniswapV4Periphery": "v4 Periphery", + "filePanel.uniswapV4Template": "v4 Template", "filePanel.uniswapV4HookBookMultiSigSwapHook": "HookBook MultiSigSwapHook", "filePanel.transparent": "Transparent", "filePanel.initGitRepoTitle": "Check option to initialize workspace as a new git repository", @@ -136,4 +136,4 @@ "filePanel.movingFolderFailedMsg": "Unexpected error while moving folder: {src}", "filePanel.workspaceActions": "Workspace actions", "filePanel.saveCodeSample": "This code-sample workspace will not be persisted. Click here to save it." -} +} \ No newline at end of file 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 2022f6d2af..400aa1de2c 100644 --- a/libs/remix-ui/workspace/src/lib/remix-ui-workspace.tsx +++ b/libs/remix-ui/workspace/src/lib/remix-ui-workspace.tsx @@ -791,8 +791,8 @@ export function Workspace() { -