docs: improve AI Assistant (#11208)
* initial implementation * integrate new ai assistant in other projects + ux improvements * fix chat window on mobile devices * fixes to mobile * allow pre * change shortcut to i * improved responsiveness * align version in navbar
This commit is contained in:
@@ -36,7 +36,7 @@ const TagOperationCodeSection = ({
|
||||
>
|
||||
<div className={clsx("flex w-[calc(100%-36px)] gap-1")}>
|
||||
<MethodLabel method={method} className="h-fit" />
|
||||
<code className="text-medusa-fg-subtle =break-words break-all">
|
||||
<code className="text-medusa-fg-base =break-words break-all">
|
||||
{endpointPath}
|
||||
</code>
|
||||
</div>
|
||||
|
||||
@@ -53,7 +53,7 @@ const TagsOperationDescriptionSection = ({
|
||||
{operation["x-featureFlag"] && (
|
||||
<FeatureFlagNotice
|
||||
featureFlag={operation["x-featureFlag"]}
|
||||
tooltipTextClassName="font-normal text-medusa-fg-subtle"
|
||||
tooltipTextClassName="font-normal text-medusa-fg-base"
|
||||
badgeClassName="ml-0.5"
|
||||
/>
|
||||
)}
|
||||
|
||||
@@ -16,7 +16,7 @@ const VersionSwitcher = () => {
|
||||
location.href = process.env.NEXT_PUBLIC_API_V1_URL + pathname
|
||||
}}
|
||||
/>
|
||||
<span className={clsx("text-medusa-fg-subtle")}>V2</span>
|
||||
<span className={clsx("text-medusa-fg-base")}>V2</span>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user