Commit Graph
100 Commits
Author SHA1 Message Date
Paulus Schoutsen 09f238162e Cleanup (#1575) 2018-08-21 08:59:54 +02:00
Paulus Schoutsen f435c38aa5 Upgrade websocket lib to 2.1 (#1583) 2018-08-20 11:49:24 +02:00
Paulus Schoutsen 4e135681bc Fix push notifications (#1585) 2018-08-20 11:49:13 +02:00
Paulus Schoutsen bb3af18e46 Only ask to save login with new auth (#1581) 2018-08-18 11:11:17 +02:00
Paulus Schoutsen 9f71d9331c Fix automation editor safari (#1576)
* Use ha-textarea

* Lower Safari requirement to 10.3

* Lint
2018-08-16 21:49:35 +02:00
Paulus Schoutsen a960084438 Include ES5 version of hass-icons (#1574) 2018-08-16 13:39:43 +02:00
Paulus Schoutsen 283668ef18 Fix disconnected notification (#1569) 2018-08-13 21:22:23 +02:00
Paulus Schoutsen 310299367b Ask to store auth (#1568)
* Ask to store auth

* Reorg auth
2018-08-13 21:10:39 +02:00
Paulus Schoutsen 63c7c55843 Cleanups (#1566)
* Cleanup core.js

* Add ha-toast

* Lint

* Remove unused import
2018-08-13 15:48:54 +02:00
Paulus Schoutsen c39417c93d Move user settings to profile page (#1560) 2018-08-11 08:46:16 +02:00
Paulus Schoutsen 1b2b62f04c Reorg root (#1559)
* Extract element from entrypoint

* Reorg root

* Extract more

* Lint

* Extract connection

* Extract notification

* Lint

* Also split out more info dialog

* Consolidate dynamic element creation
2018-08-11 08:45:11 +02:00
Paulus Schoutsen 1cbe0b7b9f Don't put components in entrypoint (#1548)
* Don't put components in entrypoint

* Remove extra deps
2018-08-07 23:11:57 +02:00
Paulus Schoutsen a9f29a3151 Fix custom panel include (#1539) 2018-08-04 15:15:44 +02:00
Paulus Schoutsen c537a8d389 Use correct keys for localization. (#1533) 2018-08-02 13:17:41 +01:00
Paulus Schoutsen a8ce5e3e25 Add profile badge to sidebar header (#1525)
* Add profile badge to sidebar header

* Lint

* Update ha-sidebar.js

* Address comments
2018-07-27 09:12:14 +02:00
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 f7d9aecf47 Allow changing entity id (#1508)
* Allow changing entity id

* _entityId

* Use set properties
2018-07-24 14:07:40 +02:00
Paulus Schoutsen b589412fdd More info (#1500)
* Add more info

* Lint

* Minor cleanup

* Address comments
2018-07-23 22:40:42 +02:00
Paulus Schoutsen d30bf6d566 Tweak divider example (#1505) 2018-07-23 14:46:57 +02:00
Paulus Schoutsen bdf26bbccd Tweaks (#1489)
* Tweaks

* Lint

* No need for copy plugin

* Allow handling more complex service calls

* Missed a state

* Add locks

* Lint

* Add cover entity

* Make generic entity constructor

* Light to handle homeassistant.X services

* Lint

* Fix translations

* final tweaks
2018-07-22 11:41:56 +02:00
Paulus Schoutsen 3b2d4de313 Add example to show single entity conditionally (#1498) 2018-07-22 10:55:13 +02:00
Paulus Schoutsen 9634a13dc2 Fix static assets (#1484) 2018-07-20 11:42:07 +02:00
Paulus Schoutsen 1b039aee50 tweak demo cards layout (#1479)
* tweak demo cards layout

* Lint
2018-07-19 23:44:12 +02:00
Paulus Schoutsen 5c74e31629 Add some styling to the gallery (#1478) 2018-07-19 22:19:10 +02:00
Paulus Schoutsen 61d3d446f4 picture glance: better handle if no title (#1474)
* Better handle if no title

* Simplify code

* Arrays in ifs

* Remove unused method

* Always render the middle div

* Always show both entity divs
2018-07-19 21:18:24 +02:00
Paulus Schoutsen a5befbe153 Add more demos (#1476) 2018-07-19 17:00:18 +02:00
Paulus Schoutsen 56907fb922 Add gallery (#1475)
* Add gallery

* Add build script

* Lint

* Remove cache
2018-07-19 15:24:30 +02:00
Paulus Schoutsen 964c028c72 Tweaks to user flow (#1473)
* Tweaks to user flow

* Mobile layout

* Final tweaks
2018-07-19 10:51:00 +02:00
Paulus Schoutsen 9ab4158e0a Use callWS helper (#1465) 2018-07-18 17:13:53 +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 84b0542fb6 Fix spacing picture glance (#1460) 2018-07-17 10:04:48 +02:00
Paulus Schoutsen 229d167f89 Add current user to hass object (#1451)
* Add current user to hass object

* Add enter key support to login form
2018-07-17 09:25:46 +02:00
Paulus Schoutsen ed9c73429f Allow managing users (#1436)
* Allow managing users

* Address comments

* table -> card-content

* Don't close dialog on error
2018-07-13 15:31:22 +02:00
Paulus Schoutsen dbb6a8e6d4 Fix when not using oauth (#1434) 2018-07-10 10:49:51 +02:00
Paulus Schoutsen 133d198e7c Make Lovelace filter card more robust (#1431)
* Make Lovelace filter card more robust

* Update hui-entity-filter-card.js
2018-07-09 18:25:00 +02:00
Paulus Schoutsen 2e4ddebcda Use IndieAuth for client ID (#1427)
* Use IndieAuth for client ID

* Lint
2018-07-09 18:24:49 +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 c201a9073f Fix opening menu triggers column change (#1400) 2018-07-03 14:47:36 -04:00
Paulus Schoutsen ad4814dfad Use ha-icon when user can set icon (#1399) 2018-07-03 14:33:43 -04:00
Paulus Schoutsen 5cccf4836f Add navigation_path to picture-glance (#1397)
* Add navigation_path to picture-glance

* Lint
2018-07-03 10:57:26 -04:00
Paulus Schoutsen 20d6f6d530 Don't allow toggle if can't toggle. Allow hiding info (#1389)
* Don't allow toggle if can't toggle. Allow hiding info

* Allow tap_action: toggle

* cleanup

* Lint
2018-07-03 01:55:46 +02:00
Paulus Schoutsen 173cd8126c Picture Entity to use name instead of titles (#1388)
Entities have names, states have titles.
2018-07-02 22:39:23 +02:00
Paulus Schoutsen 66803cd4eb Add panel mode (#1383) 2018-07-02 14:17:48 -04:00
Paulus Schoutsen 66ae61374d Add navigation element (#1384)
* Add navigation element

* Lint

* Add missing import
2018-07-02 14:17:23 -04:00
Paulus Schoutsen cf5460bf58 Add simple picture card (#1385)
* Add simple picture card

* navigate_path -> navigation_path
2018-07-02 14:16:29 -04:00
Paulus Schoutsen c868df2718 Only allow state filter for filter card (#1387)
* Only allow state filter for filter card

* Lint

* Address comments
2018-07-02 14:03:59 -04:00
Paulus Schoutsen 6b8fbd91c6 Use name for entities (#1380)
* Use name for entities

* Glance: title -> name
2018-07-02 08:44:10 -04:00
Paulus Schoutsen 76256699e0 Fix card size calculation stacks (#1375) 2018-07-01 12:25:28 -04:00
Paulus Schoutsen dc5213a79a Fixes (#1377)
* Fix legacy wrapper in browsers without native custom elements

* Better error reporting for picture-elements

* Lint
2018-07-01 12:25:00 -04:00
Paulus Schoutsen cdb7a6261e Random fixes (#1369)
* Random fixes

* weather card to use legacy wrapper

* Lint
2018-06-29 15:35:46 -04:00
Paulus Schoutsen bb670b76a9 Migrate cards to use setConfig to get config. (#1363)
* Experiment with setConfig

* More cleanup

* fix filter card

* Wait for DOM to be done

* 1 line

* Lint

* Lint2

* Lint
2018-06-29 10:54:52 -04:00
Paulus Schoutsen d40dea6d3b Fix auth redirect url (#1357) 2018-06-28 14:48:01 -04:00
Paulus Schoutsen 654e74294d Default view (#1349)
* Do not rebuild config twice on tab change

* Allow setting default page
2018-06-27 14:18:58 -04:00
Paulus Schoutsen 20e92893e0 Organize createElement (#1348)
* Organize createElement

* Fix line-height
2018-06-27 14:18:05 -04:00
Paulus Schoutsen 2cfff991ac Do not use async await in custom panels (#1336)
* Do not use async await in custom panels

* Lint
2018-06-25 15:59:17 -04: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 501033df15 Allow specifying external resources (#1318)
* Allow specifying external resources

* Lint
2018-06-21 17:14:25 -04:00
Paulus Schoutsen 9d22645e87 Fix wrapping in the entities card (#1317) 2018-06-21 17:10:07 -04:00
Paulus Schoutsen 77f623d519 Lovelace: Small reorg (#1315)
* Small reorg

* Add markdown card

* Tweak closeness
2018-06-21 14:46:54 -04:00
Paulus Schoutsen 75502bac6e Bump min version for latest to use async/await (#1312)
* Bump min version for latest to use async/await

* Use async functions

* Load async support for es5

* Lint
2018-06-21 13:57:01 -04:00
Paulus Schoutsen 18b52b53cb Upgrade deps (#1311)
* Update polyfills

* Upgrade deps
2018-06-21 10:43:24 -04:00
Paulus Schoutsen b6ee5442f0 Track when cards get defined (#1310) 2018-06-21 10:42:52 -04:00
Paulus Schoutsen 1f8f6f52bc Rename experimental UI to lovelace (#1307)
* Rename experimental UI to lovelace

* Lint
2018-06-20 14:18:18 -04:00
Paulus Schoutsen 4acfa2ba88 Show an error screen when panel cannot be resolved (#1303)
* Show an error screen when panel cannot be resolved

* Lint
2018-06-19 15:50:52 -04:00
Paulus Schoutsen 87bd9ed48a Ask for reload on service worker change (#1302)
* Ask for reload on service worker change

* Lint and remove alert

* Fix it once and for all

* Lint
2018-06-19 15:50:41 -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
Paulus Schoutsen 4e608e6a2c Version bump to 20180617.0 2018-06-16 22:33:33 -04:00
Paulus Schoutsen ba2c3edc87 Fix closing tag 2018-06-16 22:32:46 -04:00
Paulus Schoutsen 13c8a00e97 Cleanup deps (#1288)
* Upgrade uglify-js

* Remove unused deps

* Add views
2018-06-16 22:32:05 -04:00
Paulus Schoutsen 1076fd8fc4 Version bump to 20180616.0 2018-06-16 17:32:05 -04:00
Paulus Schoutsen 5f226d1809 Add experimental UI (#1205)
* Add experimental UI

* Allow theming a view

* Name it css

* Allow applying themes

* Add filter card

* Add normal column layout logic
2018-06-16 17:29:18 -04:00
Paulus Schoutsen 052e659782 Clean up calendar panel (#1285) 2018-06-15 13:38:02 -04:00
Paulus Schoutsen 67cef55f34 Fix grey background partial-cards 2018-06-12 22:22:56 -04:00
Paulus Schoutsen 710d98feda Version bump to 20180613.0 2018-06-12 21:16:55 -04:00
Paulus Schoutsen b085121ab4 Update translations 2018-06-12 21:16:50 -04:00
Paulus Schoutsen 7f133d0316 Don't rely on get panels from websocket package (#1264) 2018-06-12 09:28:41 -04:00
Paulus Schoutsen 9717166fee Allow placeholders for config flow description (#1274) 2018-06-12 09:28:20 -04:00
Paulus Schoutsen 0b6214be2b Random fixes (#1276) 2018-06-12 09:27:46 -04:00
Paulus Schoutsen 7f93317314 Update partial-cards.js 2018-06-10 22:54:36 -04:00
Paulus Schoutsen b89de4b494 Point es5 adapter to frontend-es5 (#1273) 2018-06-08 16:37:52 -04:00
Paulus Schoutsen d243f2ead6 Build a new Hass.io panel (#1271)
* Build a new Hass.io panel

* Use webcomponents-lite.js

* Compress new panel

* Lint
2018-06-08 15:26:48 -04:00
Paulus Schoutsen 92930a2b94 Add es5 adapter to es5 panel (#1272) 2018-06-08 14:58:15 -04:00
Paulus Schoutsen 0ae676d9ba Better configure Carto Basemaps (#1267) 2018-06-07 17:16:08 -04:00
Paulus Schoutsen 673f769237 Remove word "EXPERIMENTAL" from config entry menu option (#1268) 2018-06-07 17:15:49 -04:00
Paulus Schoutsen eb91cedf68 Update config entries text (#1263) 2018-06-06 22:37:34 -04:00
Paulus Schoutsen 9ac1384e1f Remove has-scrolling-region attribute
Fixes #1250
2018-06-06 22:36:34 -04:00
Paulus Schoutsen cab53b3324 Use websocket for entity registry update (#1261)
* Use websocket for entity registry update

* Lint
2018-06-06 22:34:34 -04:00
Paulus Schoutsen bf4d0e6bc9 Use websocket to fetch themes and translations (#1260)
* Use websocket to fetch themes and translations

* Lint
2018-06-06 22:34:20 -04:00
Paulus Schoutsen 10c997b7b2 Remove no longer needed blocks (#1262) 2018-06-05 21:20:34 -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 af14fc6548 Preact: Import components in pages that need them (#1257) 2018-06-04 07:05:51 -04:00
Paulus Schoutsen 4bd14a5280 Version bump to 20180603.0 2018-06-03 12:24:53 -04:00
Paulus Schoutsen cf57cf853b Update translations" 2018-06-03 12:24:37 -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 c0919cfe11 Add paper-time-input back (#1242) 2018-05-31 17:20:57 -04:00
Paulus Schoutsen 045b1d02be Restore old Hass.io HTML build (#1218) 2018-05-27 17:24:40 -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 294f0febbf Move Hass.io panel files to hassio folder (#1215) 2018-05-27 12:00:54 -04:00
Paulus Schoutsen f51503af4f Write old mdi.html exactly as hass.io expects (#1213)
* Write old mdi.html exactly as hass.io expects

* Create build dir if it doesn't exist
2018-05-26 19:55:08 -04:00