16022 Commits

Author SHA1 Message Date
c727
5f5ac3834d Hassio rename advanced2 (#910)
* Change advanced to system

* Change advanced to system
2018-02-24 08:20:24 +01:00
c727
cdd4cabb4b Hassio, use CSS vars to avoid conflicts with themes (#918)
* Hassio, use CSS vars to avoid conflicts with themes

* More
2018-02-23 15:07:09 -08:00
c727
b47c5beacf
Hassio remove TZ hack (#915) 2018-02-23 18:18:27 +01:00
c727
0ffb31999e
Hass.io switch to tab navigation (#879)
* Hass.io switch to tab navigation

* Fixes

* Changes based on feedback

* Fix main

* move header back to main

* Remove space

* Navigation as suggested, replaced iron-pages
2018-02-23 01:26:29 +01:00
Paulus Schoutsen
c149ac735a Version bump to 20180221.1 2018-02-21 12:40:51 -08:00
Paulus Schoutsen
bb946d9eec
Clean up cloud routing (#909)
* Clean up cloud routing

* Lint
2018-02-21 11:48:28 -08:00
Andrey
ea57e71c8b Optionally use Intersection Observer to late-load cards (#906) 2018-02-21 00:00:52 -08:00
Paulus Schoutsen
346022c48e Version bump to 20180221.0 2018-02-20 17:54:33 -08:00
Paulus Schoutsen
0a070a3fda
Nav fixes (#908)
* Fail if script is not editable

* Fix config nav
2018-02-20 17:53:35 -08:00
Paulus Schoutsen
24c9dd0472 Version bump to 20180220.0 2018-02-20 09:07:37 -08:00
Paulus Schoutsen
9f27f75397 Upgrade chartjs timeline to 0.1.4 2018-02-20 09:05:15 -08:00
Paulus Schoutsen
35c8c70783
Lazy load iron page entries in config panel (#903) 2018-02-20 09:03:09 -08:00
Paulus Schoutsen
6a5de599df
Change valueMin and Max props (#905) 2018-02-19 21:47:23 -08:00
Tabakhase
72a0b3520d Bring back zoom in charts using chartjs-plugin-zoom (#890)
* add chartjs-plugin-zoom + hammerjs

* adds a "unzoom" button for chartjs-plugin-zoom

* limits chartjs zoom and pan area by scanning all axis
2018-02-18 08:12:30 -08:00
Adam Mills
7acab579b4 Use new lokalise builtin unzip for download (#900) 2018-02-17 19:49:14 -08:00
Paulus Schoutsen
9de71db3cb Version bump to 20180216.0 2018-02-16 15:05:48 -08:00
Paulus Schoutsen
f3c3bb8c43
Config panel for Config Entries (#861)
* Initial implementation

* Update UI

* Update

* Address comments

* More comments

* Lint
2018-02-16 14:36:11 -08:00
Nash Kaminski
012e0981f2 [Bug] Do not overwrite the content of JSONTextField while the user is editing such (#895)
* Do not overwrite the context of JSONTextField while the user is editing such

* Style changes

* Handle case where valid JSON could potentially be overwritten.
2018-02-16 10:40:46 -08:00
Otto Winter
83e34f3f95 Fix template panel link (#898) 2018-02-16 09:20:43 -08:00
Paulus Schoutsen
f83a9d7339
Dev dependencies (#897)
* Upgrade eslint

* Upgrade rollup

* Upgrade mocha

* Upgrade gulp

* Upgrade more gulp

* Upgrade frontend stuff
2018-02-16 09:03:13 -08:00
Paulus Schoutsen
5731c1fa28
Load the chart resources in dev too (#896)
When switching to always loading the resources on demand, I forgot to change the default value to be always false instead of dev. This caused the charts not to load in dev.
2018-02-15 21:38:44 -08:00
Paulus Schoutsen
7860133709
Revert deps upgrade (#892) 2018-02-15 12:32:18 -08:00
Marius
1783696ecb more-info-climate.html use supported_features (#849)
* Added supported features for controls

* Improved supported features

* Removed lines resulted from rebase

* Fixed lint and review

* Added more supported_features and fixed fan mode bug
2018-02-13 23:20:11 -08:00
c727
10c07673c1 Fix mark items as (un)complete in shopping list (#887)
* Fix mark items as (un)complete in shopping list

Fix: #885

* Update ha-panel-shopping-list.html
2018-02-12 21:09:16 -08:00
Paulus Schoutsen
e2ff04e40b Lint 2018-02-11 10:31:12 -08:00
Paulus Schoutsen
932d8afbed Version bump to 20180211.0 2018-02-11 09:44:48 -08:00
Paulus Schoutsen
1cf18a34b8 Update dependencies 2018-02-11 09:44:28 -08:00
Paulus Schoutsen
7f461defc1
Improve UX template editor (#878)
* Improve UX template editor

* Address comments
2018-02-11 09:42:52 -08:00
Paulus Schoutsen
4c5d85746c
Fingerprint charts (#883)
* Fingerprint charts URL

* cache in service worker
2018-02-11 09:01:17 -08:00
Boyi C
b6ad4edd32 Fix missing arguments in history-data. (#880) 2018-02-10 10:08:04 +02:00
Boyi C
c6030e6edc Replace Google Charts with Chart.js (#429)
* chartjs test

* [WIP] Modified for Chart.js

* Tweaking styles ( tooltips and lines )

* Almost done
TODO:
Change tooltips to HTML tag
Improve color function

* More work on Tooltips

* Improve update logic
Fix linting

* resolve conflict

* [WIP]
Create new tooltip mode hack.
Add axis padding to top and botton to prevent axis cutoff

* TODO: cleanup

* FIXME: tooltip in history graph not working correctly
reorganize some code

* fix build problem

* Fix color and tooltip issue
Fix label max width for timeline chart

* update dep

* Fix strange color after build due to `uglify` bug with reference the minified version.
Make line chart behavior more similar to Google Charts.
Make the chart honor to `unknown` and other state by manually calculate point value.

* fix bugs

* Remove label for only one data in timeline chart.
Fix bug for infinite loop in some cases

* Add HTML legend to chart.

* Fix isSingleDevice bug due to calculation.
Add isSingleDevice property support.

* fix for lint

* Replace innerHTML code with polymer node.

* Replace tooltip with HTML code

* fix tooltip style

* move default tooltip mode to plugin

* LINTING

* fix
Move localize history data to Timeline Chart.
Fix timeline static color.
Rework on chart resize.

* Bug fix:
Chart may disappear on some case.
Timeline chart calculation issue.
Change timeline chart hidden logic.

* fix tooltip
rework for resize event

* lint

* element

* Replace `var` to `let`.
Move import and ChartJs injection code to `ha-chart-scripts.html`.

* lint: convert more let to const

* fix font
fix undef

* update bower.json

* move

* Load chart code on demand
2018-02-09 22:39:15 -08:00
Paulus Schoutsen
500edbad0d Version bump to 20180209.0 2018-02-09 14:32:17 -08:00
Abílio Costa
3701e022bc Badge sorting (#844)
* sort badges correctly in user-defined group

* rename sorting list that is used for badges and groups

* remove trailing space

* better array iteration

* Revert "better array iteration"

This reverts commit 0a87b3350cf2bd60450e3d2985c7449efe73c18d.

* simplify sorting of badges
2018-02-09 14:30:35 -08:00
Paulus Schoutsen
be3f35c8cd Update translations 2018-02-09 14:28:21 -08:00
c727
81c49628e4
Hass.io card design for dashboard updateinfo (#877)
* Hass.io card design for dashboard updateinfo

* Remove test stuff
2018-02-09 22:49:17 +01:00
c727
ac628787ac
Hass.io improve store (#875)
* Hass.io improve store

* Improve code
2018-02-09 22:48:58 +01:00
c727
6ce72444ae
Hass.io improved snapshot view (#872)
* HASSIO Improved snapshot view

* HASSIO Improved snapshot view2

* Update main

* Feedback

* Travis

* Travis 2
2018-02-08 22:16:13 +01:00
c727
710c2f1094
Hass.io improved add-on view (#874)
* Rename

* Improvements

* Travis

* Feedback

* Typo
2018-02-08 22:15:51 +01:00
Steltek
1f703fbdda Make the password field autofocus on the login screen. (#862)
* Author:    Michel Meyers <debian@tcnnet.com>
Committer: Michel Meyers <debian@tcnnet.com>

Make the password field autofocus on the login screen.

* Update login-form.html
2018-02-07 16:39:50 -08:00
Marius
76153d1e17 Fixing #775 (#854) 2018-02-07 15:21:07 -08:00
Marius
ec930d2c56 HASSIO Improved addon view (#869)
* Improved addon view
Moved files to avoid conflicts with @c727
Modified data to addons
Removed unused properties
Removed blank line and unused class
Added link to polymer-element
Redone grouping

* Changes based on feedback

* Revert flex box

Maybe someone else can help to center the icon and text

* Display timestamp in new line

* Update hassio-card-content.html
2018-02-07 22:57:43 +01:00
cdce8p
9e09d5b095 ZWave Node Management - Show hidden nodes (#864) 2018-02-07 20:41:45 +02:00
Victor Cerutti
6ad0c254b5 Fix resizeObserver loop #12192 (#867)
When the slider width is updated, resizeObserver prevent for firing the function another time.
Exemple: https://jsfiddle.net/ba1ad26e/11/
Compete doc: https://wicg.github.io/ResizeObserver/#html-event-loop
Solution: Observe the width change of the card instead of the slider. If the state value is hidden/displayed, it won't change again the slider width and so it will prevent the msg in the log
Drawback: the function cannot use the width sent by the resizeObserver anymore as it's no longer the slider width but the card width
2018-02-05 22:31:00 -08:00
c727
a6340fb856 Fix themes for Hass.io Panel (#860)
* Fix themes for Hass.io Panel

* Link hass-util
2018-02-02 17:20:31 -08:00
Andrey
21ee9b297d Switch to babel env preset (#859) 2018-02-01 16:18:47 -08:00
Andrey
da807dc508 Add Object.values polyfill (#858) 2018-02-01 16:16:53 -08:00
Daniel Høyer Iversen
384d5fc8a9 Remove duplicate call to getDataArray (#853) 2018-01-31 20:14:19 +02:00
Paulus Schoutsen
fcea1fa57d Version bump to 20180130.0 2018-01-29 15:42:21 -08:00
Paulus Schoutsen
4f99bd6811 Update translations 2018-01-29 15:41:25 -08:00
Andrey
0256f73404 Pass language to charts and fix JS error (#847) 2018-01-29 00:28:03 -08:00