54 Commits

Author SHA1 Message Date
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
Lukas Barth
27ce63bb0c WIP: add an input_datetime (#418)
* Initial work on input_datetime

* Properly format date and time

* Linting

* Use dom-if

* Converting to Polymer 2 class

* Some linting

* Cache domain, linting

* More linting

* Use on-value-changed instead of value observer.

Also, fix off-by-one b/c of 0-indexed months. Thanks, JavaScript.
2017-10-24 23:17:26 -07:00
Andrey
29acf77eb5 Upgrade packages (#444) 2017-10-05 21:22:41 -07:00
Paulus Schoutsen
a3e28f717a Update webcomponentsjs to 1.0.10
Fixes #428
2017-09-12 21:09:01 -07:00
Boyi C
7333a00384 Use local font-robot file for development (#419)
Use font-roboto-local to replace font-roboto on development, to reduce page load time.
2017-09-06 07:16:06 -07:00
Paulus Schoutsen
e81326cb65 Fix build 2017-08-06 10:55:46 -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
Paulus Schoutsen
572f92fd1e Migrate to Polymer 2 (#370)
* Update bower.json to point at Polymer 2

* No longer use babel to run node scripts

* Refer to CSS from static dir

* Fix some panel bugs
2017-08-03 23:40:16 -07:00
Paulus Schoutsen
35c4e1d5ae ES5 cleanup 2017-07-16 22:19:02 -07:00
Paulus Schoutsen
49afc18818 Update iron-list and iron-bower 2017-07-06 21:18:02 -07:00
Paulus Schoutsen
10d5a05d1f Use app-route for routing (#328)
* Use app-route for routing

* Fix bower

* Fix default route

* Add back button support back
2017-07-06 21:06:07 -07:00
Andrey
bac1142bc6 Update iron-resizable-behavior to 2.0.1 (#321) 2017-07-02 11:00:18 -07:00
Paulus Schoutsen
af8b10e06a Fix bower dependency resolution (#317) 2017-06-25 21:50:21 -07:00
Paulus Schoutsen
8b6db691ef Road to polymer 2 pt 2 (#310)
* Remove default-primary-color var

* Swap out paper-menu for paper-listbox
2017-06-18 19:30:18 -07:00
Paulus Schoutsen
bb83687d93 Polymer 2 prepare (#309)
* Remove unused paper-range-slider

* Update app-storage

* Upgrade paper-slider to 2.0

* Upgrade paper-scroll-header-panel

* Update paper-card

* Update slots

* Working upgrades

* More slots

* Upgrade app-layout

* More slot upgrades

* Vaadin components to Polymer hybrid ones

* Polymer 2 fixes

* Update polymer to 1.9.2

* Lint
2017-06-18 11:29:20 -07:00
Andrey
9aa188079e upgrade paper-slider and remove min-max hack (#252) 2017-04-02 17:37:39 -07:00
Paulus Schoutsen
67b59f1976 Shadow dom fixes (#241)
* Fix color picker

* Fix map panel CSS

* Convert logbook to use vaadin date picker

* Fix logbook clear date

* Migrate history panel to use vaadin date picker

* Remove pikaday

* Lint

* history panel: disable on loading
2017-03-19 21:55:52 -07:00
Paulus Schoutsen
5d223c8da4 Add initial group config panel (#218)
* Add initial group config

* Tweak labels for group form
2017-02-20 21:54:11 -08:00
Paulus Schoutsen
44ed827145 Upgrade to Polymer 1.8 2017-02-08 20:50:28 -08:00
Paulus Schoutsen
cc768b290a Update bower deps 2017-01-20 22:57:08 -08:00
Paulus Schoutsen
b5c3575cb5 Upgrade to polymer 1.7.1 2016-12-15 23:16:17 -08:00
Paulus Schoutsen
336e974fe6 Make map panel pure JS solution 2016-12-08 22:11:02 -08:00
Paulus Schoutsen
f3081ed48f Fix paper-slider to 1.0.11 2016-10-22 11:21:50 -07:00
Paulus Schoutsen
51bfd5b596 Yarn upgrade 2016-10-21 20:48:41 -07:00
Justin Weberg
d3980dc8b6 Improve ha-panel-dev-serivce.html (#130)
* Initial Commit

* Update dropdown variables

* Move available service list to a dropdown menu

* Fix dropdown width

* Add localstorage for panel state

* clean up

* Remove dropdown in favor of combo boxes

* travis fix

* Fix travis

* Fix Travis

* Fix combo box and remove neon-animations

* Remove styling for sidebar.

* Set max width on ha-form

* Increase max-width to 500px

* Update ha-panel-dev-service.html
2016-10-21 20:40:01 -07:00
Justin Weberg
22386a5035 Polymer 1.7 (#113)
* Update paper-range-slider in Bower.json

* Changed Content to slot in ha-card.html

* Update bower.json for Polymer 1.7

* Revert "Update paper-range-slider in Bower.json"

This reverts commit 0c305bd2fec2c8d99b3aeb1ee3f2461df80dc87c.

* change :root to html
2016-10-02 15:23:06 -07:00
Justin Weberg
1a456dc098 Climate range slider (#111)
* Update paper-range-slider in Bower.json

* Revert "Update paper-range-slider in Bower.json"

This reverts commit 0c305bd2fec2c8d99b3aeb1ee3f2461df80dc87c.

* update paper-range-slider in bower.json

* Update styling for temp-slider and temp-range-slider

* Fix slider colors for production

* Moved class to parent container
2016-10-02 14:41:08 -07:00
Justin Weberg
ba588fc779 Climate range slider (#104)
🎉
2016-09-09 11:33:07 -06:00
Paulus Schoutsen
87421f9136 Fix bower.json 2016-08-21 16:58:12 -07:00
Paulus Schoutsen
c0c0b2c2f3 Update packages 2016-08-21 15:30:51 -07:00
Robbie Trencheny
2c61fb2b72 Resolve app-layout to ~0.10.2 2016-08-17 22:27:53 -07:00
Paulus Schoutsen
d237cb48c3 Update to Polymer 1.6.1 2016-08-08 00:27:10 -07:00
Paulus Schoutsen
7ae4b50167 Remove moment in favor of fecha 2016-07-31 19:05:44 -07:00
Paulus Schoutsen
56650a25df Merge navigation and panel modules in HA-JS 2016-07-31 14:19:27 -07:00
Paulus Schoutsen
057adee010 Migrate panels to app elements 2016-07-30 22:48:39 -07:00
Paulus Schoutsen
57f40725d9 Fix some install dependencies 2016-07-18 20:24:20 -07:00
Paulus Schoutsen
f7ecdd9ce2 Migrate to Rollup + Buble 2016-07-13 23:04:26 -07:00
Paulus Schoutsen
6b226c02da Update versions 2016-07-11 22:07:17 -07:00
Paulus Schoutsen
439545b4f8 Optimize loading core 2016-05-28 18:32:42 -07:00
Paulus Schoutsen
d9232df18b Add local roboto 2016-04-08 00:09:52 -07:00
Paulus Schoutsen
b149c97e2c Update packages 2016-04-07 20:48:51 -07:00
Paulus Schoutsen
cabf477867 Update sidebar 2016-03-14 23:52:56 -07:00
Paulus Schoutsen
4d3c0e6a4c Update packages 2016-02-07 00:13:39 -08:00
Paulus Schoutsen
0b99a5933c Update packages 2016-01-13 23:47:36 -08:00
Paulus Schoutsen
f3d3724df7 Upgrade bower dependencies 2015-12-17 19:25:46 -08:00
Paulus Schoutsen
6d4bd93d43 Fix bower.json 2015-11-15 13:18:01 -08:00
Paulus Schoutsen
a387a597b2 Update to latest paper-elements 2015-11-10 00:20:19 -08:00
Paulus Schoutsen
d9ff64e953 Update pikaday to 1.4 2015-11-01 23:43:31 -08:00
Paulus Schoutsen
055403f9d3 Upgrade Polymer to 1.2.0 2015-10-25 15:31:14 -07:00
Paulus Schoutsen
8ac32cd307 Bower dependency cleanup 2015-10-25 15:27:18 -07:00