diff --git a/apps/remix-ide-e2e/src/tests/workspace.test.ts b/apps/remix-ide-e2e/src/tests/workspace.test.ts index 092d939302..f5fea02e36 100644 --- a/apps/remix-ide-e2e/src/tests/workspace.test.ts +++ b/apps/remix-ide-e2e/src/tests/workspace.test.ts @@ -107,8 +107,8 @@ module.exports = { const fileList = document.querySelector('*[data-id="treeViewUltreeViewMenu"]') return fileList.getElementsByTagName('li').length; }, [], function(result){ - // check there are no files in FE - browser.assert.equal(result.value, 0, 'Incorrect number of files'); + // check there are no files in FE except config file + browser.assert.equal(result.value, 1, 'Incorrect number of files'); }); }, diff --git a/libs/remix-ui/solidity-compiler/src/lib/compiler-container.tsx b/libs/remix-ui/solidity-compiler/src/lib/compiler-container.tsx index 1e56ab8e72..30f62318b3 100644 --- a/libs/remix-ui/solidity-compiler/src/lib/compiler-container.tsx +++ b/libs/remix-ui/solidity-compiler/src/lib/compiler-container.tsx @@ -43,7 +43,7 @@ export const CompilerContainer = (props: CompilerContainerProps) => { evmVersion: '' }) const [showFilePathInput, setShowFilePathInput] = useState(false) - + const [toggleExpander, setToggleExpander] = useState(false) const [disableCompileButton, setDisableCompileButton] = useState(false) const compileIcon = useRef(null) const promptMessageInput = useRef(null) @@ -614,10 +614,14 @@ export const CompilerContainer = (props: CompilerContainerProps) => { onChangeRuns(settings.runs) } + const toggleConfigurations = () => { + setToggleExpander(!toggleExpander) + } + return (
-
+
}
-
+
+
+ +
+
+ + + +
+
+
@@ -738,64 +752,63 @@ export const CompilerContainer = (props: CompilerContainerProps) => { /> { !showFilePathInput && }
- -
-
+
+ +
+ -
- - -
-
Choose the script to execute right after compilation by adding the `dev-run-script` natspec tag, as in:
-
-                    
-                    /**
- * @title ContractName
- * @dev ContractDescription
- * @custom:dev-run-script file_path
- */
- contract ContractName {'{}'}
-
-
- Click to know more -
- - }> - -
- '@custom:dev-run-script file_path'} direction='top'> - - -
-
-
+ + + +
+
Choose the script to execute right after compilation by adding the `dev-run-script` natspec tag, as in:
+
+                  
+                  /**
+ * @title ContractName
+ * @dev ContractDescription
+ * @custom:dev-run-script file_path
+ */
+ contract ContractName {'{}'}
+
+
+ Click to know more +
+ + }> + +
+ '@custom:dev-run-script file_path'} direction='top'> + + +
+
)