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:
Shahed Nasser
2025-01-29 19:13:51 +02:00
committed by GitHub
parent 51d2960a57
commit 5634a4762b
57 changed files with 1571 additions and 743 deletions

View File

@@ -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>

View File

@@ -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"
/>
)}

View File

@@ -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>
)
}