50 Commits

Author SHA1 Message Date
Bram Kragten
bb273b2b54
Localize fixes (#15199) 2023-01-25 15:44:59 +00:00
Yosi Levy
10f63180eb
RTL Auth fix (#12746) 2022-05-30 17:57:37 +02:00
Bram Kragten
1159798b8d
Energy: Wait with subscribe for _config to be set (#11884) 2022-02-28 12:32:36 -06:00
Bram Kragten
7488eb782d
Migrate all paper dialogs to mwc (#10333) 2021-10-19 13:56:49 -07:00
Joakim Sørensen
066a0771b3
Move functions to common-translation (#10180) 2021-10-07 11:02:52 +02:00
Bram Kragten
e797c01761
Update lint rules (#9563)
Updated deps

Added `unused-imports`, prefer arrow, and import order
2021-07-15 12:08:04 +02:00
Joakim Sørensen
21a3a8c594
Navigate cleanup (#9202) 2021-05-25 17:46:36 +02:00
Bram Kragten
bc92c0b052
Upgrade to Lit 2 (#9199) 2021-05-18 07:37:53 -07:00
Bram Kragten
9f032a61a9
Add compatibility for Lit 2.0 (#8878) 2021-05-07 13:16:14 -07:00
Joakim Sørensen
bea20d0495
🌐 Add MVP for translation in the Supervisor panel (#8425)
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2021-03-02 00:37:39 +01:00
Bram Kragten
7428731eac
Fix ES5 build, fix virtualizer polyfill (#7451) 2020-10-22 22:43:15 +02:00
Gilson Marquato Júnior
0f0a3fdaf7
Add keyboard shortcut to save automation/scene/script (#7207) 2020-10-08 16:24:08 +02:00
Bram Kragten
f8c5eeab5d
Replace all private properties with internalProperty decorator (#6386) 2020-07-14 21:38:36 -07:00
Bram Kragten
d0a53d1760
Handle starting the frontend before finished loading integrations (#6068)
Co-authored-by: J. Nick Koston <nick@koston.org>
2020-05-28 21:09:26 -07:00
Bram Kragten
8ad2bf5401
Fix shopping list initial data fetch (#6020) 2020-05-26 09:44:46 +02:00
Bram Kragten
82f80db558
Update typescript, prettier, tslint -> eslint (#5536)
* Update typescript, prettier, tslint -> eslint

* Organize imports

* Use glob for eslint fix react import
2020-04-14 09:05:45 -07:00
Bram Kragten
4f70ec7dc2
Set correct lang attribute (#5479)
* Set correct lang attribute

* Update lit-localize-lite-mixin.ts

* Update translations-mixin.ts

* Remove lang=""

* Move logic out of mixin
2020-04-08 12:36:06 +02:00
Bram Kragten
da35c263d2 Add scene editor (#4164)
* Add scene editor

* Update ha-config-scene.ts

* Update en.json

* Update ha-scene-editor.ts

* Partial comments

* Types

* 1 more

* Comments

* Lint

* Update ha-device-picker.ts

* Update ha-device-card.ts
2019-11-04 12:07:09 -08:00
Paulus Schoutsen
9078e41855 Clarify tslint disable 2019-10-28 10:45:58 -07:00
Paulus Schoutsen
785453aa79 Clean up mixins (#4076)
* Clean up mixins

* Lint
2019-10-20 14:31:58 +02:00
Bram Kragten
d05dc2e4dc
Bring back babel (#3974)
* Bring back babel

* bump preset env

* Remove empty TS properties in mixins
2019-10-19 14:06:04 +02:00
Bram Kragten
27264b27a9 Fix (#3741) 2019-09-17 09:50:51 -07:00
Bram Kragten
29ab04fc7a
Add subscribe mixin (#3710)
* Add subscribe mixin

* Update src/mixins/subscribe-mixin.ts

Co-Authored-By: Paulus Schoutsen <balloob@gmail.com>

* Update src/mixins/subscribe-mixin.ts

Co-Authored-By: Paulus Schoutsen <balloob@gmail.com>

* Update subscribe-mixin.ts

* Update subscribe-mixin.ts

* Add properties

* Fix
2019-09-17 07:45:56 +02:00
Paulus Schoutsen
7b0fb949fd
Upgrade some deps (#3266)
* Upgrade some deps

* Fix linting
2019-06-12 17:29:16 -07:00
Paulus Schoutsen
82e8ca2754
Alow setting up integrations during onboarding (#3163)
* Allow setting up integrations during onboarding

* Fix compress static

* Don't compress static files in CI

* Remove unused file

* Fix static compress disabled in CI build

* Work with new integration step

* Import fix

* Lint

* Upgrade HAWS to 4.1.1
2019-05-07 22:27:10 -07:00
Paulus Schoutsen
289611363e
Use named export for events mixin (#3166) 2019-05-07 17:47:44 -07:00
Paulus Schoutsen
cda29fcd07 Clean up hassio panel (#3067)
* Clean up hassio panel

* Extract dialog manager code

* Convert markdown dialog to show-dialog

* Extract snapshot dialog
2019-04-07 17:45:56 +02:00
Jason Hu
f809bf0550
Save user language setting to backend (#2784)
* Save user language setting to backend

* Remove hass.selectedLanguage

* Lint

* Address code review comment

* Refactoring translation

* Code review

* Add back selectedLanguage and local app storage

* Move getTranslations to data/frontend.ts

* Fix mock hass

* Rewrite translations-mixin

* revert no need changes

* Final tweak
2019-03-08 02:49:58 -08:00
Paulus Schoutsen
5a797a6dec
Fix localize lite mixin types (#2613) 2019-01-28 15:43:08 -08:00
Paulus Schoutsen
c3f473c3e7
Remove Lit localize mixin (#2597)
* Remove some localize mixins form Lit Elements

* Remove litLocalizeMixin

* Revert unwanted changes
2019-01-27 16:52:15 -08:00
Paulus Schoutsen
0a09eabce3
Simplify localize (#2593)
* Simplify localize

* Delete unused file
2019-01-27 15:19:59 -08:00
Paulus Schoutsen
b0d32b5674
upgrade lit (#2458)
* upgrade lit

* Lint
2019-01-12 23:32:53 -08:00
Paulus Schoutsen
edef4ba2f5
Speed things up (#2270)
* Speed things up

* Fixes
2018-12-12 08:51:59 +01:00
Paulus Schoutsen
99395360c7
Convert HA-STATE-LABEL-BADGE to lit (#2268) 2018-12-11 21:41:38 +01:00
Paulus Schoutsen
5ab419534c
Convert authorize page to lit (#2115)
* Convert authorize page to lit

* Don't use ha-markdown

* Simplify CSS
2018-11-26 14:10:01 +01:00
Ian Richardson
c0c7c0f41a Remove .js from imports (#1948)
* Remove .js from lovelace

Also cleaned up some trailing whitespace

* Go big or go home

* More removals

* Revert changes to gallery webpack

* Revert changes to webpack.config.js
2018-11-02 12:26:03 +01:00
Bram Kragten
2164b629cf catch translation errors (#1928) 2018-10-30 19:16:20 +01:00
Paulus Schoutsen
35194cf345
Extract navigate mixin (#1865)
* Extract navigate to function

* Remove eventsmixin properly and side effects
2018-10-27 10:56:03 +02:00
Paulus Schoutsen
47fb8a5513
Fix mixin names (#1849) 2018-10-24 12:10:58 +02:00
Paulus Schoutsen
0fdd1c74f2
Always define localize func (#1830) 2018-10-22 20:31:43 +02:00
Paulus Schoutsen
a7684d7206
Add some decorators (#1784)
* Add some decorators

* Disable sort keys

* Add babel plugins

* Update typescript to 7.1
2018-10-16 23:30:13 +02:00
Paulus Schoutsen
e7a49192bd
Type check as part of lint (#1780)
* Type check as part of lint

* Lint

* Validate service exist for call-service action

* Fix for of
2018-10-16 17:21:05 +02:00
Paulus Schoutsen
97e1aae9c0
Introduce TypeScript (#1773) 2018-10-15 19:07:08 +02:00
Paulus Schoutsen
e2511c5ed3
Remove default export fire event (#1772)
* Remove default export fire event

* Update provide_hass.js
2018-10-15 06:17:33 +02:00
Paulus Schoutsen
fbccf23d36
Clean up localize mixin (#1771) 2018-10-14 22:40:43 +02:00
Paulus Schoutsen
34bfc12647
Prettier 💎 (#1737)
* Add prettier

* Apply Prettier
2018-10-11 12:22:11 +02:00
Paulus Schoutsen
17ac6f96a0
Update deps (#1678)
* Update deps

* Lint

* Fix lint
2018-09-19 15:15:16 +02:00
Paulus Schoutsen
f443942e03
Authorize onboarding (#1603)
* Tweak onboarding + authorize

* Authorize/Onboarding pimp

* More tweaks

* Comments
2018-08-27 22:10:15 +02:00
Paulus Schoutsen
20e92893e0
Organize createElement (#1348)
* Organize createElement

* Fix line-height
2018-06-27 14:18:05 -04:00
Paulus Schoutsen
f70c0aea6c
Org files (#1183)
* Organize files

* Import EventsMixin

* Import NavigateMixin

* Dissolve window.hassMixins

* Apply ElementMixin when we use it

* Update tests to point at right dir

* Eslint

* Clean

* Update mixins inside hassio

* Update lint command"

* Fix polymer lint
2018-05-16 13:47:34 -04:00