-
-
Notifications
You must be signed in to change notification settings - Fork 11
Add toolbar with report-bug and copy-link actions #510
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
Conversation
✅ Deploy Preview for chimerical-trifle-8d3c21 ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
ybiquitous
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I appreciate that you have implemented my old request. Amazing! 👍🏼
This PR looks great overall to me, but I'd like to request a few minor improvements. I don't think they would block the merge. 😃
Co-authored-by: Masafumi Koba <[email protected]>
ybiquitous
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you. LGTM 👍🏼
|
@ybiquitous Thanks for the review. I've committed both suggestions.
No worries. I often find myself using the demo to either report bugs or reproduce issues, so the new actions make my life easier 😄 |
💯 definitely! |
Closes #423
A barebones implementation of the two toolbar actions mentioned in the issue.
It adds
<sd-toolbar>to the bottom of the app and places<sd-report>and<sd-copy-link>within it.<sd-report>appends four bits of query data to the base "report a bug" link:reproduce-bug= style codestylelint-configuration= config codestylelint-run= demo URL as linkstylelint-version= installed deps<sd-copy-link>simply puts the current URL into the clipboardCode is wrapped in appropriate markdown code fences.
Example template:
I've tried to match the patterns from the existing components as much as possible. Although, as I mentioned in an earlier issue, I'm not very familiar with the codebase and may have missed something.