feat: [sc-125395] Add QOSS survey toast coach mark to Sphinx themes (XST + PST) - #117
Draft
derekokelly-rgb wants to merge 4 commits into
Draft
feat: [sc-125395] Add QOSS survey toast coach mark to Sphinx themes (XST + PST)#117derekokelly-rgb wants to merge 4 commits into
derekokelly-rgb wants to merge 4 commits into
Conversation
Co-authored-by: Cursor <cursoragent@cursor.com>
Contributor
|
Hello. You may have forgotten to update the changelog!
|
derekokelly-rgb
requested review from
ashishks0522,
Copilot,
jontoye and
koeunhh
July 28, 2026 19:55
derekokelly-rgb
marked this pull request as ready for review
July 28, 2026 19:55
There was a problem hiding this comment.
Pull request overview
Adds an optional, dismissible “toast” coach mark to the Xanadu Sphinx theme, intended to show a short prompt near the top of the page after a configurable delay (and only once per browser session).
Changes:
- Introduces new theme options (
coach_mark_enabled,coach_mark_toast) and documents their usage. - Adds a new
coach_mark.htmltemplate included fromlayout.html, plus JS logic to show/dismiss/track the toast. - Adds CSS for the toast layout, styling, and entrance animation (with reduced-motion support).
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| xanadu_sphinx_theme/theme.conf | Adds new theme configuration knobs for enabling and configuring the coach mark toast. |
| xanadu_sphinx_theme/static/xanadu.css_t | Adds styling and animations for the CoachMark toast component. |
| xanadu_sphinx_theme/layout.html | Includes the new coach mark template and adds JS to position/show/dismiss/track the toast. |
| xanadu_sphinx_theme/coach_mark.html | Adds the toast HTML template rendered conditionally based on theme options. |
| README.rst | Documents the new configuration options and expected data shape. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
derekokelly-rgb
marked this pull request as draft
July 30, 2026 15:29
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.
Story details: https://app.shortcut.com/xanaduai/story/125395