Skip to content

feat: support playground saving with partial content #277

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

Merged
merged 1 commit into from
Oct 9, 2020

Conversation

smeijer
Copy link
Member

@smeijer smeijer commented Oct 9, 2020

What:
Support saving markup-only playgrounds (without query).

Why:
Sometimes people don't know what query to use. To get feedback on based on their markup alone, it would be nice to be able to save a playground without queries. This also allows for easy third party integrations.

How:
Before posting the data to github, we now set the query to // your query and the markup to <!-- your markup --> if they aren't provided. I've tried just submitting some whitespace or newlines. But GitHub ain't easy to fool.

Checklist:

  • Tests
  • Ready to be merged

@smeijer smeijer added the feature New feature or request label Oct 9, 2020
@smeijer smeijer self-assigned this Oct 9, 2020
@smeijer smeijer merged commit a299a44 into develop Oct 9, 2020
@smeijer smeijer deleted the feature/support-partial-content branch October 9, 2020 10:02
@smeijer smeijer changed the title feat: support saving with partial content feat: support playground saving with partial content Oct 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant