Skip to content

feat: support playground saving with partial content#277

Merged
smeijer merged 1 commit intodevelopfrom
feature/support-partial-content
Oct 9, 2020
Merged

feat: support playground saving with partial content#277
smeijer merged 1 commit intodevelopfrom
feature/support-partial-content

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