Skip to content

feat(playground): add light mode toggle and announcement toast#1250

Merged
jderochervlk merged 8 commits intomasterfrom
vlk/playground-light-mode
Apr 16, 2026
Merged

feat(playground): add light mode toggle and announcement toast#1250
jderochervlk merged 8 commits intomasterfrom
vlk/playground-light-mode

Conversation

@jderochervlk
Copy link
Copy Markdown
Collaborator

@jderochervlk jderochervlk commented Apr 16, 2026

Note

This was done by AI, but I have reviewed the code and understand the changes

  • Add a dark/light playground theme with default dark and persisted theme selection.
  • Wire runtime CodeMirror theme reconfiguration, theme-aware JS output highlighting, and settings controls.
  • Add a new light-mode toast with dismiss and try-it-now actions, auto-hide timeout, and session-based seen tracking.

Toast

image

Light mode

image

Add a dark/light playground theme with default dark and persisted theme selection.

Wire runtime CodeMirror theme reconfiguration, theme-aware JS output highlighting, and settings controls.

Add a new light-mode toast with dismiss and try-it-now actions, auto-hide timeout, and session-based seen tracking.
jderochervlk and others added 2 commits April 16, 2026 07:44
Improve light-mode readability for the Auto-run control and center divider styling.

Add Cypress coverage for toast-driven light mode switch and switching back to dark in settings.

Co-authored-by: Codex <codex@openai.com>
@jderochervlk
Copy link
Copy Markdown
Collaborator Author

@codex

chatgpt-codex-connector[bot]

This comment was marked as outdated.

@github-actions
Copy link
Copy Markdown

Cloudflare deployment

Deployement ID: 779aee5d-2ea6-4de0-a528-85f7a9cb2b00
Deployment Environment: preview

⛅️ wrangler 4.63.0 (update available 4.83.0)
─────────────────────────────────────────────
✨ Compiled Worker successfully
Uploading... (7395/7847)
Uploading... (7546/7847)
Uploading... (7697/7847)
Uploading... (7847/7847)
✨ Success! Uploaded 452 files (7395 already uploaded) (3.85 sec)

✨ Uploading _redirects
✨ Uploading Functions bundle
🌎 Deploying...
✨ Deployment complete! Take a peek over at https://779aee5d.rescript-lang.pages.dev
✨ Deployment alias URL: https://vlk-playground-light-mode.rescript-lang.pages.dev

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 91b6774fd6

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread cypress/support/e2e.js
@jderochervlk jderochervlk merged commit 3b0d4b6 into master Apr 16, 2026
6 checks passed
@jderochervlk jderochervlk deleted the vlk/playground-light-mode branch April 16, 2026 15:16
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.

2 participants