A big part of our service is to have users take part in the triage process by letting them answers questions about their problems and symptoms. This can be done in many ways, and we will try to craft a simplistic solution for this.
Create an implementation that runs in a browser, using React(?).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# MIT © Sindre Sorhus - sindresorhus.com | |
# git hook to run a command after `git pull` if a specified file was changed | |
# Run `chmod +x post-merge` to make it executable then put it into `.git/hooks/`. | |
changed_files="$(git diff-tree -r --name-only --no-commit-id ORIG_HEAD HEAD)" | |
check_run() { | |
echo "Checking for changes in $1" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Welcome! require() some modules from npm (like you were using browserify) | |
// and then hit Run Code to run your code on the right side. | |
// Modules get downloaded from browserify-cdn and bundled in your browser. | |
var UrlPattern = require('url-pattern'); | |
guidesPattern = new UrlPattern('/guides/:id*'); | |
console.log(guidesPattern.match()); | |
console.log(guidesPattern.match('')); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "JSSnippets", | |
"description": "Code snippets for JavaScript", | |
"version": "1.0.0", | |
"displayName": "JavaScript code snippets", | |
"publisher": "Hmps", | |
"icon": "images/javascript.png", | |
"license": "MIT", | |
"repository": { | |
"type": "git", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Place your settings in this file to overwrite the default settings | |
{ | |
"editor.fontFamily": "Fira Mono for Powerline", | |
"editor.fontSize": "14px", | |
"editor.tabSize": 2, | |
"editor.snippetSuggestions": "top", | |
"editor.tabCompletion": true, | |
"editor.formatOnSave": true, | |
"editor.lineNumbers": "relative", | |
"editor.renderIndentGuides": true, |