diff --git a/changelog.md b/changelog.md index 23bcf46..29e7aab 100644 --- a/changelog.md +++ b/changelog.md @@ -4,6 +4,18 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). +## [0.9.2] +### Notes +- **Previously configured plugs will be erased upon upgrade to account for new data structure.** + +### Added +- Button labeling. +- Button icons configurable via fontawesome class names found [here](http://fontawesome.io/3.2.1/cheatsheet/). +- Spinning icon while awaiting response from server. + +### Changed +- Improved settings layout, less clutter. + ## [0.9.1] - 2018-01-30 ### Notes - **Previously configured plugs will be erased upon upgrade to account for new data structure.** @@ -104,6 +116,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ### Added - Initial release. +[0.9.2]: https://github.com/jneilliii/OctoPrint-TPLinkSmartplug/tree/0.9.2 [0.9.1]: https://github.com/jneilliii/OctoPrint-TPLinkSmartplug/tree/0.9.1 [0.8.0]: https://github.com/jneilliii/OctoPrint-TPLinkSmartplug/tree/0.8.0 [0.7.3]: https://github.com/jneilliii/OctoPrint-TPLinkSmartplug/tree/0.7.3 diff --git a/octoprint_tplinksmartplug/static/js/tplinksmartplug.js b/octoprint_tplinksmartplug/static/js/tplinksmartplug.js index d733236..7314e49 100644 --- a/octoprint_tplinksmartplug/static/js/tplinksmartplug.js +++ b/octoprint_tplinksmartplug/static/js/tplinksmartplug.js @@ -66,7 +66,7 @@ $(function() { 'sysCmdOffDelay':ko.observable(0), 'currentState':ko.observable('unknown'), 'btnColor':ko.observable('#808080')}); - self.settings.settings.plugins.tplinksmartplug.arrSmartplugs.push(self.selectedPlug); + self.settings.settings.plugins.tplinksmartplug.arrSmartplugs.push(self.selectedPlug()); $("#TPLinkPlugEditor").modal("show"); } diff --git a/setup.py b/setup.py index 3851882..3449e9c 100644 --- a/setup.py +++ b/setup.py @@ -14,7 +14,7 @@ plugin_name = "OctoPrint-TPLinkSmartplug" # The plugin's version. Can be overwritten within OctoPrint's internal data via __plugin_version__ in the plugin module -plugin_version = "0.9.1" +plugin_version = "0.9.2" # The plugin's description. Can be overwritten within OctoPrint's internal data via __plugin_description__ in the plugin # module