diff --git a/Changelog.md b/Changelog.md index b3333a5..d2f03c7 100644 --- a/Changelog.md +++ b/Changelog.md @@ -3,6 +3,7 @@ ## v0.3.0 - 1st February 2019 - Installed a library to fix bugs in the device marker tabbing system - Add _rudimentary_ mobile device support. Note that this is not a priority until the design of the interface for desktop has been worked out. + - Add "report bug" button ## v0.2.0 - 26th January 2019 The first entry! diff --git a/client_src/js/UI.mjs b/client_src/js/UI.mjs index 2d44918..b722274 100644 --- a/client_src/js/UI.mjs +++ b/client_src/js/UI.mjs @@ -44,6 +44,13 @@ class UI { this.map_manager.heatmap.update_reading_type(new_type); }).bind(this) }, + { + type: "button", + name: "Report bug", + callback: ((_event) => { + window.open("https://github.com/ConnectedHumber/Air-Quality-Web/issues/new", "_blank"); + }) + }, { type: "button", name: `${Config.version}, built ${Config.build_date.toDateString()}`,