Commit Graph
100 Commits
Author SHA1 Message Date
Andrey ebc21aaa40 Disconnect unused more-info (#945) 2018-02-27 14:00:50 -08:00
Andrey ea57e71c8b Optionally use Intersection Observer to late-load cards (#906) 2018-02-21 00:00:52 -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
Andrey 0256f73404 Pass language to charts and fix JS error (#847) 2018-01-29 00:28:03 -08:00
Andrey a1b578f81e Report JS errors to backend (#842) 2018-01-27 11:50:13 -08:00
Andrey 13f8fa7e11 Add version to JS (#839)
* Add version to JS

* Throw if version wasn't found
2018-01-26 23:27:11 -08:00
Andrey 3c95559f33 Extract climate state into a separate component (#820) 2018-01-20 22:09:45 -08:00
Andrey 31d2b6ffe1 Disconnect dom in invisible tabs (#790)
* Clear dom in invisible tabs

* Disconnect DOM of inactive tabs
2018-01-20 21:47:04 -08:00
Andrey aced689207 History improvements (#817) 2018-01-20 21:45:53 -08:00
Andrey 8b8ba5875f Fix for browsers without SW (#805)
* Fix for browsers without SW

* Improve check
2018-01-17 17:10:15 -08:00
Andrey 6fd8ad52b0 Move horizontal padding from state-cards to containing entity-card (#799) 2018-01-14 20:48:37 -08:00
Andrey fbe44598ac Cleanup of partial-cards (#798) 2018-01-12 13:31:39 -08:00
Andrey 58b2a28fe5 Make sure climate more-info dropdowns are upto date (#797) 2018-01-11 22:50:47 -08:00
Andrey d6fd21521c Add on/off to climate more-info (#794) 2018-01-10 14:07:03 -08:00
Andrey 48b0857edb Make sure toggle is always up-to date (#783)
* Make sure toggle is always upto date

* Move logic to observer
2018-01-09 16:44:53 -08:00
Andrey c06be58a33 Fix possible JS error (#789) 2018-01-07 14:13:49 -08:00
Andrey 0b9bd62251 Update canToggleState with toggleable climate (#782) 2018-01-04 23:57:23 -08:00
Andrey 9e2396375e Fix history panel (#757) 2017-12-30 16:41:16 -08:00
Andrey cf4d867fa1 Fix sw urls caching (#739)
* Fix sw urls caching

* Remove navigateFallback

* Syntax fix
2017-12-23 14:29:55 -08:00
Andrey b16bc88eb5 Switch to Zopfli compression (#744)
* Switch to Zopfli compression

* Lint
2017-12-22 21:12:54 -08:00
Andrey 60ac82edc5 Another fix for app-header-layout (#738) 2017-12-22 21:07:46 -08:00
Andrey e202f08193 Charts fixes (#742) 2017-12-21 22:25:21 +02:00
Andrey 6b180988fd Make sure tap listener is added at most once. (#745)
* Make sure tap listener is added at most once.

* Add comment
2017-12-21 17:15:05 +02:00
Andrey 1aa1ac709d Fix climate chart with unavailable states (#737) 2017-12-18 08:38:58 +02:00
Andrey aa5ff72710 Don't use global event. It is unsupported in Chrome64 (#732) 2017-12-14 09:02:38 -08:00
Andrey baccd6fb88 Hide group header in case of empty name (#704) 2017-12-05 23:59:21 -08:00
Andrey 9b3448d44c Make full path check before using google.visualization (#716)
* Make full path check before using visualization

* Missing check
2017-12-05 22:54:53 -08:00
Andrey 9ae2325834 Convert toggle margin to padding (#715) 2017-12-05 22:54:20 -08:00
Andrey b092cdd04d Another dropdown-hidden-behind-header fix (#709) 2017-12-04 17:19:03 -08:00
Andrey 7cfa694980 Fix initialization error in script/automation editors. (#699) 2017-11-30 11:19:26 -08:00
Andrey 7d20d8fe71 Badge fixes (#694)
* Badge fixes

* Make sure label height is unchanged
2017-11-28 22:51:38 -08:00
Andrey 2cfda880ac Don't use file extend in hound .eslintrc. It is not supported. (#670)
* Don't use file extend in hound .eslintrc. It is not supported.

* Extend the other way around
2017-11-22 15:59:16 -08:00
Andrey 5a65fd7526 Add missig style (#653) 2017-11-19 10:41:39 -08:00
Andrey 415b0b127f Don't put functions in global scope (#640) 2017-11-17 10:27:56 -08:00
Andrey 1a71ee5af3 Prevent hound from running eslint on html files (#638) 2017-11-17 09:05:13 -08:00
Andrey 7db89d5bc2 Clean rollup (#634) 2017-11-16 21:19:29 -08:00
Andrey ef5155984f Use keys in state_badge::alarm_control_panel (#631) 2017-11-16 21:15:05 -08:00
Andrey 41e97a6f83 Clone app-header-layout (#632)
* Fix group more-info not updating

* Remove old observer

* Upgrade translate(0) hack
2017-11-15 17:12:09 -08:00
Andrey 675a7a3b86 Fix group more-info not updating (#622)
* Fix group more-info not updating

* Remove old observer
2017-11-13 08:29:47 -08:00
Andrey a4bcf062d5 Add missed mixin to ha-call-api-button (#620) 2017-11-13 08:28:28 -08:00
Andrey b7d2b2fcfd Remove src/translations/ from polymer build (only used in gulp). Remove unused zwave-node-options.html (#613) 2017-11-11 13:07:22 -08:00
Andrey adac8e55d7 Updates packages and clean gulp/ JS (#610) 2017-11-11 11:32:22 -08:00
Andrey 152df2297a Change serving of JS-version dependent files to frontend_es5 and frontend_latest (#608) 2017-11-10 21:44:03 -08:00
Andrey 583abedd34 Support serving ES6 JS to clients (#596)
* Support serving ES6 JS to clients

* Make es6 default dir and es5 a special dir

* Fix package building

* Fix build_frontend script
2017-11-10 09:05:37 -08:00
Andrey 798a2bbd34 Merge pull request #566 from andrey-git/caching
Fix rules for SW runtime file caching.
2017-11-05 21:57:54 +02:00
Andrey 0dc3bc7926 Update gen-service-worker.js 2017-11-05 21:51:30 +02:00
andrey-git 3025b6049f Update rules 2017-11-05 20:59:46 +02:00
andrey-git db9dc653e0 Remove stale comment 2017-11-05 19:55:55 +02:00
andrey-git 2596d2ba52 Change networkFirst to networkOnly 2017-11-05 19:38:39 +02:00
andrey-git 904c3db3ea Fix rules for SW file caching. 2017-11-05 19:26:27 +02:00
Andrey c3a6495eb1 Don't load mdi icons with JS - it doesn't do anything. (#546) 2017-11-03 20:36:00 -07:00
Andrey d2e9918f88 Allow passive events (#551) 2017-11-02 20:54:41 -07:00
Andrey f08c45f5b4 Merge pull request #547 from andrey-git/sw
Make / and other fallback paths runtime cachable instead of pre-cached.
2017-11-02 08:59:15 +02:00
andrey-git 085f46b753 Make / and other fallback paths runtime cachable instead of pre-cached. 2017-11-02 00:23:25 +02:00
Andrey 3e86ba1222 Use dynamic-align on all dropdowns (#542)
* Use dynamic-align on all dropdowns

* Replace tab with spaces
2017-10-30 17:48:30 -07:00
Andrey 7479aeceee Merge pull request #532 from andrey-git/translations
Make translation utils properly handle null selected language.
2017-10-30 19:24:05 +02:00
andrey-git 386193ee44 Fall back to english on missing fingerprint. 2017-10-30 19:03:38 +02:00
andrey-git e9d84d2a69 Only parse JSON once 2017-10-28 11:55:30 +03:00
Andrey 7e40cfef09 Fix languages and themes top selection being cut off (#531) 2017-10-27 22:12:16 -07:00
Andrey 17402a1976 Turn ha-cards.html into ES6 class (#533) 2017-10-27 22:05:08 -07:00
andrey-git 1a7fa6041e Revert "Fix languages and themes top selection being cut off"
This reverts commit 70544f51ed.
2017-10-27 23:26:12 +03:00
andrey-git 794c82b8ba Make translation utils properly handle null selected language. 2017-10-27 23:24:55 +03:00
andrey-git 70544f51ed Fix languages and themes top selection being cut off 2017-10-27 23:07:24 +03:00
Andrey 7bd7f14913 Call build from bootstrap. Allow nonfingerprinted mdi. (#476) 2017-10-26 20:26:38 -07:00
Andrey ed233364ec Fix media player card (#471) 2017-10-20 09:03:29 -07:00
Andrey bc0d44ca81 Upgrade eslint to 4.8.0 (#445)
* Upgrade eslint

* Fix post-merge errors
2017-10-08 21:08:06 -07:00
Andrey 29acf77eb5 Upgrade packages (#444) 2017-10-05 21:22:41 -07:00
Andrey b0791abb9a Add support for history_graph component (#432)
* Add support for history_graph component

* Change dev 3s to intended 60s

* Address comments

* Make card header consistent
2017-10-05 09:15:17 -07:00
Andrey acf853f713 Change color of state-badge icon according to rgb or brightness (#436)
* Change color of state-badge icon according to rgb or brightness

* Remove unneeded edit

* Set minimum brightness at 15%. Clear previous timeout
2017-09-26 22:48:12 -07:00
Andrey a46e6b4cfa Switch ha-label-badge to Polymer2 class and add two css variables (#430) 2017-09-21 15:58:21 -07:00
Andrey 73289bca6d Fix customize config panel on FF (#425) 2017-09-11 20:12:40 -07:00
Andrey 4e4b59d3d4 Fix icon mdi: prefix to use auto-validate. (#423) 2017-09-09 19:47:26 -07:00
Andrey 684ac8fe69 Fix boolean config value not propagating (#421) 2017-09-09 10:33:15 -07:00
Andrey 047c0005d9 Customize config improvements (#417)
* Switch customize panel to dom-if

* Customize config improvements
2017-09-04 07:55:04 -07:00
Andrey 5bdbc49dc2 Improvements for customize config panel (#415)
* Don't save empty json values. Allow per-domain attributes.

* Fix typo
2017-08-29 09:44:05 -07:00
Andrey 206f624fb6 No longer fetch customui element (#414) 2017-08-29 00:07:56 -07:00
Andrey 0508a6bf2e Add customization config panel (#413) 2017-08-28 08:04:21 -07:00
Andrey b211894a31 Improvements for zwave group config (#398)
* Improvements for zwave group config

* Apply ha-config-section
2017-08-26 09:58:50 -07:00
Andrey 4755b0438c Make sure graphs extend till the intended end time (#378) 2017-08-06 09:31:07 -07:00
Andrey f57e2334c8 Polymer2 fixes (#376)
* Set all attributes together.

* Revert "Set all attributes together."

This reverts commit 00fe75ce4b78c17481bac45db0536169695f1f91.

* Set all attributes together.

* Workaround for justified on Polymer2
2017-08-05 14:02:49 -07:00
Andrey ebc0c776e2 Add theme-choosing UI to config panel (#363)
* Add theme-choosing UI to config panel

* Add Backend-selected option

* Use Object.assign to change hass

* Fix #368 - support theme-color update.
2017-08-04 23:09:25 -07:00
Andrey 7c489e69bb Make tests pass (#374)
* wct misbehaves on hyphen casing on FF

* Upgrade web-component-tester to 6.0.0

* Update some bower packages to prevent conflicts

* Pin webcomponentsjs to 1.0.4
2017-08-04 22:56:52 -07:00
Andrey b57c86a29c Add JS support for device-local theme name (#358)
* Add JS support for device-local theme name

* Keep themes in hass object

* Make it actually work

* Move themes from home-assistant-main to home-assistant
2017-07-29 10:31:51 -07:00
Andrey 9fafdd4525 Allow customUI on 'unavailable' state too. (#357) 2017-07-25 20:58:32 -07:00
Andrey 8bd0ab22f5 Move hidden attributes to hassUtil (#351)
* Move hidden attributes to hassUtil so they are acessible by custom components.

* Rename to LOGIC_STATE_ATTRIBUTES
2017-07-24 07:58:12 -07:00
Andrey 2ea5cbcc88 Fix history showing extra points. (#350) 2017-07-23 23:22:55 -07:00
Andrey 4c14e51079 Properly sort config entities (#353) 2017-07-23 23:18:30 -07:00
Andrey 6c45c5554a Move ha styles from html to body (#354) 2017-07-23 23:18:15 -07:00
Andrey acd708b057 Sort zwave nodes by name (#341) 2017-07-16 07:58:09 -07:00
Andrey 6ba8338e18 Disable sidebar swipe in kiosk mode (#338)
* Disable sidebar swipe in kiosk mode

* Generalize disableSwipe

* Wrap in iife
2017-07-16 07:52:34 -07:00
Andrey 7c079dc01f Initial themes support (#331)
* Initial themes support

* Fix after merge

* Now UI autoresponds to backend theme change

* Move style udating logic to hass-util

* Revert unneeded change

* Switch to ES5 syntax
2017-07-13 09:10:59 -07:00
Andrey b08170e7ff Add support for kiosk mode (#332)
* Add support for kiosk mode

* Implement kiosk mode as a panel
2017-07-13 09:10:30 -07:00
Andrey 12e3afb7b7 Fixes for dev-service panel (#337) 2017-07-13 09:09:26 -07:00
Andrey 6e30534e2d Fold binary_sensor state card into common code (#322)
* Fold binary_sensor state card into common code

* Check device_class per domain
2017-07-03 06:42:55 -07:00
Andrey bac1142bc6 Update iron-resizable-behavior to 2.0.1 (#321) 2017-07-02 11:00:18 -07:00
Andrey 70da89ae73 Add service descriptions in zwave panel (#306)
* Add support for service descriptions in call buttons. Use it in Zwave panel.

* Hide descriptions behind a tap on questionmark

* Sort nodes by name and not entity_id
2017-06-18 10:59:55 -07:00
Andrey 6a864106e0 Allow controlling badge margin via mixin (#289)
* Allow controlling badge margin via mixin

* Move margin-bottom from ha-label-badge to ha-badges-card
2017-06-08 20:22:12 -07:00
Andrey d1d412c69f Fix default_view icon title. (#290) 2017-05-22 10:38:47 -07:00
Andrey c0f119c853 Fix history timeline legend selection. (#276) 2017-05-09 22:49:01 -07:00