docs(ui): hide the floating assistant chat launcher - #174
Conversation
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Automations to automatically generate PRs for you. |
|
Series (Docs 3.0 QA round 2, splitting #170 — all six are independent and merge in any order): #171 alignment · #172 header tabs · #173 footer · #174 chat launcher · #175 World Tech links · #176 sidebar selected state. Screenshots live on the assets-only branch |
Docs 3.0 QA: 'Remove the chat window, since we already have it in the header.' On the hosted site the assistant renders a sticky 'Ask a question' bar at the bottom of every docs page (div[data-assistant-bar]); local mint dev renders a draggable floating launcher instead. Hide both via CSS (neither has a docs.json toggle). The assistant stays reachable from the header (Ask Assistant / ⌘I), which still opens the docked panel.
b5a2a54 to
4cdc90e
Compare
|
Heads-up: the first version of this PR only hid the floating launcher that local dev renders — on production the assistant shows up as the sticky "Ask a question…" bar instead, which is the actual chat window from the QA note. The commit now hides both ( |
Takaros999
left a comment
There was a problem hiding this comment.
Reviewed the current diff, surrounding source, checks, and hosted preview. No blocking findings. Preview verification was per PR; the combined merged layout was not tested.
Part of the Docs 3.0 QA round 2 series (splitting #170 into reviewable pieces — this PR is independent and can merge in any order).
Change
"Remove the chat window, since we already have it in the header." The chat window on the hosted site is the sticky "Ask a question…" bar docked at the bottom of every docs page (
div[data-assistant-bar]) — it overlays the content while reading. Localmint devrenders the same assistant as a draggable floating launcher (bottom-left bubble) instead. This PR hides both with two scoped CSS rules — neither has a docs.json toggle.The assistant itself is untouched: the header's Ask Assistant (⌘I) entry still opens the docked assistant panel (verified on production with this exact rule injected).
Docs page on production — bottom of the viewport while reading
Before (the bar floats over the content):
After (same page with this PR's CSS applied):
Local dev — the same feature's floating launcher, also hidden
Before:
After: