Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DOC-843 Display the example title in the dropdown #234

Merged
merged 1 commit into from
Dec 9, 2024
Merged

Conversation

JakeSCahill
Copy link
Contributor

This PR updates the Bloblang playground to reflect the restored input/mapping in the example dropdown. It also improves the user experience by migrating from localStorage to sessionStorage, ensuring the playground state resets with each browser session. This change aligns with the playground's purpose as a temporary, experiment-focused tool.

  • Updates logic to match the restored input and mapping with the dropdown options using the Choices.js API.

  • Replaces all localStorage calls with sessionStorage to reset the state with each browser session.

  • Ensures that when no saved state exists, the default "Array processing" sample is selected and loaded into the editor and dropdown.

Copy link

netlify bot commented Dec 9, 2024

Deploy Preview for docs-ui ready!

Name Link
🔨 Latest commit f8a5663
🔍 Latest deploy log https://app.netlify.com/sites/docs-ui/deploys/6756bb71c8c61500089419cc
😎 Deploy Preview https://deploy-preview-234--docs-ui.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@JakeSCahill JakeSCahill merged commit 2b0991e into main Dec 9, 2024
6 checks passed
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