changes to aisection

pull/4960/head
Joseph Izang 4 months ago
parent 5726a1ca09
commit 692abe6a08
  1. 1
      libs/remix-ui/statusbar/src/css/statusbar.css
  2. 8
      libs/remix-ui/statusbar/src/lib/components/aiStatus.tsx

@ -16,6 +16,7 @@
.remixui_statusbar_aistatusdisabled {
text-decoration: line-through;
text-decoration-thickness: 3px;
}
/**

@ -33,12 +33,12 @@ export default function AIStatus(props: AIStatusProps) {
}, [props.plugin.isAiActive])
return (
<CustomTooltip
tooltipText={copilotActive ? "Remix Copilot activated" : "Remix Copilot disabled."}
tooltipText={copilotActive ? "Remix Copilot activated" : "Remix Copilot disabled. To activate copilot, open a .sol file and toggle the ai switch at the top of the Ide"}
>
<div className="d-flex flex-row pr-2 text-white justify-content-center align-items-center remixui_statusbar_aistatus">
<span className={copilotActive === false ? "fa-regular fa-microchip-ai ml-1 text-white remixui_statusbar_aistatusdisabled" : "fa-regular fa-microchip-ai ml-1"}></span>
<div className="d-flex flex-row pr-2 text-white justify-content-center align-items-center">
<span className={copilotActive === false ? "fa-regular fa-microchip-ai fa-xl ml-1 text-white remixui_statusbar_aistatusdisabled" : "fa-regular fa-microchip-ai fa-xl ml-1 text-white"}></span>
<span className={copilotActive === false ? "small mx-1 text-white semi-bold" : "small mx-1 semi-bold" }>
{copilotActive === false ? 'Remix Copilot is disabled' : ''}
{copilotActive === false ? '' : ''}
</span>
</div>
</CustomTooltip>

Loading…
Cancel
Save