Commit Graph

416 Commits

Author SHA1 Message Date
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 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
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
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
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 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
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
Paulus Schoutsen fe31f532b6
Update ESLint (#3664) 2019-09-08 23:38:58 -07:00
Paulus Schoutsen 203b14613f
Show a notification dot on toggle menu button in narrow mode (#3323)
* Show a notification dot on toggle menu button in narrow mode

* Fix lint

* Move menu button to sidebar

* Fix height sidebar
2019-06-30 15:02:53 -07:00
Paulus Schoutsen ae82eabaec Fix link colors in hassio addon view 2019-06-25 13:08:11 -07:00
Paulus Schoutsen 98c419ff03
Switch to woff2 fonts (#3296) 2019-06-21 12:48:20 -07:00
Paulus Schoutsen 21ed717287
Link to beta release notes for beta release in hassio (#3243) 2019-06-04 08:47:40 -07:00
Timmo 46f3add520 🔨 Fix hassio new add-on repository height (#3191) 2019-05-12 11:14:18 +02:00
Timmo a89f0bd1cd Add Search to Hassio add-on store (#3108)
*  Add search to hassio add-ons

* 👕 Fix linter error

* 👕 Lint fixes

* 🔥 Remove search from dashboard for this PR

* 🔥 Remove search from dasboard in this PR

* 🔨 Suggested changes

* 🔨 Change to fireEvent

* 🔨 Convert definition

* 🔥 Fix imports

* 🔥 Revert styling test

* 🔨 Fix search

* 🔨 CSS fix

* 🔨 Add smaller message to show no results found in repo

* 🔨 Fixes

* 🔨 CSS fixes

* 🔨 Add types

* 🎨 Max width

* 🔨 Fix margin jump

* 🔨 Add working memoizeOne

* 👕 Fix linting / error on build
2019-05-12 11:13:16 +02:00
Paulus Schoutsen 289611363e
Use named export for events mixin (#3166) 2019-05-07 17:47:44 -07:00
Paulus Schoutsen 73ef03e33f
Use signed path for camera snapshot (#3138) 2019-04-29 11:27:40 -07:00
Paulus Schoutsen 2624c1544b
Disable the show in sidebar toggle when HA < 0.92 (#3124)
* Hide the show in sidebar toggle on 0.92

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

Co-Authored-By: balloob <paulus@home-assistant.io>
2019-04-27 22:02:47 -07:00
Pascal Vizeli c260591d4d
Hass.io update labels (#3114)
* Hass.io update labels

* Update hassio-addon-info.js
2019-04-24 08:58:35 +02:00
Pascal Vizeli ad40d9927b Hass.io: Support automated panel integration (#3113)
* Hass.io: Support automated panel integration

* Update hassio-addon-info.js

* fix lint
2019-04-23 12:24:06 +02:00
Paulus Schoutsen 6ed2d288e6
addon -> add-on (#3094) 2019-04-15 10:53:53 -07:00
Paulus Schoutsen bbae3291e1
Support ingress custom panels (#3085)
* Support ingress custom panels

* Fix types

* Add disabled placeholder to network card
2019-04-11 11:42:52 -07:00
Paulus Schoutsen 5dbd5c7395 Fix hassio unavailable dashboard & update card 2019-04-10 15:38:33 -07:00
Paulus Schoutsen 671e564037 Fix hassio dashboard available maybe 2019-04-10 15:00:19 -07:00
Paulus Schoutsen 4d7bb0df7d Fix hassio loading 2019-04-10 12:46:42 -07:00
Paulus Schoutsen 26a39b1bb8 Hassio fixes 2019-04-10 12:32:21 -07:00
Paulus Schoutsen fe73213643 Fix hassio 2019-04-09 16:31:07 -07:00
Pascal Vizeli eda168247c
Add description support to UI (#3079) 2019-04-09 22:53:10 +02:00
Paulus Schoutsen 4d2390daf4
Hass.io snapshots -> Lit (#3078)
* Hass.io snapshots

* Fix rootnav
2019-04-09 13:05:56 -07:00
Paulus Schoutsen 1c17210948 Clean up even more (#3074) 2019-04-09 00:15:46 +02:00
Paulus Schoutsen 8df9ac9dfa
Fix paper-icon-button fail (#3069) 2019-04-07 23:50:58 -07:00
Paulus Schoutsen 70072786a1
Clean up hassio tabs page (#3068)
* Clean up hassio tabs page

* Make load optional

* Fix bug
2019-04-07 11:58:51 -07:00
Paulus Schoutsen cda29fcd07 Clean up hassio panel (#3067)
* Clean up hassio panel

* Extract dialog manager code

* Convert markdown dialog to show-dialog

* Extract snapshot dialog
2019-04-07 17:45:56 +02:00
Paulus Schoutsen cadcd845cc Add guard for addon 2019-04-06 12:32:45 -07:00
Paulus Schoutsen b07f95f956 Add hassio ingress support (#3062)
* Add hassio ingress support

* Remove logging

* Better integrate

* Add badge

* FIx type
2019-04-06 09:28:08 +02:00
Yosi Levy 8c7cdda3d3 Converted paper-dialog to ha-paper-dialog (#3055)
* Converted paper-dialog to ha-paper-dialog

* Fixed paths

* Fixed double import

* Fixed orphan tags

* Moved to /components and renamed

* Fixed hassio

* Fix travis issue
2019-04-04 15:11:43 -07:00
Paulus Schoutsen f4319d9b13
Fix custom panel/hass.io navigation (#3034)
* Hass.io: use correct function for firing evenet

* Fix navigation from custom panel
2019-03-29 16:40:28 -07:00
Paulus Schoutsen 48aa9a2ad7 Fix blank tabs in Hass.io 2019-03-20 13:46:53 -07:00
Paulus Schoutsen 03dffa9905 Fix hassio panel nav on <0.90 HA 2019-03-19 10:10:26 -07:00
Paulus Schoutsen 7caf37275d
Fix hassio repo editing (#2965) 2019-03-18 09:14:34 -07:00
Paulus Schoutsen 2fe0398f37 Make Hass.io menu toggle button work in pre and post 90 release (#2959) 2019-03-18 08:53:25 +01:00
Paulus Schoutsen 8785b03fd8
Menu button simplify (#2930)
* Simplify the hass-menu button

* Purge showMenu boolean
2019-03-14 13:54:46 -07:00
kethoth 0f779dd7f8 Apply text color to system information text (#2739)
Apply primary-text-color to content so the system information text can be themed.  Currently text remains black, which is unreadable on dark themes.
2019-02-13 11:22:19 -08:00
Paulus Schoutsen 1b8c567fd7
Use mwc-button instead of paper-button (#2744)
* Convert from paper-button to mwc-button

* Fixes

* Bye paper-button

* Fixes

* Final fixes

* Fix rebase conversion
2019-02-12 23:08:29 -08:00
Paulus Schoutsen 8db111c2fb
Update lint tools (#2576)
* Update lint

* Prettier Hass.io

* Update prettier
2019-01-26 19:34:07 -08:00
Otto Winter f7e3f4a828 Hass.io: Show ANSI color codes in logs (#2155)
* Hass.io: Show ANSI color codes in logs

* Use innerHTML and color classes

* Refactor ANSI function

* Readability

* Make green text black in supervisor logs

* Use assigning while loop
2018-12-02 10:26:32 +01:00
Bram Kragten 39819c5c58 Hassio: Fix download snapshot (#2071)
* Fix download snapshot

* async + helper

* pretty

* move catch

* fix

* Update data.ts
2018-11-21 19:28:48 +01:00
Bram Kragten 773711a2d5
Update Hassio with security options (#2067)
* new security options

* Add more info modal

Added more info modal and moved the security components.

* fixes

* show apparmor only if not default

* add colors to apparmor
2018-11-20 10:14:46 +01:00
Paulus Schoutsen a58a324073
Format html (#2006)
* Upgrade prettier

* Format files with prettier
2018-11-07 09:56:43 +01:00
Ian Richardson c0c7c0f41a Remove .js from imports (#1948)
* Remove .js from lovelace

Also cleaned up some trailing whitespace

* Go big or go home

* More removals

* Revert changes to gallery webpack

* Revert changes to webpack.config.js
2018-11-02 12:26:03 +01:00
Gabriel Oliveira fc96d33d6a 1813 - Improve Hass.io System cards UI (#1862)
* 1813 - Improve Hass.io System cards UI

* 1813 - Move margin to proper card file
2018-10-26 19:38:02 +02:00
Timmo cf8899fcbe ↕️ fix sorting of addons (#1845) 2018-10-24 09:58:44 +02:00
Paulus Schoutsen 34bfc12647
Prettier 💎 (#1737)
* Add prettier

* Apply Prettier
2018-10-11 12:22:11 +02:00
Paulus Schoutsen e1738b625d
Fix link color for Hass.io update panel (#1721) 2018-10-02 14:16:35 +02:00
Charles Garwood 458a7827f9 Fix for content appearing behind header in hassio and config panels (#1708)
* Call iron-resize on route change

* Add EventsMixin to hassio-main
2018-09-26 20:37:03 +02:00
Paulus Schoutsen be91688efb
Add link to release notes (#1694) 2018-09-24 11:05:23 +02:00
Paulus Schoutsen a5d47231aa
Fix text color for system panel (#1695) 2018-09-24 11:05:16 +02:00
Paulus Schoutsen 17ac6f96a0
Update deps (#1678)
* Update deps

* Lint

* Fix lint
2018-09-19 15:15:16 +02:00
c727 6b10eeb1e9 Hassio: Add button to change hostname (#1406)
* Hassio: Add button to change hostname

* Lint

* Lint
2018-07-04 22:49:29 -04:00
c727 9e2d311ce6
Hassio: fix scroll issues (#1354)
* Hassio: fix scroll issues

* Feedback

* Lint

* Lint

* Move to dom
2018-06-28 04:20:16 +02:00
c727 313a3dd2c9
Hassio: Fix error in store, remove asyn await (#1325) 2018-06-23 00:36:15 +02:00
c727 c83184654e Hassio: New API for HassOS (#1319)
* Hassio: New API for HassOS

* Fix

* Use async await
2018-06-22 12:44:11 -04:00
c727 c186a5aab2
Hassio: Add scrollbar to supervisor logs (#1301) 2018-06-19 15:31:16 +02:00
c727 21dcbb3b9d
Fixes and cleanup for #1299 and #1296 (#1300)
* Fixes and cleanup

* Rename function to genHassioIcons

* Update
2018-06-19 14:36:43 +02:00
c727 4cf7959b12
Hassio: Fix menu button icon (#1299)
* Hassio: Fix menu button icon

* Move comments

* Hups
2018-06-19 01:32:40 +02:00
c727 2a8462951b Hassio: Fix glitch in HA update card (HA 0.72+) (#1297) 2018-06-18 18:01:49 -04:00
c727 e28c651930
Hassio random fixes (#1278)
* Fix img width in markdown

* Flexify add-on view

* Hide deployment if null

* Fix mobile add-on view
2018-06-12 23:51:20 +02: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
c727 1a3966e55f Localize ha-relative-time (#1241)
* Localize relative time

* Add mixin

* Pass hass to ha-relative-time

* Remove debug

* Add hass

* Add hass everywhere

* Remove value from translation file

* Add quotes to attributes

* Lint

* Fix in hassio file

* Use current placeholder syntax

* Use correct syntax

* Move to ui.components
2018-06-01 09:55:00 -04:00
Paulus Schoutsen e158709b1e Include iconset for hassio 2018-05-28 17:11:54 -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 9393bb2fba
Include ha-iconset-svg with mdi (#1212) 2018-05-26 14:28:14 -04:00
Paulus Schoutsen e1c9f3deea Everything through navigate mixin 2018-05-17 18:20:23 -04:00
Paulus Schoutsen cb0db95abe
Build hassio panel (#1184)
* Fix hass.io panel

* Add develop scripts

* Build hassio on Travis
2018-05-16 23:03:48 -04:00