Commit Graph

574 Commits

Author SHA1 Message Date
Joakim Sørensen 915c46f144
Fix add-on configuration validation (#9424) 2021-06-15 21:00:28 +02:00
Joakim Sørensen e9b1b3d853
Fix issues with restoring snapshot during onboarding (#9385)
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2021-06-08 17:57:53 +02:00
Bram Kragten 82a4806e01
Change line logic 2021-06-07 10:45:57 +02:00
Joakim Sørensen ce419fae7b
Add password confirmation to snapshot creation (#9349)
* Add password confirmation to snapshot creation

* Remove confirm_password before sending

* change layout

* style changes

* Adjust styling

Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2021-06-07 10:45:20 +02:00
Joakim Sørensen c68b76e2da
Add hardware dialog (#9348)
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2021-06-07 10:16:33 +02:00
Joakim Sørensen 342020b420
Fix downloads on mobile (#9375) 2021-06-07 10:15:43 +02:00
Joakim Sørensen e00bcc9f48
Better exit navigation for my-ingress (#9342) 2021-06-03 10:01:12 -07:00
Joakim Sørensen bdef9fd040
Add missing media folder to snapshot (#9341) 2021-06-03 10:21:04 +02:00
Bram Kragten 4f60a92b92
Fix default themes (#9290)
* Fix default themes

* Simplify pick theme row
2021-05-28 20:02:28 -07:00
Joakim Sørensen 2d5ae78521
Add selection to snapshot table for mass deletion (#9284)
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2021-05-28 15:49:40 +02:00
Joakim Sørensen 959134df02
Better secrets support in add-on configuration (#9275) 2021-05-28 14:37:16 +02:00
Joakim Sørensen 59f3f819a6
Revert name change from selectedTheme to selectedThemeSettings (#9273) 2021-05-27 10:21:58 +02:00
Joakim Sørensen 02810efcc4
Replace Hass_io_ prefix for snapshot downloads (#9270) 2021-05-26 21:56:27 +02:00
Joakim Sørensen fa9c6a765a
Replace closing with closed in dialogs (#9257) 2021-05-26 11:10:27 +02:00
Philip Allgaier cbd6d4251c
Prevent shrinking of percent value in supervisor metrics (#9033) 2021-05-26 00:24:30 +02:00
Bram Kragten fdcbb5b432
Bump js-yaml (#9245) 2021-05-26 00:13:58 +02:00
Bram Kragten d97fb19f05
Ingress: Wait for dialog to close before navigating (#9250) 2021-05-25 22:11:52 +02:00
Joakim Sørensen 0dd3757df2
Refresh snapshot create/restore dialogs (#9223)
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2021-05-25 21:29:32 +02:00
Joakim Sørensen 21a3a8c594
Navigate cleanup (#9202) 2021-05-25 17:46:36 +02:00
Philip Allgaier 7f75ca81f1
Add support for custom themes to use dark mode (#8347) 2021-05-25 13:26:35 +02:00
Bram Kragten fd9bb4d8cc
Make chrome work-around work in iframes (#9200) 2021-05-21 09:09:31 +02:00
Bram Kragten bc92c0b052
Upgrade to Lit 2 (#9199) 2021-05-18 07:37:53 -07:00
Paulus Schoutsen 5730c14dc1
Make hassio backwards compat (#9195) 2021-05-17 23:59:46 +02:00
Paulus Schoutsen 37cc6709d4
If we have a link, make it a link (#9181) 2021-05-15 12:25:28 +02:00
Julien Roy cc0a120bf6
Switch update and openChangelog button (#9174)
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2021-05-14 16:55:38 +02:00
Joakim Sørensen b12a10ccb5
Add snapshot contents as secondary info for partial snapshots (#9166) 2021-05-14 11:49:52 +02:00
Joakim Sørensen 6dc7e852ae
Use hass-tabs-subpage-data-table for supervisor snapshots (#9103)
* Use hass-tabs-subpage-data-table for supervisor snapshots

* comments

* type

* cleanup

* change translations

* Update hassio/src/dialogs/snapshot/dialog-hassio-create-snapshot.ts

Co-authored-by: Bram Kragten <mail@bramkragten.nl>

* reset

* fix after rebase

* internalProperty -> state

Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2021-05-10 18:17:16 +02:00
Joakim Sørensen 4b796b4929
Add supervisor_ingress support to my (#9087) 2021-05-07 15:08:57 -07:00
Bram Kragten 9f032a61a9
Add compatibility for Lit 2.0 (#8878) 2021-05-07 13:16:14 -07:00
Joakim Sørensen 6e5e2625d6
Show supervisor addon configuration error (#8950)
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2021-05-05 10:26:11 +02:00
Paulus Schoutsen 13cc016b36
Fix some hassio things (#9059) 2021-05-01 14:30:33 +02:00
Bram Kragten 5754f4463d
Bump babel and eslint (#9049) 2021-04-30 12:15:31 -07:00
Joakim Sørensen 4d287a1f83
Use top.history in dialogs and navigate (#8995) 2021-04-26 16:41:30 +02:00
Philip Allgaier cba3992d2b
Make "Events" dev tools use screen space better (#7449) 2021-04-26 12:09:50 +02:00
Philip Allgaier a09b206b0e
Added missing <ul> to beta join dialog (#8927) 2021-04-16 16:06:52 +02:00
Carlos Garcia Saura bb4617c53b
Correct two swapped supervisor beta join action/confirm texts (#8922) 2021-04-16 14:54:39 +02:00
Philip Allgaier 9eb59062aa
Increase supervisor metric value span width to account for blank (#8885) 2021-04-12 23:02:09 +02:00
Joakim Sørensen b61410826d
Add AppArmor reason (#8829) 2021-04-07 02:05:27 +02:00
Joakim Sørensen 742028b691
Add analytics integration (#8695)
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
Co-authored-by: Philip Allgaier <mail@spacegaier.de>
2021-03-29 09:47:04 +02:00
Donnie 6de8b4e35f
Quick Bar: Use command category labels instead of icons (#7692)
* Change commands to use category labels instead of icons. Fixes several translation issues.

* Hydrate with latest dev and resolve conflicts

* Replace custom pill element with material chips

* Add category icons. Fix dark mode text colors

* Update src/components/ha-chip-set.ts

Co-authored-by: Bram Kragten <mail@bramkragten.nl>

* Update src/dialogs/quick-bar/ha-quick-bar.ts

Co-authored-by: Bram Kragten <mail@bramkragten.nl>

* Update src/dialogs/quick-bar/ha-quick-bar.ts

Co-authored-by: Bram Kragten <mail@bramkragten.nl>

* Update src/components/ha-chip.ts

Co-authored-by: Bram Kragten <mail@bramkragten.nl>

* Update src/components/ha-chip.ts

Co-authored-by: Bram Kragten <mail@bramkragten.nl>

Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2021-03-25 08:21:48 -07:00
Joakim Sørensen 740805356f
Add content trust reasons (#8674) 2021-03-22 12:25:59 +01:00
Paulus Schoutsen f34dfde925
Fix spaces in changelog link (#8652) 2021-03-16 12:39:16 +01:00
Philip Allgaier c8ea37eec0
Consistent blank before "%" (#8366) 2021-03-07 23:05:20 +01:00
Joakim Sørensen d715867b09
More consistant ignoring errors (#8553) 2021-03-05 10:40:49 +01:00
Joakim Sørensen c91779dffe
Add supervisor_add_addon_repository redirect (#8545) 2021-03-04 16:31:32 +01:00
Joakim Sørensen 3853cc9214
Check if addon is valid before navigating (#8538)
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2021-03-04 11:51:35 +01:00
Joakim Sørensen a66b3f6b80
Fix managing custom addon repositories (#8536) 2021-03-04 10:29:00 +01:00
Joakim Sørensen 6ee8d74899
Remove duplicate save (#8532) 2021-03-04 10:03:09 +01:00
Joakim Sørensen 419e564441
Use correct version (#8530) 2021-03-03 16:09:57 +01:00
Joakim Sørensen de97b54c95
Fix localize keys for supervisor update dialog (#8529) 2021-03-03 16:01:30 +01:00
Philip Allgaier 07001f7b5c
Fix add-on toggles description translation keys (#8528) 2021-03-03 15:33:52 +01:00
Joakim Sørensen bee17fce64
Fix second load in firefox and localize init (#8525) 2021-03-03 15:06:36 +01:00
Joakim Sørensen fe50f4229c
Fix missing localize on old core versions (#8522) 2021-03-03 11:05:04 +01:00
Joakim Sørensen 935d97ce1a
Fix reload of addon after update (#8518) 2021-03-02 17:05:11 +01:00
Joakim Sørensen 9f73f0ca8d
Merge update dialogs (#8516) 2021-03-02 16:39:54 +01:00
Joakim Sørensen 03b8c1348c
Use localize in the Supervisor panel (#8515) 2021-03-02 14:46:30 +01: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
Joakim Sørensen f43af9c0a5
Show config if options or schema (#8487) 2021-03-01 12:55:14 +01:00
Joakim Sørensen 22c8af0cc5
Fix add-on store search (#8479) 2021-03-01 12:41:55 +01:00
Joakim Sørensen f263a5221d
Adjust header and wording in update dialogs (#8476) 2021-03-01 12:40:52 +01:00
Joakim Sørensen 01e4414d17
Ignore error if we are not connected (#8472) 2021-02-26 21:37:06 +01:00
Joakim Sørensen 0bc2eb530d
Remove closing event from dialog (#8470) 2021-02-26 18:14:55 +01:00
Joakim Sørensen 478a4b2593
Add snapshot to core update dialogs (#8468) 2021-02-26 15:07:29 +01:00
Joakim Sørensen 9752e30eb4
Add snapshot to add-on update dialog. (#8463) 2021-02-26 14:44:27 +01:00
Joakim Sørensen af6e87ba31
Fix messaging when addon is not available (#8454) 2021-02-26 14:15:36 +01:00
Joakim Sørensen 97f9df2f2d
Add toggle to show_hide optional fields in add-on config (#8430) 2021-02-26 13:47:08 +01:00
Joakim Sørensen fd9441dde2
Fix blank page in ingress when resizing window (#8439) 2021-02-23 16:16:24 +01:00
Bram Kragten d51fd1e2f9
Add supervisor_logs and supervisor_info redirects (#8417) 2021-02-19 10:01:21 +01:00
Joakim Sørensen 09e7600d86
Use websockets (#8403)
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2021-02-18 18:18:05 +01:00
Joakim Sørensen acefa39796
Update supervisor info on addon action (#8404) 2021-02-16 21:38:23 +01:00
Joakim Sørensen c01c0528a6
Show options if no options and schema (#8408) 2021-02-16 21:25:59 +01:00
Bram Kragten 0ec58007c9
Add my support to supervisor (#8405)
* Add my support to supervisor

* Remove localize

* Comments

* Update ha-panel-my.ts
2021-02-16 19:50:35 +01:00
Joakim Sørensen c7821b9cee
Don't show add-on config if no schema (#8361) 2021-02-09 11:51:46 +01:00
Joakim Sørensen 48de8b0739
Block snapshots when system is not running (#8350) 2021-02-08 16:18:33 +01:00
Joakim Sørensen b75dc0efe0
Fix issue with jumping config (#8355) 2021-02-08 16:18:01 +01:00
Joakim Sørensen 4273b72d71
Fix issue where schema is null (#8322)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2021-02-04 14:01:53 +01:00
Joakim Sørensen e06642e892
Show the reason why an add-on is not available (#8312)
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2021-02-03 17:35:55 +01:00
Joakim Sørensen 5199e946a1
Fix button layout for addon-info (#8315) 2021-02-03 16:08:29 +01:00
Joakim Sørensen 17aff2f9b8
Move save button to the right (#8314) 2021-02-03 15:58:17 +01:00
Joakim Sørensen f7c7ac44f7
Show eMMC lifetime (#8302) 2021-02-03 15:52:52 +01:00
Joakim Sørensen 62dd0a561e
Fix display issue wtih addon-info grid (#8313) 2021-02-03 15:45:01 +01:00
Joakim Sørensen a9192ae2e1
Force YAML if schema has multiple (#8298) 2021-02-01 13:00:38 +01:00
Joakim Sørensen 86847263b8
Initial UI config for add-ons (#8271) 2021-01-29 18:06:38 +01:00
Joakim Sørensen 5ee0250ba5
Add hostname and metrics to Add-ons (#8253) 2021-01-27 22:38:07 +01:00
Joakim Sørensen 08c1b864fc
Fix missing addon list when creating partial snapshot (#8176) 2021-01-17 17:34:14 +01:00
Joakim Sørensen a1d07e5a00
Sort imports (#8104) 2021-01-13 17:17:12 +01:00
Joakim Sørensen edcb7e87bb
Hide configuration card if the add-on does not expose options or schema (#8131) 2021-01-11 14:43:24 +01:00
Joakim Sørensen 96f0ceeb8c
Update supervisor on add-on store refresh (#8132) 2021-01-11 14:42:58 +01:00
Joakim Sørensen b1483287dc
Add Core to supervisor/system (#8123) 2021-01-11 13:51:52 +01:00
Joakim Sørensen 4deeff7029
Prefix supervisor version with `supervisor-` (#8107) 2021-01-08 10:54:12 +01:00
Joakim Sørensen 4635b92e3f
Fix add-on stage icon rendering (#7981) 2020-12-29 22:59:07 +01:00
Georgi Kirichkov f335fdc002
Fixes a typo in hassio-supervisor-info.ts (#7987)
An "a" was missing in installtion
2020-12-16 10:28:21 +01:00
Philip Allgaier ca7b8b8b4c
Add option to deactivate a user (#7757) 2020-12-02 15:33:11 +01:00
Bram Kragten fe31d15d27
Add UI for setting an area on entity level (#7837) 2020-11-29 22:00:51 +01:00
Joakim Sørensen 6f0c79ec25
Introduce supervisor object (#7800)
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2020-11-25 18:22:05 +01:00
Joakim Sørensen 1d367eca69
Add ignored job_conditions to list of unsupported reasons (#7790) 2020-11-24 11:48:19 +01:00
Joakim Sørensen 0ef8881660
Add unhealthy dialog and SU restart button (#7781) 2020-11-23 17:24:26 +01:00
Joakim Sørensen d7d1121f7d
Force enable interface if configured (#7785) 2020-11-23 17:22:23 +01:00
Joakim Sørensen 7f089c309f
Change order and wording snapshot actions (#7677)
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2020-11-23 17:08:10 +01:00
Paulus Schoutsen 6d4569c89d
Drop webpackChunkName (#7778) 2020-11-23 10:39:40 +01:00
Joakim Sørensen c409ba149d
Supervisor network changes (#7676) 2020-11-19 22:51:29 +01:00
Joakim Sørensen 0b896ddfb1
Check snapshot size before upload (#7733) 2020-11-19 22:49:29 +01:00
Philip Allgaier 8275ac5853
Ensure "next" and "prev" buttons always have ARIA label (#7588)
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2020-11-10 11:39:09 +01:00
Paulus Schoutsen 7e2db0aa4e
Add ingress session validation (#7610) 2020-11-06 23:01:29 +01:00
Joakim Sørensen 682fa0d3eb
Haos update button (#7419) 2020-10-21 10:30:41 -05:00
Zack Barett fb9bd0eb7d
Fix prettier that keeps messing with merging dev (#7412) 2020-10-21 13:14:10 +02:00
Joakim Sørensen 01b9a07320
Change logic for the new version handling (#7405) 2020-10-21 12:40:06 +02:00
Joakim Sørensen eec4a91ad8
Fixes for snapshot upload during onboarding (#7390)
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2020-10-19 15:24:25 +02:00
Joakim Sørensen 7c51001c3c
Move valid so we don't cache an empty element for add-on config (#7394) 2020-10-19 15:23:13 +02:00
Philip Allgaier 7e769d0e14
Make <ha-card> use <h1> for header (#7373)
Co-authored-by: Zack Barett <zackbarett@hey.com>
2020-10-17 23:22:56 +02:00
Joakim Sørensen 534d1f5055
Add dialog and links for unsupported supervisor installation (#7332) 2020-10-17 22:18:17 +02:00
Joakim Sørensen a56ce62f1a
Add docker registry management (#7269)
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2020-10-16 17:25:23 +02:00
Jonas Bröms 2b3126ae04
hassio-addon-info.ts: Fix spelling (#7311) 2020-10-11 15:21:02 -05:00
Ryan Meek 892843b290
Supervisor disk usage more info (#7247)
Co-authored-by: Joakim Sørensen <ludeeus@gmail.com>
2020-10-09 10:15:55 +02:00
Joakim Sørensen 5fc0eaef1a
Warn about slow snapshot downloads (#7265) 2020-10-08 15:06:42 +02:00
Bram Kragten c90c88ecbf
Bump typescript (4) and babel (#7249) 2020-10-07 17:58:56 +02:00
Bram Kragten 5937be695f
Bump Lit, use cache for query (#7245) 2020-10-06 15:55:55 +02:00
Tomasz 5971aee02e
dot notation for path property of ha-svg-icon (#7197) 2020-10-05 19:51:14 +02:00
Ryan Meek 7e708b3bf7
Use consistent title case for headers in Supervisor (#7227) 2020-10-05 12:05:57 +02:00
Joakim Sørensen 590cd8500d
Restore snapshot from onboarding (#7132)
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2020-09-29 20:30:25 +02:00
Joakim Sørensen 28050fc9fb
Add upload snapshot dialog (#7115)
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2020-09-25 09:55:02 +02:00
Joakim Sørensen bd511887a7
Adds hassio-system-metrics (#7105) 2020-09-22 21:58:31 +02:00
Joakim Sørensen 6d5c6e2fbc
Show message when there are no add-ons (#7101) 2020-09-22 13:15:06 +02:00
Kendell R 4b846964be
Adopt --code-font-family (#6997) 2020-09-21 09:56:42 +02:00
Bram Kragten b7d7ca4014
Monkey patch for bug in safari 14 (#7031) 2020-09-17 10:49:37 +02:00
Joakim Sørensen 9c80776d8c
Refresh snapshots on first update (#7014) 2020-09-15 13:20:17 +02:00
Joakim Sørensen 239e817779
Rename upgrade -> update (#7013) 2020-09-15 11:15:58 +02:00
Joakim Sørensen 1986215919
Remove version check (#6984) 2020-09-15 11:15:22 +02:00
Franck Nijhof 239f5f1a2f
Add snapshot support for new media folder (#6889) 2020-09-15 11:14:25 +02:00
Joakim Sørensen fa65f84e09
Ignore disconnect codes for shutdown and reboot (#6901)
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2020-09-10 22:04:16 +02:00
Joakim Sørensen 0c7c536f73
Fixes issues with channel toggle (#6812) 2020-09-07 19:30:16 +02:00
Joakim Sørensen 509481ef06
Ignore more proxy disconnect codes (#6805)
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2020-09-06 20:29:02 +02:00
Joakim Sørensen 76f59d99a2
Remove extra > from button (#6804) 2020-09-06 18:29:39 +02:00
Joakim Sørensen b7845c318e
Error extraction and target cleanup (#6782) 2020-09-04 15:08:30 +02:00
Joakim Sørensen 5fa0012195
hassio-addon-info feedback (#6734)
* hassio-addon-info feedback

* lint

* init config validation

* better error

* Finish

* sort imports

* Use startup type for watchdog

* Only show error if issue with config

* Adjust
2020-09-03 16:38:59 +02:00
Joakim Sørensen 6f673359ff
hassio-supervisor-log feedback (#6736)
* hassio-supervisor-log feedback

* Update hassio/src/system/hassio-supervisor-log.ts

Co-authored-by: Bram Kragten <mail@bramkragten.nl>

Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2020-09-03 11:49:10 +02:00
Joakim Sørensen 45dfbff10a
hassio-addon-config feedback (#6732)
* hassio-addon-config feedback

* Update hassio/src/addon-view/config/hassio-addon-config.ts

Co-authored-by: Bram Kragten <mail@bramkragten.nl>

* Update hassio/src/addon-view/config/hassio-addon-config.ts

Co-authored-by: Bram Kragten <mail@bramkragten.nl>

Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2020-09-03 11:03:08 +02:00
Joakim Sørensen 348ee96274
hassio-addon-audio feedback (#6731) 2020-09-03 10:45:18 +02:00
Joakim Sørensen 8edee32e77
hassio-supervisor-info feedback (#6737) 2020-09-03 10:44:53 +02:00
Joakim Sørensen 6d8d263ca6
hassio-addon-network feedback (#6733) 2020-09-03 10:33:45 +02:00
Joakim Sørensen 35923709e2
hassio-snapshots feedback (#6735) 2020-09-03 10:32:21 +02:00
Joakim Sørensen fdd4d53448
hassio-host-info feedback (#6738)
* hassio-host-info feedback

* lint
2020-09-03 10:27:34 +02:00
Joakim Sørensen 8e506f7749
Handle connection drops when upgrading (#6767) 2020-09-02 16:21:59 +02:00
Joakim Sørensen c7f8fe1468
Don't show NM before 115 (#6768) 2020-09-02 15:58:14 +02:00
Tomasz a3f680d80c
Fix render modifiers - public to protected (#6753) 2020-08-31 14:59:12 +02:00
Bram Kragten 41195dcef0
Remove animation delay from paper tooltip (#6716) 2020-08-30 10:03:04 +02:00
Joakim Sørensen 78a1e45be2
Dismiss dialog if the user clicks outside it or hit the escape button (#6741)
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2020-08-30 09:42:58 +02:00
Joakim Sørensen d8e88bc58d
Ignore 504 errors while updating (#6743) 2020-08-30 09:39:34 +02:00
Joakim Sørensen dc5b92030f
Use ha-progress-button for update cards (#6725) 2020-08-28 14:16:55 +02:00
Joakim Sørensen c1a4b27bc7
Adds confirmation dialog to updates (#6709) 2020-08-26 18:13:22 +02:00
Joakim Sørensen 90f12eea5e
Limit changing network to systems that have that support (#6711) 2020-08-26 17:41:02 +02:00
Joakim Sørensen 3e6a759309
Changes to add-on options (#6706) 2020-08-26 15:53:25 +02:00
Joakim Sørensen 35a430e9f4
Add watchdog toggle (#6703) 2020-08-26 15:27:19 +02:00
Joakim Sørensen 04df6c3e9e
Supervisor system (#6699)
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2020-08-25 23:34:02 +02:00
Bram Kragten 6599351d45
Replace confirm with confirmation dialogs in snapshots (#6690) 2020-08-24 18:36:47 +02:00
Joakim Sørensen 77b25f5132
Merge pull request #6603 from home-assistant/supervisor-theme-legacy-backendselected 2020-08-12 15:40:48 +02:00
Ludeeus d09f74d30f console.die 2020-08-12 13:15:39 +00:00
Ludeeus 3d973b112e Use default as fallback theme for older versions 2020-08-12 13:15:24 +00:00
Ludeeus 96986164a4 Show error if not supported 2020-08-11 14:12:38 +00:00
Ludeeus 2bb64e9e2f Use supported instead 2020-08-11 12:28:35 +00:00
Ludeeus 746844dfc8 Only show diagnostics if healthy 2020-08-11 12:15:08 +00:00
Joakim Sørensen 41b613a2d7
Fix wrapping for diagnostics row (#6595) 2020-08-11 14:01:20 +02:00
Bram Kragten dec1f99a5f
Fix hassio panel dark mode (#6569) 2020-08-10 09:36:01 +02:00
Joakim Sørensen 947773a82e
Add diagnostics toggle (#6525)
* Add diagnostics toggle

* No need to check

* Expected blank line between class members

* Mimic the profile page

* Move settings-row to components and use button

* Update src/components/ha-settings-row.ts

Co-authored-by: Bram Kragten <mail@bramkragten.nl>

Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2020-08-07 08:47:25 -05:00
Bram Kragten c17ebfd279
Show small header on ingress panels when the sidebar is hidden (#6488) 2020-08-06 23:42:10 +02:00
Joakim Sørensen b29a700d40
Only show stage bage if not stable (#6546) 2020-08-06 17:50:46 +02:00
Joakim Sørensen 3ec8da1f17
Fix theme loading on earlier versions (#6521) 2020-08-06 14:04:22 +02:00
Bram Kragten 4ca13c409b
Introduce dark mode and primary color picker (#6430)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2020-08-03 02:07:12 +02:00
Bram Kragten 4404a1173b
Fix mwc-list/menu actions (#6442)
* Fix mwc-list/menu actions

Fix double actions when using request-selected

* Update ha-button-menu.ts

* Automation menu styling

* Update src/panels/lovelace/hui-root.ts

Co-authored-by: Zack Arnett <arnett.zackary@gmail.com>

* Move

Co-authored-by: Zack Arnett <arnett.zackary@gmail.com>
2020-07-21 23:22:19 +02:00
Bram Kragten 92915eddc2
Make menu's work with keyboard (#6421) 2020-07-17 20:31:44 +02:00
Bram Kragten f8c5eeab5d
Replace all private properties with internalProperty decorator (#6386) 2020-07-14 21:38:36 -07:00
Bram Kragten 90e14762e3
Fix double toolbars on error/loading in dev tools (#6380) 2020-07-14 21:58:40 +02:00
Bram Kragten a674ce36e4
Don't show null in hassio network settings (#6323) 2020-07-05 17:03:46 +02:00
Thomas Lovén e8996063dd
Remove google colors. Fix #6254 (#6263) 2020-06-29 10:51:28 +02:00
Paulus Schoutsen 3b779bf423
Add ha circular progress (#6205) 2020-06-22 14:51:36 -07:00
Paulus Schoutsen 7bbecfde2b
Fix hassio circular reference (#6204) 2020-06-22 07:25:16 +02:00
Joakim Sørensen 16c604937e
Display docker version (#5989) 2020-06-18 11:54:21 +02:00
Bram Kragten 25cc76e022
Replace paper-menu-button (#6132) 2020-06-09 22:30:36 +02:00
Paulus Schoutsen e384f76ac1
Make two builds of hassio (#6105) 2020-06-05 21:56:56 -07:00
Paulus Schoutsen 67ac3b4ba3
Drop Custom Elements ES5 adapter (#6107) 2020-06-05 11:04:19 +02:00
Paulus Schoutsen 4cbd8e7673
Include compatibility in Hass.io (#6098) 2020-06-03 17:18:04 -07:00
Paulus Schoutsen af23110074
Move legacy styles to their own files (#6033) 2020-05-25 10:16:01 +02:00
Paulus Schoutsen c5ef33cc78
Upgrade Fuse (#6012) 2020-05-24 10:39:07 +02:00
Paulus Schoutsen 7e281f66c2
Rollup (#5995) 2020-05-22 23:05:47 -07:00
Joakim Sørensen 21296b4224
Adds more styling to markdown elements (#5904) 2020-05-19 22:20:29 +02:00
Joakim Sørensen 7f66d5b8e9
Change target to currentTarget for the click event (#5816) 2020-05-08 16:31:07 -04:00
Bram Kragten 3febf059ec
Codesplit Supervisor panel icons (#5809) 2020-05-08 13:10:24 +02:00
Bram Kragten ca1cc7ed0d
Some little hassio tweaks (#5793) 2020-05-07 16:07:58 +02:00
Joakim Sørensen 808a31db2b
Hide auto-update for non advanced users (#5745) 2020-05-07 15:21:52 +02:00
Joakim Sørensen 44ad75aead
Implement add-on changelog (#5727) 2020-05-07 15:21:12 +02:00
Joakim Sørensen 0961c9d05e
Cleanup and new repository management for add-on store (#5750) 2020-05-07 15:20:51 +02:00
Bram Kragten 0a92c28bac
Split up mdi icons (#4379) 2020-05-05 16:40:11 +02:00
Bas Nijholt d419547463
make color of update-heading in primary-text-color (#5754) 2020-05-05 16:33:06 +02:00
Joakim Sørensen 0bdcfcc42f
Supervisor dialogs (#5740) 2020-05-04 14:35:15 +02:00
Joakim Sørensen 108233f3b8
Adds mainPage to hass-tabs-subpage (#5724) 2020-05-02 20:19:17 +02:00
Joakim Sørensen 7ed24137eb
Adds padding to ha-label-badge (#5725) 2020-05-02 19:20:47 +02:00
Joakim Sørensen 07cd30eaca
Place addon documentation in a card (#5726) 2020-05-02 19:20:20 +02:00
Joakim Sørensen df8cf66e02
Adds dialog to ask user to restart add-on on configuration changes (#5707)
* Adds dialog to ask user to restart addon on configuration changes

* Apply review suggestions

* Show error in dialog

* Remove unused import

* Update hassio/src/dialogs/suggestRestart.ts

* Rename

Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2020-05-02 19:19:45 +02:00
Franck Nijhof 786da25b9f
Fix typo and remove Hass.io references (#5717) 2020-05-02 17:02:10 +02:00
Joakim Sørensen 79d1a2f458
Add reload buttons to store and snapshot (#5714) 2020-05-02 15:18:57 +02:00
Joakim Sørensen f16a674a39
Supervisor style changes (#5706) 2020-05-02 14:42:12 +02:00
Joakim Sørensen 5ca63a8052
Convert the rest of the panel (#5689) 2020-05-01 16:52:03 +02:00
Joakim Sørensen d2a5494335
Adds stage badge (#5685) 2020-05-01 13:24:10 +02:00
Joakim Sørensen de545e90e2
Adds documentation tab (#5684) 2020-05-01 13:19:24 +02:00
Joakim Sørensen 6847830575
Use hass-tabs-subpage in add-on view (#5483) 2020-05-01 11:34:52 +02:00
Joakim Sørensen 8029c3d672
Adds more log types to the system tab (#5496)
* Add more log types to the system tab

* Fix lint issues

* Fix more lint issues

* Add loading screen while waiting for logs.

* Only show log selector if advenced user.

* Update hassio/src/system/hassio-supervisor-log.ts

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

* Log adjustments

* Remove the need for exported ANSI_HTML_STYLE

* Add core as a log provider

* Removed unneeded hints

Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2020-04-29 21:57:31 +02:00
Bram Kragten c468aab9b2
Fix some imports (#5619) 2020-04-24 15:49:25 +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
Joakim Sørensen 2253275640
Filter add-ons in the store based on advanced mode (#5486) 2020-04-08 13:49:37 +02:00
Pascal Vizeli ddb525f6cd
Fix hass.io panel for older version (#5365)
* Fix hass.io panel for older version

* Fix lint
2020-03-30 11:38:54 +02:00
Pascal Vizeli 554c0b692d
Fix supervisor panel (#5348)
* Fix supervisor panel

* Lint

Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2020-03-27 11:55:55 -07:00
Bram Kragten 7d6f188bfc
Change themes logic (#5232)
* Fix themes

* Update hui-view.ts

* Comments and bail out

* Update apply_themes_on_element.ts

* refactor, move meta to theme mixin, adapt lovelace theme picker

* console.bye

* Comments

* Optimizations

* Bail out early is no hex value

* Cache processed themes

* Remove hex-rgb cache
2020-03-20 21:30:20 +01:00
Bram Kragten af6ebea4a3
Fix translations in production builds (#5192)
* Fix translations in production builds

* Make env functions
2020-03-13 10:19:32 -07:00
Paulus Schoutsen 74657ae815
Make cast backwards compatible (#5081)
* Make cast backwards compatible

* Update hc-main.ts

* Update home-assistant-js-websocket
2020-03-05 13:36:13 -08:00
Bram Kragten d3105b6846
Add rel=noopener (#5046) 2020-03-04 22:34:48 +01:00
Bram Kragten 6b1e5a525f
Fix update if no lastversion and change audio pickers to default (#5010) 2020-02-27 11:44:09 +01:00
Bram Kragten b229071248
Add helper UI (#4940)
* Add helper UI

* Oops

* Update

* Update

* Update

* Lint

* Add all input forms

* Return extended entity registry entry from update

* Comments

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-02-26 12:53:03 +01:00
Chris Talkington 1f23e9062f
Fix typo in supervisor popup (#4966) 2020-02-24 20:45:08 -08:00
Bram Kragten c7f7ef28bf
Fixes removing audio device (#4763)
(only the supervisor doesn't support it)
2020-02-05 09:21:43 -08:00
Bram Kragten 8518f774d4 Rename hass.io panel to supervisor 2020-02-05 10:00:19 +01:00
Bram Kragten 7758ddba56
Fix theming with derived styles (#4758)
* Fix theming with derived styles

* Move
2020-02-04 15:40:35 -08:00
Paulus Schoutsen e0376c803f Fix hassio audio 2020-02-04 10:28:43 -08:00
Paulus Schoutsen 788c490bbc
Update update headers in hassio (#4751)
* Update update headers in hassio

* Other tabs too
2020-02-04 18:36:10 +01:00
Bram Kragten 4aa49f66bc Remove unused classmap 2020-02-04 15:55:29 +01:00
Bram Kragten 004ff58c21 Update hassio-style.ts 2020-02-04 13:34:14 +01:00
Joakim Sørensen f1a1654371
Use icon image where available (#4721)
* Use iconimg where available

* Adjust margin for icon

* remove log

* Fix property casing

* Add blue topbar, and generalize properties

* Inline checks

* inline property functions

* Limit compute

* Linting

* lovercase const

* Review comments and move update dot to line

* Add roboto font to hassio

* Fix update and stopped styles colliding

Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2020-02-04 12:36:09 +01:00
Bram Kragten 862044ca23
Hassio styling tweaks (#4749)
* Hassio styling tweaks

* Update hassio-style.ts

* Update hassio-pages-with-tabs.ts
2020-02-04 10:54:10 +01:00
Paulus Schoutsen 82ff444cec
Confirm when resetting hassio optoins (#4718) 2020-02-03 08:53:57 -08:00
Paulus Schoutsen 24c591fbf3
Convert Hass.io add-on options to YAML (#4717)
* Convert Hass.io options to YAML

* Fix yaml editors on other places

* Update ha-automation-action-service.ts

Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2020-02-03 11:06:47 +01:00
Paulus Schoutsen b082828a75
Forward haptic events to parent window (#4719) 2020-02-01 08:11:57 -08:00
Paulus Schoutsen 25f5bf0042
Fix ingress add-on not started dialog showing twice (#4716)
* Fix ingress add-on not started dialog showing twice

* logging not allowed
2020-02-01 08:11:30 -08:00
Joakim Sørensen 3215437bb8
Fixes add-on audio selector (#4648)
* Fixes addon audio selector

* Set device as property

* Use getAttribute

* Keep device as attribute

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-01-31 23:03:30 -08:00
Joakim Sørensen 036eedc69d
Add styles to addon-header (#4632)
* Add styles to addon-header

* Update hassio/src/addon-view/hassio-addon-info.ts

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

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-01-28 14:37:53 -08:00
Joakim Sørensen 7937714ce6
Fixes add-on install button (#4635)
* Fixes add-on install button

* Set the default

* linting issue
2020-01-28 14:37:42 -08:00
Joakim Sørensen 6e624b394b Corrects add-on link (#4634)
* Fixes the addon url

* quote it

* Don't link the extra space

* puerly for testing

* Don't link the extra space
2020-01-28 11:39:42 -08:00
Joakim Sørensen 1cb10694e7 Fixes status switch spacing (#4633)
* fix switch spacing

* Fix alignment
2020-01-28 11:37:33 -08:00
Bram Kragten 04f8f0f74f Render should always return a html template (#4612) 2020-01-27 08:34:22 -08:00
Joakim Sørensen 523dc881bb Convert Hass.io panel to TS/Lit (#4398)
* Convert system

* Convert dashboard

* Remove logging statement

* Convert addon view (base) and log

* Convert addon-view info

* Remove unintended file in commit

* Convert ansi-to-html

* Fix log update reloading

* Convert addon-view config

* Convert addon-view network

* Add inn missing haStyle

* Convert addon-view audio

* convert dialog-hassio-markdown

* Convert dialog-hassio-snapshot

* Convert entrypoint

* Convert hassio-style

* Lint hassio-addon-audio

* Lint hassio-addon-audio

* Lint hassio-addon-config

* Remove file that should not have been comitted

* Linting of the rest

* Cleanup

* Cleanup config

* Required changes after rebase

* Change property/method clasification

* use ? for _inputDevices and _outputDevices

* Use undefined instead of null for addon property

* Use ? for addons property

* Async addon audio

* Corrects typo in Error

* Wrap async calls in try/catch

* Remove npm task

* Fix async constant/functions

* Reintroduce noDevice

* We don't use the data of the POST no need to store and pass it

* Update hassio/src/addon-view/hassio-addon-info.ts

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

* Update hassio/src/addon-view/hassio-addon-config.ts

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

* Update hassio/src/addon-view/hassio-addon-audio.ts

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

* Update hassio/src/addon-view/hassio-addon-audio.ts

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

* Apply review comments

* Simplify selected item change

* Change back to attr

* Apply lessons learned to addon-config

* Send event on config change

* Extract error msg

* Apply lessons learned to addon-info

* Apply lessons learned to addon-logs

* Fix shorthand linting issue

* Prefix private with _

* reset error

* Apply lessons learned to addon-network

* Revert package.json change

* Apply lessons learned to addon-view

* Fixes Unnecessary 'await' issue

* rename content -> addoninfo

* Update hassio/src/addon-view/hassio-addon-config.ts

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

* Update hassio/src/addon-view/hassio-addon-config.ts

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

* Update hassio/src/addon-view/hassio-addon-config.ts

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

* Update hassio/src/addon-view/hassio-addon-info.ts

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

* Update hassio/src/addon-view/hassio-addon-info.ts

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

* Update hassio/src/addon-view/hassio-addon-info.ts

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

* Update hassio/src/addon-view/hassio-addon-info.ts

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

* Update hassio/src/addon-view/hassio-addon-info.ts

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

* Update hassio/src/addon-view/hassio-addon-info.ts

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

* Update hassio/src/addon-view/hassio-addon-network.ts

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

* Update hassio/src/addon-view/hassio-addon-logs.ts

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

* Update hassio/src/addon-view/hassio-addon-info.ts

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

* Update hassio/src/addon-view/hassio-addon-info.ts

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

* Update hassio/src/addon-view/hassio-addon-info.ts

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

* Update hassio/src/addon-view/hassio-addon-info.ts

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

* Update hassio/src/addon-view/hassio-addon-info.ts

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

* Update hassio/src/addon-view/hassio-addon-info.ts

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

* Fix syntax issues

* Fix error handling issues

* Use forEach and not map

* Use private for _error

* Update hassio/src/addon-view/hassio-addon-info.ts

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

* Update hassio/src/addon-view/hassio-addon-info.ts

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

* Use classMap

* remove unneded limitations

* it can be null

* Update hassio/src/system/hassio-supervisor-log.ts

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

* split hassio.ts

* Update datahandling

* Return result

* Use map instead of forEach

* Unnecessary 'await'.

* Move setSupervisorOption to data/hassio/supervisor

* Unnecessary 'await'

* Move fetchSupervisorLogs to data/hassio/supervisor

* Move fetchHassioHardwareInfo to data/hassio/hardware

* change error property

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2020-01-26 20:37:20 +01:00
Paulus Schoutsen 5ff8fe68ba Alert user when add-on not started (#4485) 2020-01-17 17:02:56 +01:00
Joakim Sørensen a2f8e5f3e7 Hide protection mode toggle if not usable (#4392) 2020-01-02 10:20:21 +01:00
Bram Kragten 8a39d18323 Bump TypeScript to 3.7 (#4282)
* Bump TypeScript to 3.7

* Update prettier to support ts 3.7

* Prettier

* More prettier

* Even more prettier
2019-11-27 13:51:03 -08:00
Josh McCarty 1e7497ad33 Revise hassio update card design (#4041)
* Revise hassio update card design

See https://github.com/home-assistant/home-assistant-polymer/issues/3916

* Remove available text; use secondary text color instead of yellow/orange

* Less bold text for update header
2019-10-22 23:06:18 +02:00
Paulus Schoutsen 70d6c6b902
Refactor Webpack build scripts (#4093)
* Refactor Webpack build scripts

* Add Gallery too

* Fix icons

* Update travis
2019-10-21 15:02:54 -07:00
Ian Richardson 0078b48e3c
card level themes (#4057)
* card level themes

weather-forecast
shopping-list
plant-status
markdown
alarm-panel

* fix markdown

* address comments

also added picture cards

* update updated

* address comments

* address comments
2019-10-21 12:38:06 -05:00
Phi Dong 4dbf5327bd Update snapshot actions to be a list (#4045)
* Update snapshot actions to be a list

* Update text of delete button to warning color
2019-10-19 18:03:22 +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 05a258c886
Add hassio supervisor and os update notice (#3798)
* Add hassio supervisor and os update notice

* Cleanup

* Update hassio-dashboard.ts

* Fix styling

* Check if system has HassOs

* Remove unused import
2019-09-26 13:47:34 +02:00
Bram Kragten a1b9a092d0 Bring back babel for ES5 builds (#3797)
* Bring back babel for ES5 builds

* Remove ts from babel
2019-09-23 13:15:12 -07:00
Ian Richardson 5e28e1b320 Switch paper-toggle-button to mwc-switch (#3683)
* Switch paper-toggle-button to mwc-switch

Closes https://github.com/home-assistant/home-assistant-polymer/issues/3352

* ha-switch

* apply not-checked theming

Thanks @bramkragten!

* address review comments
2019-09-21 11:59:27 +02:00
Paulus Schoutsen 1a5ae99c42 Update ESLint 2019-09-08 23:51:30 -07:00