Commit Graph

574 Commits

Author SHA1 Message Date
Joakim Sørensen 4b644d8bc5
Add supervisor redirects to m keyboard shortcut (#12466) 2022-04-27 13:36:47 +00:00
Joakim Sørensen ebc807a6a4
Add hass-quick-bar-trigger event to trigger quickbar from supervisor (#12467) 2022-04-27 08:08:45 -05:00
Bram Kragten dea6c0e761
Add header to supervisor backups page (#12444) 2022-04-26 17:53:32 +00:00
Joakim Sørensen bb1e6bf35b
Fix backup back path (#12435) 2022-04-26 15:29:56 +02:00
Joakim Sørensen c34fe184e8
Fix log syntax highlight when fetching logs from supervisor (#12430) 2022-04-26 06:09:39 -05:00
Joakim Sørensen 7363838f86
Move unsupported and unhealthy alerts (#12431) 2022-04-26 12:24:55 +02:00
Bram Kragten cff2f856b3
Don't show tabs in supervisor (#12417) 2022-04-25 13:37:48 -05:00
Joakim Sørensen 714f2447b7
Use more text selector types for add-on configuration (#12303) 2022-04-11 16:01:30 +02:00
Joakim Sørensen 8b82383790
Guard for partial translations (#12296) 2022-04-11 13:03:41 +02:00
Joakim Sørensen bbca7b762b
Use selectors for add-on network configuration (#12235)
* Use selectors for add-on network configuration

* Show container port as UOM if advanced user

* adjust
2022-04-06 22:21:06 +02:00
Joakim Sørensen 351ec08a71
Use selectors for add-on configurations (#12234) 2022-04-06 09:57:17 +02:00
Joakim Sørensen e0e01e68b4
Use change instead of click when selecting home assistant in backup (#12226) 2022-04-05 10:48:45 -05:00
Joakim Sørensen c68a1d21ff
Do not offer to partially backup homeassistant configuration (#12188) 2022-04-01 14:37:18 +02:00
Joakim Sørensen 7b6d3c0e36
Use update entities for showing updates on configuration panel (#12100)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2022-03-23 13:04:29 -07:00
Bram Kragten db830e9014
Fix theme setting (#11977) 2022-03-08 10:13:08 -08:00
Bram Kragten 3873203721
Convert inputs (#11907)
* Convert inputs

* Update dialog-thingtalk.ts

* imports
2022-03-07 12:45:39 +01:00
Steve Repsher 24829bd903
Supervisor mobile click accessibility (#11915) 2022-03-03 10:15:22 +01:00
Joakim Sørensen c2994343b4
Remove unused attributes from search-input (#11889) 2022-02-28 18:27:07 -06:00
Steve Repsher a9e5a5dd44
Add a few button labels (#11885)
* Add label to remove addon repository button

* Add label to delete energy device button

* Add label to quick bar button
2022-02-28 23:53:39 +01:00
Bram Kragten 49beafbe5f
Fix dev states filter field on iOS (#11839) 2022-02-24 21:57:20 +01:00
Bram Kragten 1719d062b3
mwc-select -> ha-select (#11806) 2022-02-23 18:59:36 +00:00
Joakim Sørensen eaf97ee7f5
Show Home Assistant when creating partial backup (#11758) 2022-02-21 09:33:02 -08:00
Steve Repsher 2281f5bafa
Set initial focus for supervisor dialogs (#11710) 2022-02-21 17:02:55 +01:00
Joakim Sørensen cbd0ef6b65
Add signed add-on capability and adjust max rating (#11703) 2022-02-17 10:43:26 +01:00
Bram Kragten ba63ab8b7a
Latest paper-dropdown -> mwc-select conversion (#11692) 2022-02-15 09:11:43 -06:00
Bram Kragten fc654d86c6
hassio fixes (#11688) 2022-02-14 22:33:12 +01:00
Bram Kragten 523afe2f6f
Another round of paper-dropdown -> mwc-select conversion (#11674)
* Another round of paper-dropdown -> mwc-select conversion

* ha-pick-language-row -> Lit

* Update hui-view-editor.ts

* Cleanup imports

* hassio

* Add explicit imports
2022-02-14 20:08:18 +01:00
Bram Kragten 0eeed85193
Bunch of fixes and cleanup (#11636) 2022-02-10 08:24:47 -06:00
Joakim Sørensen 92a9ed7080
Create error when trying to backup wile system in freeze (#11634)
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2022-02-10 10:29:42 +01:00
Joakim Sørensen 6a51e2aaad
Only show stable add-ons in the store if not advanced mode (#11596) 2022-02-07 23:18:52 +01:00
Bram Kragten e72a4e4a20
Convert HaFormSchemas to use selectors (#11589) 2022-02-07 10:06:04 -06:00
Bram Kragten 0540bae707
Fix dialog heading aria label (#11524)
Co-authored-by: Zack Barett <arnett.zackary@gmail.com>
2022-02-03 14:54:37 +00:00
Joakim Sørensen 5e80a2b465
Make sure we load data in update card (#11516) 2022-02-03 09:56:38 +01:00
Philip Allgaier ffaff30b46
Fix various supervisor tooltip and aria-label issues (#10878) 2022-01-25 16:36:35 +00:00
Paulus Schoutsen f75bf1f676
Check for updates in add-on store (#11382) 2022-01-21 08:16:45 -08:00
Joakim Sørensen 7ad0b37a9e
Use backend logic for partial backup while updating (#11364) 2022-01-20 10:12:52 -08:00
Joakim Sørensen 930c7e4afa
Add backup size to backup table (#11365) 2022-01-20 10:08:53 -06:00
Paulus Schoutsen f3642a1677
Use download util for diagnostics (#11349) 2022-01-18 08:52:29 +01:00
Joakim Sørensen 7d5b566312
Disable repository removal if used for installed add-ons (#10922) 2021-12-17 22:21:46 -08:00
Joakim Sørensen 07cd68f5d0
Always send homeassistant for partial restore (#10927) 2021-12-16 13:57:08 -08:00
Joakim Sørensen 99bf6fa781
Handle update-complete event on add-on page (#10929) 2021-12-16 12:39:21 -08:00
Joakim Sørensen bfad1eb5ac
Add bottom margin to update card (#10948) 2021-12-16 12:33:46 -08:00
Joakim Sørensen a7b558b64a
Add no update available message (#10891) 2021-12-13 17:20:38 +01:00
Joakim Sørensen b7665bef6f
Don't backup core for supervisor/os updates (#10886) 2021-12-13 10:53:02 +01:00
Joakim Sørensen 24e8028e8f
Use _version_latest for change log URL (#10821) 2021-12-07 23:37:06 +01:00
Joakim Sørensen 419879ee7a
Fix core changelog URL (#10804) 2021-12-06 12:51:56 +01:00
Joakim Sørensen 6877fd9e00
Hide updates for dev as well (#10761) 2021-12-02 17:32:18 +01:00
Joakim Sørensen 4cc104a99f
Use add-ons for mobile header (#10760) 2021-12-02 17:31:41 +01:00
Joakim Sørensen 2a5fc5181e
Fix create backup checkbox (#10756) 2021-12-02 11:54:05 +01:00
Joakim Sørensen 1d97d8dca9
Handle 0 updates and show back on supervisor panels (#10744) 2021-11-30 23:30:38 -08:00
Joakim Sørensen 117b50f3ea
Add ha-faded (#10651) 2021-11-28 22:27:53 -08:00
Joakim Sørensen 43011179eb
Finish up config changes (#10710)
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2021-11-26 17:24:30 +01:00
Joakim Sørensen f70485bc49
Don't make button disabled on error (#10699) 2021-11-25 16:56:57 +01:00
Joakim Sørensen 5fd4315789
Fix addon slug (#10693) 2021-11-23 08:53:17 -08:00
Joakim Sørensen ed291b57d0
Render update card on add-on page (#10681) 2021-11-23 08:18:40 -08:00
Laszlo Magyar c95a54c6f3
Fixing typo in #10626 (#10686) 2021-11-22 18:59:35 +01:00
Joakim Sørensen a991640f52
Remove first part of the update description (#10669) 2021-11-22 09:09:23 -08:00
Joakim Sørensen 3d99b92c07
Limit setting up supervisor subscriptions to the supervisor panel (#10680) 2021-11-22 08:59:28 -08:00
Joakim Sørensen 6335b13c5e
Remove core note on update page (#10661) 2021-11-21 09:16:06 -08:00
Joakim Sørensen 9f5756c9fa
Use ha-formfield around backup checkbox (#10653) 2021-11-18 16:09:39 -08:00
Joakim Sørensen 0ca35d7012
Remove ha-alert actionText (#10646) 2021-11-18 16:09:13 -08:00
Joakim Sørensen 91b009af79
Fix back button color (#10650) 2021-11-18 18:57:15 +01:00
Joakim Sørensen a567312bdb
Show updates on dashboard for dev (#10637) 2021-11-17 18:39:16 +00:00
Joakim Sørensen e9f0967578
Move updates (#10626) 2021-11-17 10:21:27 -08:00
Joakim Sørensen 87c2046ab5
Remove add-on store tab (#10624) 2021-11-15 09:15:20 -08:00
Joakim Sørensen 3fd0becfd4
Update registry dialog (#10524) 2021-11-04 13:47:53 +01:00
Joakim Sørensen 12ef191a0f
Handle missing hass with backup upload during onboarding (#10523) 2021-11-04 13:47:30 +01:00
Joakim Sørensen 3adbc4cfaf
Use ha-chip instead of ha-label-badge for add-on capabilities (#10398) 2021-10-25 18:25:37 +02:00
Joakim Sørensen b760e543b0
Fix overflow icon color in backup dialog (#10331)
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2021-10-20 08:41:56 +00:00
Bram Kragten 7488eb782d
Migrate all paper dialogs to mwc (#10333) 2021-10-19 13:56:49 -07:00
Joakim Sørensen b1e6935df9
Fix select options for add-on config (#10330) 2021-10-19 22:54:07 +02:00
Joakim Sørensen 62d3f74513
Change unsupported reason container to software (#10325) 2021-10-19 18:37:38 +02:00
Joakim Sørensen 21e1fef0fb
Use error for protection mode alert (#10315) 2021-10-19 18:37:22 +02:00
Philip Allgaier bdb3c04037
Ensure current active dark modes gets used for manually set themes (#10307) 2021-10-18 22:09:21 +02:00
Paulus Schoutsen 9fe4c79782
Convert all warning classes to ha-alert (#10289) 2021-10-16 14:38:58 +02:00
Philip Allgaier 0c940be5fb
Consolidate all icon button logic into `<ha-icon-button>` + ensure tooltip (#9230) 2021-10-14 15:44:20 +02:00
Paulus Schoutsen a839494a1e
Use MWC components for ha-form (#10120) 2021-10-07 12:21:35 -07:00
Joakim Sørensen 910cd98a38
Fix missing add-on rating (#10184) 2021-10-07 10:53:22 +00:00
Bram Kragten ec21f4c2c6
Capitalize relative time strings (#10165) 2021-10-06 13:56:52 +02:00
Philip Allgaier ea3fae2ce4
Make add-on sorting case insensitive (#10061) 2021-10-06 10:33:15 +02:00
Joakim Sørensen 7a9f17e059
Use heading property for data disk dialog (#10115) 2021-09-30 19:08:51 +02:00
Paulus Schoutsen 419942112b
Fix Lit lint warnings (#10112) 2021-09-30 08:46:03 -07:00
Bram Kragten 2936865c55
Bump typescript, lint, prettier (#10108) 2021-09-30 12:39:03 +02:00
Bram Kragten 1bccbd4173
Use browser default time and number formatting with polyfills if needed (#9481)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2021-09-29 23:34:52 +00:00
Joakim Sørensen b6344eb6e8
Fix link to os_agent (#10093) 2021-09-28 09:09:27 +02:00
Joakim Sørensen 03dc3e52b7
Add missing unsupported links (#10080) 2021-09-23 15:08:51 +02:00
Joakim Sørensen a3a08ff5c7
Add dialog to trigger moving datadisk (#10048)
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2021-09-22 13:37:21 -07:00
Paulus Schoutsen ac64d293e7
Sort tags in trigger (#9921) 2021-08-31 21:30:35 -07:00
Joakim Sørensen 67ab63f00e
Use ha-alert for error and warning messages in the supervisor panel (#9892)
* Use ha-alert for error and warning messages in the supervisor panel

* use actionText

* Update hassio/src/dialogs/network/dialog-hassio-network.ts

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

Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2021-08-27 16:45:05 +02:00
Joakim Sørensen 035d621109
Fix delete backup endpoint (#9890) 2021-08-27 12:26:23 +02:00
Bram Kragten d8929074b5
Use correct vars for gauge colors (#9727) 2021-08-12 15:59:42 +02:00
Joakim Sørensen eff48acdf4
Rename snapshot -> backup (#9393)
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2021-08-12 11:56:13 +02:00
Onur-d a9850f9641
Add max-width for Logos to 100% (#9779) 2021-08-11 17:19:12 +02:00
Bram Kragten 9dd6b3b72d
Add Energy panel (#9445)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2021-07-26 09:57:59 -07:00
Bram Kragten 3f447bb8a7
Bump Polymer (#9525)
* Bump Polymer

* Remove formatting from patch

* Cleanup

* Fix Vaadin

* Fix typing
2021-07-16 01:23:09 +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 be244b3d00
Rename hassos -> haos (#9477) 2021-06-30 12:00:33 +02:00
Joakim Sørensen 0a83a704f1
Ignore previous versions in add-on changelog (#9474) 2021-06-29 14:57:25 +02:00
Joakim Sørensen 14fcff7774
Fix secrets schema (#9446) 2021-06-21 09:41:06 +02:00
Joakim Sørensen 446a9b5c02
Don't clear action on expected error (#9428) 2021-06-16 11:13:30 +02:00
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