From ac761a212d8cb47c13993fb906745801bac50ed2 Mon Sep 17 00:00:00 2001 From: Joseph Izang Date: Tue, 20 Feb 2024 23:43:03 +0100 Subject: [PATCH 1/3] add .vy as a supported file in tooltip --- apps/remix-ide/src/app/tabs/locales/en/remixUiTabs.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/remix-ide/src/app/tabs/locales/en/remixUiTabs.json b/apps/remix-ide/src/app/tabs/locales/en/remixUiTabs.json index 1c60e9592d..df7628736a 100644 --- a/apps/remix-ide/src/app/tabs/locales/en/remixUiTabs.json +++ b/apps/remix-ide/src/app/tabs/locales/en/remixUiTabs.json @@ -1,7 +1,7 @@ { "remixUiTabs.tooltipText1": "Run script (CTRL + SHIFT + S)", "remixUiTabs.tooltipText2": "Compile CTRL + S", - "remixUiTabs.tooltipText3": "Select .sol or .yul file to compile or a .ts or .js file and run it", + "remixUiTabs.tooltipText3": "Select .sol, .vy or .yul file to compile or a .ts or .js file and run it", "remixUiTabs.zoomOut": "Zoom out", "remixUiTabs.zoomIn": "Zoom in" } From 040c640fec16fc90b6ba8f6a3081dbb4a70fb6c4 Mon Sep 17 00:00:00 2001 From: Joseph Izang Date: Tue, 20 Feb 2024 23:43:27 +0100 Subject: [PATCH 2/3] make action nullable --- apps/vyper/src/app/utils/remix-client.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/vyper/src/app/utils/remix-client.tsx b/apps/vyper/src/app/utils/remix-client.tsx index 4f0c45a09b..ae4b0cab94 100644 --- a/apps/vyper/src/app/utils/remix-client.tsx +++ b/apps/vyper/src/app/utils/remix-client.tsx @@ -42,7 +42,7 @@ export class RemixClient extends PluginClient { this.eventEmitter.emit('resetCompilerState', {}) } - async vyperCompileCustomAction(action: customAction) { + async vyperCompileCustomAction(action?: customAction) { //read selected contract from file explorer and create contract type const contract = await this.getContract() //compile contract From 0070fe69e87f00f357fef8d5c2f4e073819d68a2 Mon Sep 17 00:00:00 2001 From: Joseph Izang Date: Tue, 20 Feb 2024 23:43:42 +0100 Subject: [PATCH 3/3] update play button logic --- libs/remix-ui/tabs/src/lib/remix-ui-tabs.tsx | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/libs/remix-ui/tabs/src/lib/remix-ui-tabs.tsx b/libs/remix-ui/tabs/src/lib/remix-ui-tabs.tsx index 6ea63767d3..b11d1306ae 100644 --- a/libs/remix-ui/tabs/src/lib/remix-ui-tabs.tsx +++ b/libs/remix-ui/tabs/src/lib/remix-ui-tabs.tsx @@ -169,7 +169,7 @@ export const TabsUI = (props: TabsUIProps) => {