197 Commits

Author SHA1 Message Date
Adam Mills
e0a63a2ee3
Panel translation fragments (#691)
* Move flatten to separate gulp task

* Split translation fragments into separate files

* Load translation fragments when switching panels

* Fix gulpfile lint

* Move app-location to home-assistant.html

* Compute panel navigation in home-assistant.html

* Only pass down panelUrl from home-assistant.html

* Store panelUrl on hass

* Store computed panel on hass object

* Revert "Store computed panel on hass object"

This reverts commit 0f150b1faa2b91588a432ab346821b633b349d1a.

IMO this didn't really make the code cleaner. Just wanted to see how it
would look. Keeping it here as a reverted commit in case we do want to
use it.
2017-12-05 09:12:42 -05:00
Adam Mills
7303e55f63 Move push notifications to config panel (#700) 2017-12-03 15:28:39 -08:00
Paulus Schoutsen
90e6f59a74
Merge script and automation editor JS (#693)
* Merge script and automation editor JS

* Also consolidate the files
2017-11-30 11:38:21 -08:00
Andrey
7cfa694980 Fix initialization error in script/automation editors. (#699) 2017-11-30 11:19:26 -08:00
Paulus Schoutsen
bc94dce8f7
Fix bugs in service picker and service dev tool (#687) 2017-11-26 10:05:07 -08:00
John Arild Berentsen
48ecfe07a2 Usercode card was misplaced in fullscreen (#685) 2017-11-26 15:04:46 +02:00
John Arild Berentsen
958c5bf935 Fix failing build (#684) 2017-11-26 10:17:03 +02:00
Paulus Schoutsen
3ba15cb7b5
Fix error when creating new automation (#683)
* Import correct computeStateDomain

* ha-service-picker to not crash when no hass

* Fix routing be less active

* Fix combo box value sync
2017-11-25 21:43:52 -08:00
Paulus Schoutsen
508e1fd737 Fix build 2017-11-25 16:08:26 -08:00
Paulus Schoutsen
0707528bd7
Entity dropdown improvement (#674)
* Ignore hass changes while dropdown is open

* Upgrade vaadin-combo-box

* Fix styling on dev-service panel

* Fix styling for ha-entity-dropdown

* Fix height vaadin-combo-box dropdown

* Rename ha-entity-dropdown to ha-entity-picker

* More entity improvement (#675)

* Update script and automation editor to use entity picker

* Add entity and service picker to service dev panel

* Lint
2017-11-25 16:00:43 -08:00
John Arild Berentsen
5f5a62d094 Zwave usercodes, bugfix for #10754 (#677)
* Bugfix for #10754

* Adjustments

* Fix sloppiness
2017-11-24 23:57:21 -08:00
Paulus Schoutsen
80a11206af remove unused on-tap 2017-11-24 21:32:21 -08:00
Paulus Schoutsen
c330b87506
Shopping List: Allow adding items (#647)
* Shopping List: Allow adding items

* Remove unused parts
2017-11-24 21:27:55 -08:00
Paulus Schoutsen
713117d4d9
Add an entity picker (#666)
* Add an entity picker

* Lint
2017-11-22 14:37:25 -08:00
c727
ea4fd25330 Don't cut off help text on mobile devices (#663) 2017-11-21 19:28:04 +02:00
Paulus Schoutsen
0b9e7d5fa2
Don't use custom element constructor (#658) 2017-11-20 20:44:58 -08:00
Paulus Schoutsen
4f18bdf0ea Tweak create account verbiage 2017-11-19 10:30:48 -08:00
Pierre Ståhl
01fab1075e Clear log entries if clear is pressed (#637)
* Clear log entries if clear is pressed

* Fix comparisons

* Clear entries instead of refresh
2017-11-17 10:54:12 -08:00
John Arild Berentsen
b15edbd4fd Add option to retrieve n amount of last lines from log. (#604)
* Add option to retrieve n amount of last lines from log.

* Move line logic to backend

* Review changes

* Review changes

* Only print text

* Use query params instead of url path to specify lines
2017-11-16 22:07:03 -08:00
Pierre Ståhl
c0df1e2a89 Add frontend for system log (#603)
* Add frontend for system log

* Minor review fixes

* Cleanup
2017-11-16 21:25:46 -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
Paulus Schoutsen
6fac4e9027
Expose build type on window (#630)
* Expose build type on window

* Build two panels for Hass.io
2017-11-14 22:39:20 -08:00
Paulus Schoutsen
926c46b701
Tweak cloud config (#618) 2017-11-12 11:44:59 -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
UnrealKazu
67e040ad8e Add filters to dev-state page (#595)
* Add filter functionality for entities and states

Entities and states can now be filtered by entering a string in their respective input fields.

* Add filter functionality for attributes

Attributes can now also be filtered. Without a colon in the search string, if any attribute's key or value matches the string, the entity is matched. If there is a colon, keys and values are matched separately, and the entity is only matched if both key and value match.

* Hide attribute filter in narrow mode

When the browser triggers narrow mode the attribute filter now hides properly.

* Improve eslint adherence

The code is now correctly linted against the HASS eslint standard.

Also simplified the code which distinguished arrays from strings when matching.
2017-11-10 21:48:51 -08:00
Stephen Yeargin
bac3d8c17e Add-Ons > Add space between text and repository link (#594)
A subtle change, but improves how it is displayed.
2017-11-08 17:35:43 +02:00
John Arild Berentsen
9f6edeec6e Add Save config button (#568) 2017-11-07 12:47:21 -05:00
John Arild Berentsen
9b0f4fa234 Add new Z-Wave services, heal_node and test_node (#565)
* Add new Z-Wave services, heal_node and test_node

* lint
2017-11-05 09:44:18 -08:00
Paulus Schoutsen
a574bf8e0f Update tos&privacy links 2017-11-02 22:50:59 -07: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
Adam Mills
fb0b1286d2 Convert remaining elements to ES6 classes (#538)
* Convert remaining elements to ES6 classes

* Use native DOM methods for tests

* Fix Polymer 2 debounce call
2017-10-29 21:47:03 -07:00
Andrey
7e40cfef09 Fix languages and themes top selection being cut off (#531) 2017-10-27 22:12:16 -07:00
Adam Mills
780b58c210 Enable language selection in config panel (#506) 2017-10-26 21:32:12 -07:00
Georgi Yanev
43a00d70d9 Make titles and headers more consistent (#505) 2017-10-26 20:13:01 -07:00
Adam Mills
29fad98754 Core POC support for polymer i18n (#227)
* Core POC support for polymer i18n

* Move translation from core.js to html

* Replace fetch with XHR

* Convert translation pipeline to gulp

* Convert from polyglot to Polymer localize

* Pass through missing keys for custom panels

* Store promise to be reused

* Use cacheFirst sw handler for translations

* Write full filenames to translationFingerprints

* Precache en translation

* Convert home-assistant-main to ES6 class

* Create a localization mixin

* Cleanup

* Add polymer tags to annotate for linter

* Rename fingerprints to translationMetadata

* Build translation native names into metadata

* Add language selection UI to sidebar

* Provide separate message namespace argument

* Store language/resources on hass object

* Store translationMetadata on hass

* Move language selector to config panel

* Temporarily hide language selector

* Small cleanups

* Use dynamic-align for more flexible layout

* Migrate to fetch API

* Only send change events for user selection events

* Update for new linting rules

* Migrate build_frontend changes
2017-10-25 18:12:23 -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
Adam Mills
9153c80229 Add missed hass-mixins imports (#440) 2017-09-30 17:39:58 -05:00
Adam Mills
d1a194a147 Upgrade core config panels to ES6 classes (#438) 2017-09-30 15:15:43 -05:00
John Arild Berentsen
ff1b667546 Zwave poll intensity (#402)
* Add polling intensity to values card

Round 1

Rebase

* Move form-group out of car-actions
2017-09-22 23:10:23 -07:00
Nathan Henrie
559c93453e Fix spelling error (#427)
1 letter spelling error. Originally tried to submit at https://github.com/home-assistant/home-assistant/pull/9385#issuecomment-328663870 -- looks like it would close #426, but I don't see any open PRs.
2017-09-11 22:52:54 -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
Paulus Schoutsen
4c96240ff6 Finish cloud login flow (#420)
* Finish cloud login flow

* Address comments

* Fix cache travis
2017-09-09 19:47:07 -07:00
Andrey
684ac8fe69 Fix boolean config value not propagating (#421) 2017-09-09 10:33:15 -07:00
Paulus Schoutsen
2249657681 Fix import 2017-09-05 09:08:09 -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
0508a6bf2e Add customization config panel (#413) 2017-08-28 08:04:21 -07:00
Paulus Schoutsen
24c16aa1fc Fix imports 2017-08-27 13:19:39 -07:00