From 1099afe1161e880c68a20f917efa412d4f62cf33 Mon Sep 17 00:00:00 2001 From: Aniket-Engg Date: Tue, 12 May 2026 14:26:21 +0530 Subject: [PATCH 1/8] fix user menu hover --- .../login/src/lib/user-menu-compact.css | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/libs/remix-ui/login/src/lib/user-menu-compact.css b/libs/remix-ui/login/src/lib/user-menu-compact.css index e3a49d8f605..1900a8974bc 100644 --- a/libs/remix-ui/login/src/lib/user-menu-compact.css +++ b/libs/remix-ui/login/src/lib/user-menu-compact.css @@ -134,8 +134,10 @@ transition: background-color 0.2s; } -.user-menu-item:hover { - background-color: var(--bs-body-bg, #222336); +.user-menu-items-container .dropdown-item.user-menu-item:hover, +.user-menu-items-container .dropdown-item.user-menu-item:focus { + background-color: var(--bs-dropdown-link-hover-bg); + color: var(--bs-dropdown-link-hover-color); } .user-menu-item-icon { @@ -155,8 +157,10 @@ transition: background-color 0.2s; } -.user-menu-credits-item:hover { - background-color: var(--bs-body-bg, #222336); +.user-menu-items-container .dropdown-item.user-menu-credits-item:hover, +.user-menu-items-container .dropdown-item.user-menu-credits-item:focus { + background-color: var(--bs-dropdown-link-hover-bg); + color: var(--bs-dropdown-link-hover-color); } .user-menu-credits-icon { @@ -189,8 +193,10 @@ font-weight: 500; } -.user-menu-item-danger:hover { - background-color: var(--bs-body-bg, #222336); +.user-menu-items-container .dropdown-item.user-menu-item-danger:hover, +.user-menu-items-container .dropdown-item.user-menu-item-danger:focus { + background-color: var(--bs-dropdown-link-hover-bg); + color: var(--bs-dropdown-link-hover-color); } .user-menu-theme-toggle { From ee19309e74dfdebc7d5718f6634ea3bbb01e0645 Mon Sep 17 00:00:00 2001 From: Aniket-Engg Date: Tue, 12 May 2026 18:05:44 +0530 Subject: [PATCH 2/8] update deploy method hover --- libs/remix-ui/run-tab-deploy/src/lib/css/index.css | 6 ++---- .../run-tab-deployed-contracts/src/lib/css/index.css | 7 +++++++ 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/libs/remix-ui/run-tab-deploy/src/lib/css/index.css b/libs/remix-ui/run-tab-deploy/src/lib/css/index.css index b17dcd9046f..b82ce505b4a 100644 --- a/libs/remix-ui/run-tab-deploy/src/lib/css/index.css +++ b/libs/remix-ui/run-tab-deploy/src/lib/css/index.css @@ -5,8 +5,6 @@ background-color: var(--custom-onsurface-layer-3) !important; } .contract-dropdown-item-hover:hover, .unit-dropdown-item:hover, .unit-dropdown-item-hover:hover { - background-color: var(--custom-onsurface-layer-3) !important; - border: 1px solid var(--bs-border-color) !important; - border-radius: 0 !important; - color: var(--theme-text-color, white) !important; + background-color: var(--bs-dropdown-link-hover-bg) !important; + color: var(--bs-dropdown-link-hover-color) !important; } \ No newline at end of file diff --git a/libs/remix-ui/run-tab-deployed-contracts/src/lib/css/index.css b/libs/remix-ui/run-tab-deployed-contracts/src/lib/css/index.css index 0587cb1c682..85909753ed5 100644 --- a/libs/remix-ui/run-tab-deployed-contracts/src/lib/css/index.css +++ b/libs/remix-ui/run-tab-deployed-contracts/src/lib/css/index.css @@ -135,3 +135,10 @@ animation: none; box-shadow: 0 6px 16px rgba(100, 196, 255, 0.8) !important; } + +/* Fix hover for function dropdown items */ +.dropdown-item[data-id*="deployedContractItem"][data-id*="function"]:hover, +.dropdown-item[data-id*="deployedContractItem"][data-id*="function"]:focus { + background-color: var(--bs-dropdown-link-hover-bg) !important; + color: var(--bs-dropdown-link-hover-color) !important; +} From bc7e58ddf1989b39dcdcc1bea340a6a1db9ae303 Mon Sep 17 00:00:00 2001 From: Aniket-Engg Date: Tue, 12 May 2026 18:21:53 +0530 Subject: [PATCH 3/8] recorder and deployed clear all similar --- .../remix-ide/src/app/tabs/locales/en/udapp.json | 4 ++-- .../widgets/deployedContractsPortraitView.tsx | 4 ++-- .../src/lib/widgets/TransactionsPortraitView.tsx | 16 +++++++++------- 3 files changed, 13 insertions(+), 11 deletions(-) diff --git a/apps/remix-ide/src/app/tabs/locales/en/udapp.json b/apps/remix-ide/src/app/tabs/locales/en/udapp.json index 16bdcc3e100..4bc13a9180d 100644 --- a/apps/remix-ide/src/app/tabs/locales/en/udapp.json +++ b/apps/remix-ide/src/app/tabs/locales/en/udapp.json @@ -200,8 +200,8 @@ "udapp.noABIAvailable": "No ABI available", "udapp.noBytecodeAvailable": "No bytecode available", "udapp.transactionRecorderTitle": "Transactions recorder", - "udapp.yesClearAll": "Yes clear all", - "udapp.yesClearAllTransactions": "Yes clear all", + "udapp.yesClearAll": "Yes, Clear All", + "udapp.yesClearAllTransactions": "Yes, Clear All", "udapp.viewSourceCode": "View Source Code", "udapp.themes": "Themes", "udapp.verifyContract": "Verify Contract on Explorers", diff --git a/libs/remix-ui/run-tab-deployed-contracts/src/lib/widgets/deployedContractsPortraitView.tsx b/libs/remix-ui/run-tab-deployed-contracts/src/lib/widgets/deployedContractsPortraitView.tsx index bb31eae62c7..dd2acfa1ff6 100644 --- a/libs/remix-ui/run-tab-deployed-contracts/src/lib/widgets/deployedContractsPortraitView.tsx +++ b/libs/remix-ui/run-tab-deployed-contracts/src/lib/widgets/deployedContractsPortraitView.tsx @@ -299,11 +299,11 @@ export default function DeployedContractsPortraitView() { diff --git a/libs/remix-ui/run-tab-transactions/src/lib/widgets/TransactionsPortraitView.tsx b/libs/remix-ui/run-tab-transactions/src/lib/widgets/TransactionsPortraitView.tsx index e5391329f10..12c4ef3e15f 100644 --- a/libs/remix-ui/run-tab-transactions/src/lib/widgets/TransactionsPortraitView.tsx +++ b/libs/remix-ui/run-tab-transactions/src/lib/widgets/TransactionsPortraitView.tsx @@ -248,23 +248,25 @@ function TransactionsPortraitView() { {/* Clear All Confirmation Dialog */} {showClearAllDialog && (
-
-

+

+

@@ -285,11 +287,11 @@ function TransactionsPortraitView() {
From b3ba54cdd4b04af8d617a1b1ebadd78df240c0ca Mon Sep 17 00:00:00 2001 From: Aniket-Engg Date: Tue, 12 May 2026 18:35:48 +0530 Subject: [PATCH 4/8] fix env reset --- apps/remix-dapp/src/locales/en/udapp.json | 2 +- apps/remix-ide/src/app/tabs/locales/en/udapp.json | 4 ++-- libs/remix-ui/run-tab-deploy/src/lib/css/index.css | 8 +++++++- .../run-tab-environment/src/lib/components/resetUI.tsx | 9 ++------- 4 files changed, 12 insertions(+), 11 deletions(-) diff --git a/apps/remix-dapp/src/locales/en/udapp.json b/apps/remix-dapp/src/locales/en/udapp.json index 764fc312368..ab91c7bc8c4 100644 --- a/apps/remix-dapp/src/locales/en/udapp.json +++ b/apps/remix-dapp/src/locales/en/udapp.json @@ -58,7 +58,7 @@ "udapp.resetVmStateDesc1": "Resetting the state of this VM will delete the associated transaction details in this Workspace.", "udapp.resetVmStateDesc2": "It will also delete the data of contracts deployed and pinned in this Workspace.", "udapp.resetVmStateDesc3": "Do you want to continue?", - "udapp.reset": "Yes reset", + "udapp.reset": "Yes, Reset", "udapp.delete": "Delete", "udapp.injectedTitle": "Unfortunately it's not possible to create an account using injected provider. Please create the account directly from your provider (i.e metamask or other of the same type).", "udapp.createSmartAccount": "Create a Safe Smart Account", diff --git a/apps/remix-ide/src/app/tabs/locales/en/udapp.json b/apps/remix-ide/src/app/tabs/locales/en/udapp.json index 4bc13a9180d..466f1add245 100644 --- a/apps/remix-ide/src/app/tabs/locales/en/udapp.json +++ b/apps/remix-ide/src/app/tabs/locales/en/udapp.json @@ -59,8 +59,8 @@ "udapp.resetVmStateDesc2": "It will also delete the data of contracts deployed and pinned in this Workspace.", "udapp.resetVmStateDesc3": "Do you want to continue?", "udapp.reset": "Reset", - "udapp.yesReset": "Yes reset", - "udapp.cancelReset": "Cancel reset", + "udapp.yesReset": "Yes, Reset", + "udapp.cancelReset": "Cancel", "udapp.delete": "Delete", "udapp.injectedTitle": "Unfortunately it's not possible to create an account using injected provider. Please create the account directly from your provider (i.e metamask or other of the same type).", "udapp.createSmartAccount": "Create a Safe Smart Account", diff --git a/libs/remix-ui/run-tab-deploy/src/lib/css/index.css b/libs/remix-ui/run-tab-deploy/src/lib/css/index.css index b82ce505b4a..e5c645ce004 100644 --- a/libs/remix-ui/run-tab-deploy/src/lib/css/index.css +++ b/libs/remix-ui/run-tab-deploy/src/lib/css/index.css @@ -4,7 +4,13 @@ .deploy-address-toggle:hover { background-color: var(--custom-onsurface-layer-3) !important; } -.contract-dropdown-item-hover:hover, .unit-dropdown-item:hover, .unit-dropdown-item-hover:hover { +.contract-dropdown-item-hover:hover { + background-color: var(--custom-onsurface-layer-3) !important; + border: 1px solid var(--bs-border-color) !important; + border-radius: 0 !important; + color: var(--theme-text-color, white) !important; +} +.unit-dropdown-item:hover, .unit-dropdown-item-hover:hover { background-color: var(--bs-dropdown-link-hover-bg) !important; color: var(--bs-dropdown-link-hover-color) !important; } \ No newline at end of file diff --git a/libs/remix-ui/run-tab-environment/src/lib/components/resetUI.tsx b/libs/remix-ui/run-tab-environment/src/lib/components/resetUI.tsx index f5fc4f7c393..5da3450be38 100644 --- a/libs/remix-ui/run-tab-environment/src/lib/components/resetUI.tsx +++ b/libs/remix-ui/run-tab-environment/src/lib/components/resetUI.tsx @@ -56,25 +56,20 @@ export function ResetUI() {
From 7e1f4497088376d25fa86affb187dbbcd91c8068 Mon Sep 17 00:00:00 2001 From: Aniket-Engg Date: Tue, 12 May 2026 19:11:13 +0530 Subject: [PATCH 5/8] improve display for function dropdown --- .../src/lib/components/DeployedContractItem.tsx | 12 ++++++------ .../src/lib/components/envCategoryUI.tsx | 4 ++-- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/libs/remix-ui/run-tab-deployed-contracts/src/lib/components/DeployedContractItem.tsx b/libs/remix-ui/run-tab-deployed-contracts/src/lib/components/DeployedContractItem.tsx index e7837920292..88a8d62fa8f 100644 --- a/libs/remix-ui/run-tab-deployed-contracts/src/lib/components/DeployedContractItem.tsx +++ b/libs/remix-ui/run-tab-deployed-contracts/src/lib/components/DeployedContractItem.tsx @@ -674,21 +674,21 @@ Before generating, please ask me about my design preferences first.` className="btn btn-outline-secondary w-100 d-flex align-items-center justify-content-between" style={{ backgroundColor: 'var(--custom-onsurface-layer-3)', - border: '1px solid var(--custom-onsurface-layer-4)', + border: '1px solid var(--bs-border-color)', color: 'var(--dark/text-secondary, #d5d7e3)', padding: '8px 12px' }} icon="fas fa-caret-down" useDefaultIcon={false} > -
- Select a function to interact with... +
+ Select a function to interact with...
e.stopPropagation()} style={{ backgroundColor: 'var(--custom-onsurface-layer-3)', - border: '1px solid var(--custom-onsurface-layer-4)', + border: '1px solid var(--bs-border-color)', color: 'var(--dark/text-secondary, #d5d7e3)', fontSize: '11px' }} diff --git a/libs/remix-ui/run-tab-environment/src/lib/components/envCategoryUI.tsx b/libs/remix-ui/run-tab-environment/src/lib/components/envCategoryUI.tsx index 402e309bc11..302036d3266 100644 --- a/libs/remix-ui/run-tab-environment/src/lib/components/envCategoryUI.tsx +++ b/libs/remix-ui/run-tab-environment/src/lib/components/envCategoryUI.tsx @@ -59,7 +59,7 @@ export const EnvCategoryUI: React.FC = ({ isOpen, onToggle } e.stopPropagation() }} > - +
{{enforceSelect ? ' { - trackMatomoEvent?.({ category: 'udapp', action: 'gasLimitInput', name: e.target.value }) - dispatch({ type: 'SET_GAS_LIMIT', payload: parseInt(e.target.value) }) - }} - disabled={widgetState.gasLimit === 0} - style={{ - backgroundColor: 'var(--bs-body-bg)', - color: themeQuality === 'dark' ? 'white' : 'black', - flex: 1, - paddingLeft: '4rem', - opacity: widgetState.gasLimit === 0 ? 0.6 : 1, - cursor: widgetState.gasLimit === 0 ? 'not-allowed' : 'text' - }} - /> + { + const newMode = widgetState.gasLimit === 0 ? 'custom' : 'auto' + trackMatomoEvent?.({ category: 'udapp', action: 'gasLimitToggle', name: newMode, isClick: true }) + if (widgetState.gasLimit === 0) { + // Switch from auto to custom - set a default value + dispatch({ type: 'SET_GAS_LIMIT', payload: 3000000 }) + } else { + // Switch from custom to auto - set to 0 + dispatch({ type: 'SET_GAS_LIMIT', payload: 0 }) + } + }} + > + {widgetState.gasLimit === 0 ? 'auto' : 'custom'} + + + {widgetState.gasLimit === 0 ? ( + + { + trackMatomoEvent?.({ category: 'udapp', action: 'gasLimitInput', name: e.target.value }) + dispatch({ type: 'SET_GAS_LIMIT', payload: parseInt(e.target.value) }) + }} + disabled={widgetState.gasLimit === 0} + style={{ + backgroundColor: 'var(--bs-body-bg)', + color: themeQuality === 'dark' ? 'white' : 'black', + flex: 1, + paddingLeft: '4rem', + opacity: widgetState.gasLimit === 0 ? 0.6 : 1, + cursor: widgetState.gasLimit === 0 ? 'not-allowed' : 'text' + }} + /> + + ) : ( + { + trackMatomoEvent?.({ category: 'udapp', action: 'gasLimitInput', name: e.target.value }) + dispatch({ type: 'SET_GAS_LIMIT', payload: parseInt(e.target.value) }) + }} + disabled={widgetState.gasLimit === 0} + style={{ + backgroundColor: 'var(--bs-body-bg)', + color: themeQuality === 'dark' ? 'white' : 'black', + flex: 1, + paddingLeft: '4rem', + opacity: widgetState.gasLimit === 0 ? 0.6 : 1, + cursor: widgetState.gasLimit === 0 ? 'not-allowed' : 'text' + }} + /> + )}
diff --git a/libs/remix-ui/run-tab-deployed-contracts/src/lib/components/DeployedContractItem.tsx b/libs/remix-ui/run-tab-deployed-contracts/src/lib/components/DeployedContractItem.tsx index 784016e7c0f..fc3981c4e60 100644 --- a/libs/remix-ui/run-tab-deployed-contracts/src/lib/components/DeployedContractItem.tsx +++ b/libs/remix-ui/run-tab-deployed-contracts/src/lib/components/DeployedContractItem.tsx @@ -1034,51 +1034,87 @@ Before generating, please ask me about my design preferences first.`
- { - const newMode = gasLimit === 0 ? 'custom' : 'auto' - trackMatomoEvent?.({ category: 'udapp', action: 'deployedContractGasLimitToggle', name: newMode, isClick: true }) - if (gasLimit === 0) { - setGasLimit(3000000) - } else { - setGasLimit(0) - } - }} + - {gasLimit === 0 ? 'auto' : 'custom'} - - { - trackMatomoEvent?.({ category: 'udapp', action: 'deployedContractGasLimitInput', name: e.target.value }) - setGasLimit(parseInt(e.target.value)) - }} - disabled={gasLimit === 0} - style={{ - color: 'var(--dark/text-quaternary, #959bad)', - flex: 1, - paddingLeft: '4rem', - textAlign: 'right', - opacity: gasLimit === 0 ? 0.6 : 1, - cursor: gasLimit === 0 ? 'not-allowed' : 'text', - fontSize: '0.7rem', - minHeight: '30px' - }} - /> + { + const newMode = gasLimit === 0 ? 'custom' : 'auto' + trackMatomoEvent?.({ category: 'udapp', action: 'deployedContractGasLimitToggle', name: newMode, isClick: true }) + if (gasLimit === 0) { + setGasLimit(3000000) + } else { + setGasLimit(0) + } + }} + > + {gasLimit === 0 ? 'auto' : 'custom'} + + + {gasLimit === 0 ? ( + + { + trackMatomoEvent?.({ category: 'udapp', action: 'deployedContractGasLimitInput', name: e.target.value }) + setGasLimit(parseInt(e.target.value)) + }} + disabled={gasLimit === 0} + style={{ + color: 'var(--dark/text-quaternary, #959bad)', + flex: 1, + paddingLeft: '4rem', + textAlign: 'right', + opacity: gasLimit === 0 ? 0.6 : 1, + cursor: gasLimit === 0 ? 'not-allowed' : 'text', + fontSize: '0.7rem', + minHeight: '30px' + }} + /> + + ) : ( + { + trackMatomoEvent?.({ category: 'udapp', action: 'deployedContractGasLimitInput', name: e.target.value }) + setGasLimit(parseInt(e.target.value)) + }} + disabled={gasLimit === 0} + style={{ + color: 'var(--dark/text-quaternary, #959bad)', + flex: 1, + paddingLeft: '4rem', + textAlign: 'right', + opacity: gasLimit === 0 ? 0.6 : 1, + cursor: gasLimit === 0 ? 'not-allowed' : 'text', + fontSize: '0.7rem', + minHeight: '30px' + }} + /> + )}
From 1e5b3ffdc71c35fbbce4afc454cb66ae624ed18e Mon Sep 17 00:00:00 2001 From: Aniket-Engg Date: Tue, 19 May 2026 21:34:09 +0530 Subject: [PATCH 8/8] fix badge text position and background color --- .../run-tab-deploy/src/lib/widgets/deployPortraitView.tsx | 2 +- .../src/lib/components/DeployedContractItem.tsx | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/libs/remix-ui/run-tab-deploy/src/lib/widgets/deployPortraitView.tsx b/libs/remix-ui/run-tab-deploy/src/lib/widgets/deployPortraitView.tsx index 7845234b014..44f833a433d 100644 --- a/libs/remix-ui/run-tab-deploy/src/lib/widgets/deployPortraitView.tsx +++ b/libs/remix-ui/run-tab-deploy/src/lib/widgets/deployPortraitView.tsx @@ -777,7 +777,7 @@ function DeployPortraitView() { tooltipText={widgetState.gasLimit === 0 ? intl.formatMessage({ id: 'udapp.gasLimitBadgeAutoTooltip', defaultMessage: 'Click to set custom gas limit' }) : intl.formatMessage({ id: 'udapp.gasLimitBadgeCustomTooltip', defaultMessage: 'Click to use auto estimated gas' })} >