Skip to content

playground updates - #6806

Merged
dks333 merged 6 commits into
mainfrom
sam/playground-updates
Jul 29, 2026
Merged

playground updates#6806
dks333 merged 6 commits into
mainfrom
sam/playground-updates

Conversation

@dks333

@dks333 dks333 commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

Documentation changes

CleanShot 2026-07-29 at 11 26 32@2x

Brief description of what's being updated

Closes


For Reviewers

When reviewing documentation PRs, please consider:

✅ Technical accuracy

  • Code examples work as written
  • Commands and configurations are correct
  • Links resolve to the right destinations
  • Prerequisites and requirements are accurate

✅ Clarity and completeness

  • Instructions are clear and easy to follow
  • Steps are in logical order
  • Nothing important is missing
  • Examples help illustrate the concepts

✅ User experience

  • A new user could follow these docs successfully
  • Common gotchas or edge cases are addressed
  • Error messages or troubleshooting guidance is helpful

Note

Low Risk
Docs-site-only UI and preview iframe URL changes; no auth, API, or customer embed runtime changes beyond how the docs page loads the preview.

Overview
Redesigns the assistant widget playground on the widget docs pages (en/es/fr/zh): a centered 720px frame with live iframe preview, Customize panel (variant, corner radius presets, accent picker, trigger alignment/placement, hook toggles), and a preview-only light/dark toggle. Generated install snippets always use theme: 'system'; theme is no longer a customizer field.

Replaces the old two-column sticky preview and Tailwind-heavy controls with dedicated playground.css (light/dark tokens, toolbar, custom listbox selects, mobile behavior when the customizer is open).

Preview hosting: iframe loads {basePath}/assistant/widget-preview?mode=… instead of /_minimal{locale}/assistant/widget-preview. Widget MDX passes CustomizeIconComponent and ThemeIconComponent; preview-host comments updated to match.

Behavior tweaks: SIDE_OPTIONS labels map to the opposite widget API side edge; default accent/radius updated; accessible custom selects and accent color commit on native change.

Reviewed by Cursor Bugbot for commit b793fbd. Bugbot is set up for automated code reviews on this repo. Configure here.

Comment thread snippets/assistant-widget-playground.jsx Outdated
Comment thread snippets/assistant-widget-playground.jsx
Comment thread snippets/assistant-widget-playground.jsx
@mintlify

mintlify Bot commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
mintlify 🟢 Ready View Preview Jul 29, 2026, 6:30 PM

Copy link
Copy Markdown
Contributor

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
tomee 🟢 Ready View Preview Jul 29, 2026, 6:30 PM

💡 Tip: Enable Workflows to automatically generate PRs for you.

Comment thread assistant/widget.mdx
Comment thread playground.css

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.

There are 2 total unresolved issues (including 1 from previous review).

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit b793fbd. Configure here.

Comment thread playground.css
@dks333
dks333 merged commit 2fd83e1 into main Jul 29, 2026
6 checks passed
@dks333
dks333 deleted the sam/playground-updates branch July 29, 2026 20:27
mintlify Bot added a commit that referenced this pull request Jul 29, 2026
ethanpalm added a commit that referenced this pull request Jul 30, 2026
Co-authored-by: mintlify[bot] <109931778+mintlify[bot]@users.noreply.github.com>
Co-authored-by: Ethan Palm <56270045+ethanpalm@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants