Commit Graph

574 Commits

Author SHA1 Message Date
Bram Kragten 8f75c314f5
Fix supervisor loading race (#16460) 2023-05-07 22:48:16 -04:00
Bram Kragten 4e5a18d272
Remove polymer types, cleanups (#16385)
* Remove polymer types, cleanups

* Delete updated.ts
2023-05-04 15:24:24 +00:00
Bram Kragten a6e71f4c0a
Optimise supervisor entrypoint (#16379) 2023-05-02 20:45:35 +02:00
Steve Repsher 3ed3dab0a1
Clean up imports for some layouts (#16365) 2023-05-01 20:34:21 +02:00
Steve Repsher aac28efd32
Streamline HTML generation and consolidate templates (#16117) 2023-04-20 11:10:12 +02:00
Stefan Agner ac1e6b87ae
Change dhcp to auto in network config (#16185) 2023-04-17 18:04:09 +02:00
Joakim Sørensen 0478aed28c
Remove ha-call-api-button (#16182) 2023-04-14 14:35:25 +02:00
Joakim Sørensen 3a1fff81b8
Move add-on rebuild over to WS for newer core versions (#16180) 2023-04-14 07:33:03 -04:00
Bram Kragten 442f73b8c5
Add initial expose UI (#16138)
Co-authored-by: Paul Bottein <paul.bottein@gmail.com>
2023-04-12 18:33:40 +02:00
Bram Kragten 1596578f96
Fix automation editor (#16057) 2023-04-05 10:20:21 +02:00
Steve Repsher 1f1898fa46
Make module types explicit and convert some to ESM (#15964) 2023-03-30 11:23:43 +02:00
Bram Kragten f5a4affdec
Use mwc-drawer (#10335
* Use mwc-drawer

* Update home-assistant-main.ts

* Implement top-app-bar

* Update home-assistant-main.ts

* update hui-root

* WIP

tabs don't work yet

* migrate most panels

* fixed

* notifications-drawer

* developer tools

* lovelace

* Update hui-root.ts

* Update hui-root.ts

* Update notification-drawer.ts

* fix dev tools

* Update ha-panel-developer-tools.ts
2023-03-29 17:46:34 +02:00
Bram Kragten 0f5320c6fb
Drop polymer from authorize and onboarding entrypoint (#15760)
* Drop polymer from authorize and onboarding entrypoint

* Update ha-icon.ts

* dedupe
2023-03-29 12:17:42 +02:00
Joakim Sørensen 47cfc3d27c
Move deleting backups to WS (#15773) 2023-03-09 11:32:52 +01:00
Steve Repsher 9ce4563dd4
Prefer nothing over empty templates (#15633) 2023-02-28 11:02:47 +01:00
Bram Kragten 25d8550dd7
Fix double defined cloud-account (#15537) 2023-02-21 19:28:21 +00:00
Paul Bottein 8754947133
Compact more info header (#15448) 2023-02-20 13:58:10 +00:00
Philip Allgaier cb00535683
Add missing translations to Supervisor Wi-Fi network section (#14606)
Co-authored-by: Paul Bottein <paul.bottein@gmail.com>
2023-01-30 21:50:20 +01:00
Steve Repsher 1b922e0065
Add more alternative text to various images (#14932)
* Add alt text for cast launcher images

* Hide icon with supervisor form field label

* Use attribute for iframe title for ingress view

* Hide some decorative ZWave/ZHA icons

* Hide image preload in state card configurator

* Use title for alt text  on image media

* Hide media art as decorative

* Do not allow empty string for image media
2023-01-22 22:47:12 -05:00
Gia Ferrari 5c2fcd7f9b
Add alt attribute to various images (#14405)
* ha-config-area-page: Add alt tag for area-picture

* dialog-tag-detail: Add alt tag for generated QR code image.

* ha-config-hardware: Blank alt tag for hardware pic, info already elsewhere

* dialog-energy-solar-settings: Blank alt tag for brand icon.

* ha-energy-grid-settings: Blank alt tag for co2signal brand icon.

* Add a few more appropriately-blank alt texts.

* ha-config-device-page: Logo alt text set to name of device domain.

* ha-config-repairs: Logo alt text set to name of issue domain.

* hui-picture-card(-editor): Alternate Text via config (blank default)

* hui-picture-entity-card(-editor): Alternate Text via config (blank default)

* ha-long-lived-access-token-dialog: Alt text for QR code.

* hui-picture-header-footer: Support alt text via optional property.

* A few more blank alt attributes.

* ha-tile-image: Support alt tag (but it is blank in current usage).

* prod cla-bot

* Lint. Fix whitespace.

* Add missing alt text properties to TS types.

* Fix my silly typo in picture-entity-card-editor's SCHEMA (+ minor reformat)

* Add alt_text to Picture(Entity)CardConfig TypeScript types.

* Format with prettier.

* Revise alt text for tag QR

* Revise alt text for token QR

* Revise alternate to alternative

* Add alt to logo in gallery

* Add alt text to crop image

* Use ifDefined for tile image alt

* Change area picture alt to area name

* Remove entry from entities config struct

* Revert altText changes for Picture Entity Card (to revisit in future PR)

See:
https://github.com/home-assistant/frontend/pull/14405#discussion_r1032735871

* Revert changes to hui-image and picture entity editor

Co-authored-by: Steve Repsher <steverep@users.noreply.github.com>
2022-12-29 01:16:05 +00:00
Jaroslav Hanslík e926091e54
Sort strings by locale language (#14533) 2022-12-28 14:25:45 +01:00
Steve Repsher 311d11f2da
Add title attributes to iframes for accessibility (#14760)
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2022-12-14 16:50:14 +01:00
Steve Repsher 745753c526
Make corrections to .gitignore for directories (#14567) 2022-12-06 13:04:18 +01:00
Bram Kragten 2ed8a4053b
set backpath for supervisor addons panel (#14555) 2022-12-05 13:30:28 +00:00
Bram Kragten 370864e0ed
fix back button in hassio addons (#14161) 2022-10-24 11:03:32 +02:00
Bram Kragten a70e2342a2
Add main column to data table (#13966) 2022-10-03 13:37:00 +02:00
Paul Bottein 5146fa1d9e
Update join beta dialog (#13847) 2022-09-28 09:27:34 +00:00
Paul Bottein 61d09072a7
Update Uninstall add-on dialog (#13898) 2022-09-28 11:02:09 +02:00
Paul Bottein 4a07d3d39b
Update Restart add-on dialog (#13896) 2022-09-28 11:01:12 +02:00
Joakim Sørensen 1c05bc6380
Catch reload issues (#13487) 2022-08-25 15:02:30 +02:00
Joakim Sørensen 255cb23c7d Show homeassistant when creating partial backup (#13482) 2022-08-25 11:26:56 +02:00
Steve Repsher 52a1594969
Remove all exceptions from supervisor localize keys (#13402) 2022-08-20 13:37:57 -04:00
Steve Repsher d7b888f761
Fix localize key types related to form schemas (Group 3) (#13400)
* Fix key type errors for card editors (Round 4)

* Fix key type errors for remaining form schemas
2022-08-17 23:57:26 -04:00
Joakim Sørensen ca28feca80
Missing import and refresh correct collection (#13358) 2022-08-08 10:16:13 +02:00
Zack Barett f5d9a7d662
Merge pull request #13353 from home-assistant/Make-sure-we-have-supervisor.addon 2022-08-07 16:56:33 -05:00
Joakim Sørensen 0d5b86e2b6
Check store for addons when using my link (#13352) 2022-08-07 12:56:44 -04:00
ludeeus 825558c8db Make sure we have supervisor.addon 2022-08-07 16:53:09 +00:00
Steve Repsher 1d47303127
Separate supervisor localize key exceptions and disallow string (#13317) 2022-08-05 15:39:19 +02:00
Zack Barett c73677f15d
Move System Information to Repairs (#13281)
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2022-07-27 09:23:55 +00:00
Steve Repsher c99f00ba50
Setup stronger type for localize key (#13244) 2022-07-21 13:13:11 +00:00
Steve Repsher d332b8ab14
Fix bad localize keys (#13245)
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2022-07-20 18:34:09 +02:00
Joakim Sørensen 414db83359
Hide homeassistant from partial restore if no version (#13168) 2022-07-11 12:55:43 +02:00
Joakim Sørensen cd4f6e19f4
Await backup restore (#13167) 2022-07-11 12:50:37 +02:00
Joakim Sørensen e7848262ea
Split store and installed calls (#12921)
* Split store and installed calls

* Fix issue when installing

* Remove supervisor.addons usage

* one more

* Update core

* Comments
2022-06-11 11:04:54 +02:00
Joakim Sørensen 4ad49ef07f
Move to supervisor store API (#12911)
* Move to supervisor store API

* Add supervisorApiCall helper to simplify functions

* Do not consider ESPHome as custom repository

* Home Assistant Community Add-ons is not custom
2022-06-08 15:28:40 +02:00
Joakim Sørensen 0623e7dce4
Fetch supervisor info directly (#12751) 2022-05-23 13:00:16 -05:00
Joakim Sørensen a9d01c7b55
Add missing outlined to supervisor panel (#12565) 2022-05-03 17:06:21 +00:00
Bram Kragten 45c7e0eeeb
Use outline for cards on config pages (#12558) 2022-05-03 06:44:55 -05:00
Joakim Sørensen f5864181af
Add optional repository_url to supervisor_addon my link (#12524) 2022-04-30 16:53:43 -05:00
Joakim Sørensen a4a0d7cf19
Ignore modifier keys when forwarding events to quickbar (#12525) 2022-04-30 16:52:14 -05:00
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