feat: move the shared Salem/feedback launcher to the bottom-right#44
Merged
Conversation
Anchor the launcher pill, the Ask Salem panel, and the feedback SDK panel (placement: 'right') in the bottom-right corner. The bottom-left sidebar-footer lift (.overSidebar and its /docs pathname check) is removed — the right corner has no fixed docs chrome to clear. Reference docs updated to match. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
There was a problem hiding this comment.
Pull request overview
Moves the shared Ask Salem / Feedback launcher and its associated panels from the bottom-left to the bottom-right across the docs UI, aligning the widget placement with updated layout expectations.
Changes:
- Re-anchors the launcher pill and Ask Salem panel to
rightin CSS (and removes the now-unneeded “lift above docs sidebar footer” behavior). - Initializes the feedback widget panel with
placement: 'right'so it opens beside the shared launcher. - Updates reference docs to describe the new bottom-right shared launcher location.
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| lib/feedback-widget.ts | Switches feedback widget initialization to placement: 'right' to match the new launcher corner. |
| components/ask-salem.module.css | Moves fixed positioning for launcher + panel from left to right and removes sidebar-footer lift styling. |
| components/ask-salem.tsx | Removes /docs pathname-based lift logic and updates inline documentation to bottom-right. |
| content/docs/reference/ask-salem.mdx | Updates reference text to describe the shared launcher as bottom-right. |
| content/docs/reference/feedback-widget.mdx | Updates the “launcher: false” note to reflect bottom-right placement and placement: 'right'. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Moves the shared Ask Salem / Feedback launcher from the bottom-left to the bottom-right corner, per request.
components/ask-salem.module.css: launcher pill and Ask Salem panel anchorrightinstead ofleftlib/feedback-widget.ts: feedback SDK panel initialized withplacement: 'right'so it stays beside the launchercomponents/ask-salem.tsx: the.overSidebarlift and its/docspathname check are removed — their only purpose was clearing the docs sidebar footer, which is pinned bottom-left; the right corner has no fixed chromeask-salem.mdx,feedback-widget.mdx) updated to describe the new positionVerification
tsc --noEmitclean🤖 Generated with Claude Code