Commit Graph

4 Commits

Author SHA1 Message Date
steveoh
b8802f8707 Interactive Gulp task for incident creation (#34)
* Add inquirer to get some prompts

* Create some questions

Refs #16

* Add tomljs to read config for choices

* Kebab-case the input file name

* Fix listing errors

* Lint all relevant js files

* Add new incident npm script

* Set as default so out of the box this just works

* refactor out args that are used everywhere

* Add inquirer validation

* Handle inquirer answers

* Create toml from answers

* Fix linting

* Treat title and file name separately

This allows for Hugo new to work and enhances the gulp task but breaks
TranslationBaseName e.g.: `post` for `post.es.md` (if `Multilingual` is
enabled.) which I’m not sure is enabled by default.

* add comment to replace

* update new issue creation

* fix spelling
2017-09-11 17:10:31 -07:00
David Calavera
2fda8d46ee
Use UTC dates to count the days without incidents.
Ignore times to count in fixed 24h intervals.

Signed-off-by: David Calavera <david.calavera@gmail.com>
2016-11-23 08:26:16 -08:00
David Calavera
b961f390e8
Show 1 day since when there was an incident yesterday.
Signed-off-by: David Calavera <david.calavera@gmail.com>
2016-11-21 17:49:55 -08:00
David Calavera
0143a64735
🌅
Signed-off-by: David Calavera <david.calavera@gmail.com>
2016-11-21 15:33:10 -08:00