Skip to content

fix(docs): disable Algolia Ask AI side panel to stop cookie widget overlap - #1218

Merged
msluszniak merged 1 commit into
mainfrom
@ms/docs-disable-askai-sidepanel
Jun 8, 2026
Merged

fix(docs): disable Algolia Ask AI side panel to stop cookie widget overlap#1218
msluszniak merged 1 commit into
mainfrom
@ms/docs-disable-askai-sidepanel

Conversation

@msluszniak

@msluszniak msluszniak commented Jun 2, 2026

Copy link
Copy Markdown
Member

Description

The floating Algolia "Ask AI" launcher (.DocSearch-SidepanelButton.floating) is pinned to the bottom-right corner, where it overlaps the GTM-injected cookie-consent widget. This sets customFields.algolia.enableSidePanel: false, which removes the redundant floating button. Ask AI is still reachable from inside the search modal, so no functionality is lost.

Introduces a breaking change?

  • Yes
  • No

Type of change

  • Bug fix (change which fixes an issue)
  • New feature (change which adds functionality)
  • Documentation update (improves or adds clarity to existing documentation)
  • Other (chores, tests, code style improvements etc.)

Tested on

  • iOS
  • Android

Testing instructions

  1. cd docs && yarn build && yarn serve (or run the deployed site, since the cookie widget only loads via GTM there).
  2. Confirm the bottom-right corner no longer shows the floating Ask AI button overlapping the cookie-consent widget.
  3. Open search (⌘K) and confirm Ask AI is still available from within the modal.

Screenshots

image

Related issues

Checklist

  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • I have updated the documentation accordingly
  • My changes generate no new warnings

Additional notes

The cookie-consent widget is injected at runtime via the GTM container and is org-level, so the fix is applied on the Algolia side.

…erlap

The floating Ask AI launcher (.DocSearch-SidepanelButton.floating) is
pinned to the bottom-right corner, where it overlaps the GTM-injected
cookie-consent widget. Disabling the side panel removes the redundant
floating button; Ask AI remains available inside the search modal.
@msluszniak msluszniak self-assigned this Jun 2, 2026
@msluszniak msluszniak added the documentation Improvements or additions to documentation label Jun 2, 2026
@msluszniak
msluszniak requested a review from mateuszlampert June 2, 2026 17:57
@msluszniak
msluszniak merged commit 04f121a into main Jun 8, 2026
3 checks passed
@msluszniak
msluszniak deleted the @ms/docs-disable-askai-sidepanel branch June 8, 2026 09:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants