Open ybiquitous opened 2 months ago
SGTM. The query parameter is a nice touch.
Like the Prettier playground, a button in the bottom right would work. It may also be worth including a "Copy URL" button, as it feels like a related piece of functionality and would flesh out the footer.
Surely the Copy URL button should be helpful. Let's add them. 👍🏼
What is the problem you're trying to solve?
I want users to submit a bug report more easily with this demo site.
What solution would you like to see?
This idea is inspired by the Report issue button on Prettier Playground:
I think this should also be helpful on this demo site. The
stylelint-run
query parameter when opening an issue in thestylelint/stylelint
repository is available to achieve this.For example, click this link. The link to the demo site will be embedded into the issue form automatically like this:
See also for the
stylelint-run
parameter: https://github.com/stylelint/stylelint/blob/53b342ff85c95ec7849ed0cdb973421944fdcf44/.github/ISSUE_TEMPLATE/REPORT_A_BUG.yml?plain=1#L50EDIT: This issue will also add a button to copy a demo site URL. E.g.