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 a7cc252c1a6..6541753d86b 100644
--- a/apps/remix-ide/src/app/tabs/locales/en/remixUiTabs.json
+++ b/apps/remix-ide/src/app/tabs/locales/en/remixUiTabs.json
@@ -1,12 +1,13 @@
{
"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.tooltipText4": "Select .sol file to use AI tools [BETA]",
+ "remixUiTabs.tooltipText3": "Select .sol or .yul file to compile OR a .ts or .js file to run",
+ "remixUiTabs.tooltipText4": "To explain a contract, choose a .sol file",
"remixUiTabs.tooltipText5": "Explain the contract(s) in current file [BETA]",
"remixUiTabs.tooltipText6": "Enable Remix AI Copilot [BETA]",
"remixUiTabs.tooltipText7": "Disable Remix AI Copilot [BETA]",
- "remixUiTabs.tooltipText8": "Remix AI Tools Documentation [BETA]",
+ "remixUiTabs.tooltipText8": "Remix AI Tools Documentation",
+ "remixUiTabs.tooltipTextDisabledCopilot": "To use Remix AI Copilot, choose a .sol file",
"remixUiTabs.zoomOut": "Zoom out",
"remixUiTabs.zoomIn": "Zoom in"
}
diff --git a/libs/remix-ui/settings/src/lib/remix-ui-settings.tsx b/libs/remix-ui/settings/src/lib/remix-ui-settings.tsx
index a4afd0b1527..9bc6e94b476 100644
--- a/libs/remix-ui/settings/src/lib/remix-ui-settings.tsx
+++ b/libs/remix-ui/settings/src/lib/remix-ui-settings.tsx
@@ -1,5 +1,7 @@
import { ViewPlugin } from '@remixproject/engine-web'
import React, {useState, useRef, useReducer, useEffect, useCallback} from 'react' // eslint-disable-line
+import { CustomTooltip } from '@remix-ui/helper'
+const _paq = (window._paq = window._paq || [])
import { AppModal, AlertModal, ModalTypes } from '@remix-ui/app'
import { labels, textDark, textSecondary } from './constants'
@@ -450,9 +452,23 @@ export const RemixUiSettings = (props: RemixUiSettingsProps) => {
const copilotSettings = () => (
-
+
+ }>
+ {
+ window.open("https://remix-ide.readthedocs.io/en/latest/ai.html")
+ _paq.push(['trackEvent', 'ai', 'solcoder', 'documentation'])
+ }}
+ >
+
+
+
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 1a7d1d32da4..561d49f2de9 100644
--- a/libs/remix-ui/tabs/src/lib/remix-ui-tabs.tsx
+++ b/libs/remix-ui/tabs/src/lib/remix-ui-tabs.tsx
@@ -185,7 +185,7 @@ export const TabsUI = (props: TabsUIProps) => {
>
-
- {tabsState.currentExt === 'sol'? (
-
- ) : (
-
- )}
-
- }
- >
-
-
-
- { tabsState.currentExt === 'sol'? (
- !ai_switch ? (
-
- ) : ()
- ) : (
-
- )}
-
- }
- >
-
-
}>
-
props.onZoomIn()}>
-
+
+ }>
+ props.onZoomOut()}>
+
+ }>
+ props.onZoomIn()}>
+
+