2685 Commits

Author SHA1 Message Date
Paulus Schoutsen
72aa98fe5c Update translations 2019-02-02 13:49:25 -08:00
yosilevy
86b353e627 History+logbook positioning update + RTL fixes + label refactor (#2659) 2019-02-02 13:36:33 -08:00
Paulus Schoutsen
79183bb6ea
Cleanups (#2658)
* Import voice dialog only when needed

* Import ha-sidebar when we have first painted the page.

* Add css on LitElement for custom cards

* Import polyfill on first update

* Cleanup of imports

* TS conversion more info mixin

* Migrate auth mixin to TS

* Lint
2019-02-02 13:23:48 -08:00
Paulus Schoutsen
4921686bdf
Hash translation files (#2652)
* Hash translation files

* Fix rebuild while develop runs
2019-02-02 09:42:22 -08:00
yosilevy
a5bdf096dc Marked Arabic as RTL + added a bunch of lovelace menu entries to label files (#2650)
* Marked Arabic as RTL + added a bunch of lovelace menu entries to label files

* Refactor keys - added menus
2019-02-01 21:33:26 -08:00
Paulus Schoutsen
db53d37493 Bumped version to 20190201.0 2019-02-01 12:25:39 -08:00
Paulus Schoutsen
c294124b8d Update translations 2019-02-01 12:25:27 -08:00
Paulus Schoutsen
2afc8607c6
Fix RTL issues (#2648)
* Convert home-assistant-main to Lit/TS

* different approach

* LRT RTL

* Lint

* RTL fix for generic entity row

* Remove fetching from selectedLanguage

* RTL the RTL languages in the picker

* Fix drawer adjust to RTL
2019-02-01 12:22:11 -08:00
yosilevy
e2ff51f425 RTL fixes for raw config editor and card editor -> card preview (#2532)
* RTL fixes for raw config editor and card editor -> card preview

* Fixed missing line break

* Fixed weird vscode line break problems

* Refactored to LitElement + addressed updating RTL only when needed

* Refactor

* Fixed forgotten import

* Reverted to HTMLElement + added RTL check in set hass

* Added conditional update
2019-02-01 09:53:08 -08:00
Paulus Schoutsen
25a579f7ed
Fixes (#2643)
* Sort areas alphabetically in device card

* Fix background color of registry editors when using themes

* Fix area/entity reg dialog being disabled after deletion

* Better fix card background

* Warn user when system health component not loaded
2019-02-01 09:40:57 -08:00
yosilevy
ecd33fd93c RTL toast fix (#2646)
* RTL toast fix

* Removed reflectToAttribute
2019-02-01 09:40:45 -08:00
Paulus Schoutsen
4cd3b683a7
Minify images Arsaboo (#2641) 2019-01-30 16:39:32 -08:00
Paulus Schoutsen
d0b507561d Bump frontend to 20190130.1 2019-01-30 16:26:37 -08:00
Paulus Schoutsen
d8d3149558 Bumped version to 20190130.0 2019-01-30 16:19:05 -08:00
Paulus Schoutsen
41b086cd3c Update translations 2019-01-30 16:19:00 -08:00
yosilevy
6fc20450b4 Force LTR on conf validation message so errors are readable also in RTL language (#2570) 2019-01-30 16:14:56 -08:00
Paulus Schoutsen
c00930f45e
Convert entity filter to TS (#2638)
* Convert entity filter to TS

* Apply suggestions from code review

Co-Authored-By: balloob <paulus@home-assistant.io>
2019-01-30 16:14:09 -08:00
Paulus Schoutsen
77935b7c7a
Convert ha-entity-toggle to Lit/TS (#2639)
* Convert ha-entity-toggle to Lit/TS

* Update src/components/entity/ha-entity-toggle.ts

Co-Authored-By: balloob <paulus@home-assistant.io>
2019-01-30 16:10:50 -08:00
Ian Richardson
03f7a23540 panel toggle for view UI Editor (#2628) 2019-01-30 16:10:10 -08:00
Paulus Schoutsen
f1f1623d2f
Add Area Registry (#2631) 2019-01-30 14:08:04 -08:00
Paulus Schoutsen
b86bfa0395
Add an empty state card (#2637)
* Add an empty state card

* Remove dev code

* Fix import
2019-01-30 14:07:55 -08:00
Paulus Schoutsen
75235ec544
Convert generic row to LitElement/TS (#2636) 2019-01-30 13:14:33 -08:00
Paulus Schoutsen
7cb2b743fa
Add code editor to YAML editor (#2609)
* Add code editor to YAML editor

* Add code editor to raw config editor

* Remove hui-yaml-editor

* Update src/panels/lovelace/components/hui-code-editor.ts

Co-Authored-By: bramkragten <mail@bramkragten.nl>

* Update src/panels/lovelace/components/hui-code-editor.ts

Co-Authored-By: bramkragten <mail@bramkragten.nl>

* Rename to hui-yaml-editor

* Lint and tab

* Fix empty editor

* Lint

* Use codemirror for comment and edit detection + some styling

* Add save action (ctrl+s/cmd+s) to card editor

* Move save to the instance

* Delete save for now

* Remove yaml-change event on init
2019-01-30 13:03:17 -08:00
Paulus Schoutsen
175693ba4e
Allow editting entity registry (#2630)
* Allow editting entity registry

* Slight simplify

* Style fixes

* Correctly set submitting

* Apply suggestions from code review

Co-Authored-By: balloob <paulus@home-assistant.io>

* Fix invalid type

* Add config section to entity registry

* Trim

* Fix trimming
2019-01-30 13:02:41 -08:00
Bram Kragten
c7d1417f48 Remove yaml-change event on init 2019-01-30 21:09:38 +01:00
Bram Kragten
db92abad66 Delete save for now 2019-01-30 20:59:49 +01:00
David F. Mulcahey
e42e59871e Use demo icons instead of mdi (#2623)
* generate demo icons

* replace tab icons and update build file

* review comments

* review comments

* update ignores

* cleanup
2019-01-30 11:42:09 -08:00
Ian Richardson
f97b5c48d0 more-info for thermostat-card (#2598)
* more-info for thermostat-card

* soften icon
2019-01-30 11:35:41 -08:00
Paulus Schoutsen
f22510fd74
Add system health card (#2626) 2019-01-30 11:00:25 -08:00
Bram Kragten
e789380126 Move save to the instance 2019-01-30 20:00:13 +01:00
Bram Kragten
9086051608 Fix icon view demo jimpower (#2634) 2019-01-30 10:54:03 -08:00
Ian Richardson
a0f0d49f45 more-info icon for light-card (#2600)
* more-info icon for light-card

* soften icon
2019-01-30 10:02:12 -08:00
Thomas Lovén
bc87e05e2d Fix weird spaces in jimpowers demo (#2622) 2019-01-30 09:57:47 -08:00
Malte Franken
b0958f589b Support for geolocation trigger (#2617)
* initial working version of geolocation trigger

* removed unused code

* removed unused code and imports

* sources now localisable

* fixed source picker to not immediately show save button after loading automation

* labels

* removed unused code

* removed unused import

* transformed source dropdown to simple edit field
2019-01-30 09:56:39 -08:00
Bram Kragten
b37eee56c0 Move views (#2610)
* A start, still buggy...

* Tests and move with view

* Lint
2019-01-30 09:55:44 -08:00
Bram Kragten
2ad27f7400 Fix thermostat with radius 0 (#2633)
* Fix thermostat with radius 0

* remove afterNextRender
2019-01-30 09:19:49 -08:00
Bram Kragten
95e9d6164d Add save action (ctrl+s/cmd+s) to card editor 2019-01-30 12:50:57 +01:00
Bram Kragten
43bc9abb46 Use codemirror for comment and edit detection + some styling 2019-01-30 12:24:13 +01:00
Paulus Schoutsen
ab816ad529 Add system health card 2019-01-29 16:32:34 -08:00
Paulus Schoutsen
c964ea30e0
Refactor dev-info page (#2624)
* Refactor dev-info page

* What

* Fix custom UI check

* Apply suggestions from code review

Co-Authored-By: balloob <paulus@home-assistant.io>

* Apply suggestions from code review

Co-Authored-By: balloob <paulus@home-assistant.io>

* Address comments

* TSC

* Apply suggestions from code review

Co-Authored-By: balloob <paulus@home-assistant.io>

* TSC
2019-01-29 15:34:49 -08:00
Tommy Jonsson
73b500db64 html5 notifications add VAPID support (#2560)
* html5 notifications add VAPID support

* fix travis error

* replace httpapi with websocketapi
2019-01-29 14:49:41 -08:00
Bram Kragten
633fc1372f Lint 2019-01-29 18:46:40 +01:00
Bram Kragten
dedb36cecf Fix empty editor 2019-01-29 18:03:34 +01:00
Bram Kragten
13aa0568a6 Lint and tab 2019-01-29 17:59:42 +01:00
Paulus Schoutsen
a090b291aa
Fix entity names in notification (#2612) 2019-01-28 19:36:11 -08:00
David F. Mulcahey
30ab056aa4 add help text for reconfigure node (#2616) 2019-01-28 19:33:22 -08:00
Paulus Schoutsen
5a797a6dec
Fix localize lite mixin types (#2613) 2019-01-28 15:43:08 -08:00
Bram Kragten
d76ffd343e Rename to hui-yaml-editor 2019-01-28 20:41:09 +01:00
Paulus Schoutsen
20ecfffb9c
Update src/panels/lovelace/components/hui-code-editor.ts
Co-Authored-By: bramkragten <mail@bramkragten.nl>
2019-01-28 19:30:51 +01:00
Paulus Schoutsen
d2bfd5ce62
Update src/panels/lovelace/components/hui-code-editor.ts
Co-Authored-By: bramkragten <mail@bramkragten.nl>
2019-01-28 19:30:23 +01:00