33 Commits

Author SHA1 Message Date
Paulus Schoutsen
6cbca6d88a
Use webpack plugin to generate HTML (#1521)
* Use webpack plugin to generate HTML

* Generate index.html

* Remove unused packages
2018-07-26 09:30:03 +02:00
Paulus Schoutsen
90328cfc33
Add an onboarding flow (#1452)
* Add an onboarding flow

* Address comments
2018-07-17 10:05:27 +02:00
Paulus Schoutsen
52f2c29726
Cleanup the webpack config (#1417)
* Cleanup the webpack config

* Typo
2018-07-08 17:16:19 +02:00
Paulus Schoutsen
53e698c757
Compatibility fix for custom panel (#1321)
* Compatibility fix for custom panel

* Lint
2018-06-22 10:17:06 -04:00
Paulus Schoutsen
18b52b53cb
Upgrade deps (#1311)
* Update polyfills

* Upgrade deps
2018-06-21 10:43:24 -04:00
Paulus Schoutsen
dd87502688
Fix config entries (#1293)
* Fix config entries

* Reset error msg when flow is closed
2018-06-18 09:53:37 -04:00
Thibault Cohen
58a0f6aab9 Add scheduler panel (#1146)
* Add scheduler panel

* Rename scheduler to calendar

* Continue

* First working version

* Fix lint errors

* Fix comments

* Fix calendar display

* Continue fixing comments

* Continue fixing comments 2

* Continue fixing comments 3

* Fix UI to work with the new PRs

* Use preact-compat instead of react

* Fix tests

* Move css file in a panels specific folder

* Fix tests

* Add Event details dialog

* Improve date format

* Remove event details

* Continue

* Continue calendar

* continue

* Continue

* Cleaning

* Fix PR comments

* Lint

* Clean useless import and css

* Fix PR comments

* Fix PR comments

* Fix PR comments

* Clean Event handler

* Fix week view

* Continue
2018-06-15 11:17:46 -04:00
Paulus Schoutsen
92930a2b94
Add es5 adapter to es5 panel (#1272) 2018-06-08 14:58:15 -04:00
Paulus Schoutsen
4d48a63141
Further simplify build (#1256)
* Remove manual copy

* Use Webpack to create gzip versions
2018-06-04 07:06:12 -04:00
Paulus Schoutsen
8133102bcb
Re-add service worker caching (#1247)
* Re-add service worker caching

* Lint
2018-06-03 07:38:22 -04:00
Paulus Schoutsen
c3d67133c2
Improve custom panel support (#1236)
* Add custom panel

* Lint

* Add reference to docs

* Use panel.config
2018-06-01 10:06:28 -04:00
Paulus Schoutsen
66012da4de
Generate Hass and Hass.io specific iconset (#1214)
* Generate hass icons

* Generate Hass.io icons

* Convert hass.io to use hassio iconset

* Convert src to use hass iconset

* Give mdi-icons a chunk name

* gen-index-html aware of hass-icons

* Use ha-icon for rendering state icon
2018-05-27 17:04:18 -04:00
Paulus Schoutsen
71196b9704
Load icons via JS (#1211) 2018-05-26 11:50:03 -04:00
Paulus Schoutsen
8e6929659d
Code split out more things (#1199) 2018-05-21 07:50:50 -04:00
Paulus Schoutsen
0edf06bfb9
Filter out some modules (#1198) 2018-05-20 21:19:47 -04:00
Paulus Schoutsen
20ea9e5df7 Bump frontend to 20180518.0 2018-05-17 20:53:31 -04:00
Paulus Schoutsen
bc27f854f1
More cleanup (#1185)
* More cleanup

* Set up correct urls authorize.html

* Fix polymer lint

* Remove reference to bower

* Tweak uglify settings
2018-05-17 17:51:07 -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
Paulus Schoutsen
1971223ad3
Code split voice and more info dialog out (#1182) 2018-05-16 09:38:01 -04:00
Paulus Schoutsen
23a2a479a5
Remove rollup (#1179)
* Remove rollup

* Fix build

* Add copy webpack plugin

* Touch service worker

* Remove unused ha-config-js-.js
2018-05-16 07:54:29 -04:00
Paulus Schoutsen
96d7ec7cda
Embed the preact code directly (#1177)
* Embed the preact code directly

* Do not transform object rest spread

* Lint

* Ignore preact from lint
2018-05-15 17:56:32 -04:00
Paulus Schoutsen
a4afc2e37a
Polymer 3 modulize (#1154)
* Version bump to 20180510.1

* Fix hass util

* Fix translations

* Bye paper-time-input

* Add webpack config

* Add webpack to package.json

* Fix translation import

* Disable web animations polyfill bad import

* Disable importHref import

* Update webpack config to build authorize.js

* Build translations json

* Build frontend correctly

* Run eslint --fix

* Load markdown JS on demand (#1155)

* Add HTML imports (#1160)

* Fix localize (#1161)

* Fix Roboto in build (#1162)

* Load web animations polyfill (#1163)

* P3: Fix chart js (#1164)

* P3: Fix Chart JS

* Update timeline package

* P3: panel resolver (#1165)

* WIP

* Initial importing of panels

* Fix panel resolver

* Fix automation and script editor (#1166)

* Expose Polymer and Polymer.Element on window (#1167)

* Remove unused import

* eslint --fix

* Es5 build (#1168)

* Build for ES5

* Fix build_frontend

* Remove stale comment

* Migrate to use paper-material-styles (#1170)

* Send parsed date to history/logbook (#1171)

* Fork app storage behavior (#1172)

* Add paper input with type time (#1173)

* Fix authorize

* Lint

* Sort imports

* Lint

* Remove eslint-html

* Do not lint authorize.html

* Fix polymer lint

* Try chrome 62 for wct

* P3: Add patched iconset (#1175)

* Add patched iconset

* Lint

* Test with latest Chrome again

* Use less window.hassUtil

* Teporarily use my fecha fork

* Import correct intl.messageFormat

* Update wct-browser-legacy to 1.0.0

* Include polyfill in right place

* Fix IntlMessageFormat

* Fix test not having a global scope

* Rollup <_<

* Fork app-localize-behavior

* Disable wct tests

* Lint
2018-05-15 13:31:47 -04:00
Paulus Schoutsen
f7ecdd9ce2 Migrate to Rollup + Buble 2016-07-13 23:04:26 -07:00
Paulus Schoutsen
e7ee8c54bd Defer loading of dev tools 2016-07-12 08:59:07 -07:00
Paulus Schoutsen
ec7dfb28e8 Move HA-JS to git submodule 2016-06-14 01:26:02 -07:00
Paulus Schoutsen
3c291d2c98 Update HA-JS 2016-06-13 23:37:44 -07:00
Paulus Schoutsen
19eb3fa193 Update webpack2 beta 2016-06-11 18:05:44 -07:00
Paulus Schoutsen
439545b4f8 Optimize loading core 2016-05-28 18:32:42 -07:00
Paulus Schoutsen
60eb731f27 Break up app in core + ui and inline some scripts 2016-05-28 16:07:25 -07:00
Paulus Schoutsen
0be98873d7 Use sw-precache to generate service worker 2016-05-27 21:44:37 -07:00
Paulus Schoutsen
f4d80f4977 Upgrade to babel 6 2015-12-13 23:53:35 -08:00
Paulus Schoutsen
4219380146 Add basic service worker architecture 2015-12-07 21:34:54 -08:00
Paulus Schoutsen
8e143c2e44 ES6 Polymer version 2015-07-12 17:31:41 -07:00