From d3c71d16413d23d8cbb61bde0ca38f40592c1853 Mon Sep 17 00:00:00 2001 From: bunsenstraat Date: Mon, 4 Nov 2024 15:31:20 +0100 Subject: [PATCH] init --- apps/remix-ide-e2e/src/helpers/init.ts | 3 ++- libs/remix-ui/app/src/lib/remix-app/state/app.ts | 2 +- libs/remix-ui/statusbar/src/lib/components/aiStatus.tsx | 1 + 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/apps/remix-ide-e2e/src/helpers/init.ts b/apps/remix-ide-e2e/src/helpers/init.ts index cd6bdb86af..a6c303f32d 100644 --- a/apps/remix-ide-e2e/src/helpers/init.ts +++ b/apps/remix-ide-e2e/src/helpers/init.ts @@ -29,6 +29,8 @@ export default function (browser: NightwatchBrowser, callback: VoidFunction, url .enableClipBoard() .waitForElementVisible('*[data-id="hTScamAlertButton"]') .click('*[data-id="hTScamAlertButton"]') + .waitForElementVisible('*[data-id="aiStatusButton"]') + .click('*[data-id="aiStatusButton"]') .perform((done) => { browser.execute(function () { // hide tooltips function addStyle(styleString) { @@ -78,7 +80,6 @@ export default function (browser: NightwatchBrowser, callback: VoidFunction, url function initModules(browser: NightwatchBrowser, callback: VoidFunction) { browser - .pause() .click('[data-id="verticalIconsKindpluginManager"]') .scrollAndClick('[data-id="pluginManagerComponentActivateButtonsolidityStaticAnalysis"]') .scrollAndClick('[data-id="pluginManagerComponentActivateButtondebugger"]') diff --git a/libs/remix-ui/app/src/lib/remix-app/state/app.ts b/libs/remix-ui/app/src/lib/remix-app/state/app.ts index 708b22301a..2778233a09 100644 --- a/libs/remix-ui/app/src/lib/remix-app/state/app.ts +++ b/libs/remix-ui/app/src/lib/remix-app/state/app.ts @@ -6,5 +6,5 @@ export const appInitialState: AppState = { currentBranch: null, needsGitInit: true, canUseGit: false, - showPopupPanel: false + showPopupPanel: true } \ No newline at end of file diff --git a/libs/remix-ui/statusbar/src/lib/components/aiStatus.tsx b/libs/remix-ui/statusbar/src/lib/components/aiStatus.tsx index 53f3de6325..bfdf3f96bb 100644 --- a/libs/remix-ui/statusbar/src/lib/components/aiStatus.tsx +++ b/libs/remix-ui/statusbar/src/lib/components/aiStatus.tsx @@ -61,6 +61,7 @@ export default function AIStatus(props: AIStatusProps) { color: 'var(--ai)', boxShadow: '3px 3px var(--secondary), -0.1em 0 1.4em var(--secondary)' }} + data-id="aiStatusButton" className='p-1 alert alert-info border border-info fa-solid fa-message-bot' onClick={async () => { appContext.appStateDispatch({