610 Commits

Author SHA1 Message Date
Wendelin
03a415beff
Onboarding restore use core api (#23920)
* Fix type issues

* Extract backup-upload

* Add onboarding upload section

* Extract and use ha-backup-details

* Implement backup details and restore

* remove unused hassio onboarding calls

* Require hass in dialog-hassio-backup

* Add restore view

* Add formatDateTime without locale and config

* Add restore status

* Fix prettier

* Fix styles of backup details

* Remove unused localize

* Fix onboarding restore translations

* Hide data-picker on core only instance

* Split uploadBackup into 2 separate funcs

* Add formatDateTimeWithBrowserDefaults

* Fix selected data for core only

* Show error reasons on status page

* Use new backup info agents

* Add mem function for formatDateTimeWithBrowserDefaults

* Fix overflow on mobile

* Handle errors when in hassio mode

* Fix cancel restore texts

* Fix hassio localize type issue

* Remove unused onboarding localize in hassio backup restore

* improve format_date_time

* Fix tests

* Fix and simplify backup upload issues

* Use foreach instead of reduce

* Fix attributes, unused styles and properties

* Simplify supervisor warning

* Fix language type issues

* Fix ha-backup-data-picker

* Improve backup-details-restore

* Fix onboarding-restore issues

* Improve loadBackupInfo

* Revert uploadBackup changes

* Improve cancel restore

* Use destructive

* Update src/panels/config/backup/dialogs/dialog-upload-backup.ts

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

* Show backup type not at onboarding

* Only show backup type in correct translationPanel

* Fix quotes

---------

Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2025-02-10 16:40:08 +01:00
Paul Bottein
173725f011
Use ignoreDiacritics in fuse library (#24041) 2025-02-03 12:53:34 +01:00
Paul Bottein
5453da75ea
Reintroduce backup switch when updating core and addons (#23814) 2025-01-27 08:25:28 +01:00
Wendelin
e703750136
Add and fix stylistic eslint rules (#23735)
* Fix stylistic eslint rules

* Fix eslint issues
2025-01-14 21:00:14 +01:00
Wendelin
abe8899f9b
Update ts-eslint (#23723)
* Update ts-eslint

* Remove comments

* Remove unused ts-ignore

* Add undefined generic type instead of unknown

* Remove unused undefined type

* Fix type issues

* Use undefined instead of void for subscribed return type
2025-01-14 11:24:02 +01:00
Bram Kragten
4cc95938c8
Remove backup toggle from supervisor addon page when update available (#23602) 2025-01-06 14:13:07 +01:00
Bram Kragten
4ffec51a5e
Fix restoring backup during onboarding (#23569) 2025-01-03 15:26:50 +01:00
Wendelin
37aa2bd869
Improve onboarding backup restore (#23340)
* Improve onboarding backup restore

* Fix onboarding backup restore

* Fix restoring value in onboarding-restore-backup
2024-12-20 12:13:16 +01:00
Paul Bottein
6934f0626c
Fix boolean attributes (#23189) 2024-12-06 18:39:34 +01:00
Petar Petrov
400ddbf625
Fix attributes broken by the warning fixes (#23182) 2024-12-06 14:56:42 +01:00
Petar Petrov
7a12fd2853
Fix ALL the eslint warnings (#23165)
* Fix many lint warnings

* Fix ALL lint warnings

* small fix

* type fixes
2024-12-06 09:55:07 +01:00
Jan-Philipp Benecke
adb22abd7d
Mark reset addon options dialog as destructive (#23009) 2024-11-26 21:16:13 +01:00
Jan-Philipp Benecke
4df90ebbc3
Mark delete backup dialog as destructive (#23008) 2024-11-26 19:54:10 +00:00
Wendelin
bd0bfc1fbe
Rspack (#22807)
* Add rspack

* Remove TransformAsyncModulesPlugin from rspack

* Migrate all webpack usage to rspack

* Migrate tests to vitest

* Fix test suites

* Remove chai dependency

* Fix compute_state_display tests

* Fix resolveTimeZone

* Reduces test pipeline

* Revert test ci

* optimize chunk filtering

* Migrate landing-page to rspack

* Update rspack dependencies

* Add rsdoctor

* Fix prod build bundle size

* Use rsdoctor for demo stats

* Remove unused webpack configs

* Update build-scripts/rspack.cjs

Co-authored-by: Petar Petrov <MindFreeze@users.noreply.github.com>

* Fix eslint

* Update rspack

* Remove unused code

---------

Co-authored-by: Petar Petrov <MindFreeze@users.noreply.github.com>
2024-11-26 14:49:13 +01:00
Simon Lamon
ee79c3a983
Remove rollup build configuration (#22181)
Rollup remove
2024-11-08 10:19:52 +02:00
Bram Kragten
9f55ef811d
move download logs button, switch between raw and normal logs (#22721) 2024-11-07 21:32:28 +01:00
Wendelin
26e914290d
Fix hassio logs translations (#22693)
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2024-11-06 12:33:45 +00:00
Simon Lamon
4cd4635fa5
Collection of localization issues (#22615)
* Fix wrong use of 'zero' in ICU formatted string for condition headlines

* Matter: Use setup code consistently

* Matter: Share from Google Home dialog

* Remove question format for settings toggles

* Add translation for current add-on version:" in add-on details

* Missing space

* Localize integration name not localized in single_config_entry alert

* Reword start into restart to indicate that the addon restarts when it crashes

* Rephrase rename description

* localize migrate script / automation

* Fixup script translation
2024-11-04 08:00:27 +01:00
Wendelin
f4df5852fb
Fix hassio repositories tooltip (#22610) 2024-10-31 13:43:51 +00:00
Wendelin
152b665f2e
Fix hassio backups translations (#22609)
* Fix hassio backup styling

* Add missing hassio backups data-table translations
2024-10-31 13:57:40 +01:00
Wendelin
830d8d2410
Add type import check to eslint (#22488)
* Add type import check to eslint

* Add type imports with eslint --fix
2024-10-30 11:12:30 +00:00
Paul Bottein
901f736d5f
Improve more info update release note display (#22502)
* Fix ha-settings-row

* Improve update more info and update available card

* Set actions at the bottom on mobile

* Use update instead of install

* Improve markdown loaded
2024-10-29 09:16:02 +01:00
Jan-Philipp Benecke
3e0c998e74
Show loading spinner when waiting for backups (re)load (#22485) 2024-10-29 09:38:13 +02:00
Wendelin
ca20c2d292
Config logs streaming (#22172)
* Add logs follow for error-log-card WIP

* Add stream config logs

* Add new logs indicator to error-log-card

* Add number of lines select for error-log-card

* Add improvements and nr of lines to error-log-card

* Fix error-log-card linter issue

* Use error-log-card in addon views

* Remove unused hassio-addon-logs

* Add backwards compatibility for error-log-card

* Remove version test flag in error-log-card

* Add recovery mode support to error-log-card

* Add search highlight for error-log-card

* Add search, add additional lines to ha-ansi-to-html

* Add infinity load older logs in error-log-card

* Fix hassio-supervisor-log using fetchHassioLogs

* Fix colored lines in ha-ansi-to-html

* Fix search and prevent empty parts in ha-ansi-to-html

* Fix load old logs initially in error-log-card

* Add download log lines dialog

* Fix load logs without stream in error-log-card

* Fix ha-ansi-to-html search

* Add debounce scroll for core provider in error-log-card

* Add hass.callApiRaw

* Fix variable naming for dialog-download-logs

* Improve scroll down wording in error-log-card
2024-10-23 13:07:00 +02:00
Simon Lamon
e16e851952
Fix invalid var references (#22482)
* var-fixes

* Prettier
2024-10-23 09:58:32 +02:00
Petar Petrov
54320c3dbf
Add option to delete add-on config on uninstall (#22268) 2024-10-22 18:30:32 +02:00
BlockyPenguin
f8b3a429c6
Improve accessibility for people with red-green colourblindness (#22365) 2024-10-17 18:24:26 +02:00
Bram Kragten
0c1b8abe03
Fix hassio entrypoint (#22194) 2024-10-02 14:20:53 +00:00
Bram Kragten
4e8b58cd6c
Add password field element (#22121)
* Add password field element

* Update ha-password-field.ts
2024-09-27 12:34:28 +02:00
Simon Lamon
c0043af4c9
Rename ha-list-new into ha-md-list (#22015)
ha-list-new => ha-md-list
2024-09-18 08:28:05 +00:00
Bram Kragten
4ade39543d
Add created/modified to registry tables (#21494) 2024-07-30 11:18:50 +02:00
Mike Degatano
2faa8fec17
Music Assistant repository is now built in (#21496) 2024-07-29 15:09:33 +00:00
Steve Repsher
345000a0e9
Redefine browser requirements for modern (latest) builds (#16506)
* Redefine browser requirements for modern (latest) builds

* Rename babel class properties plugin

* Fix only allowing latest Android

* Add browsers released in last year

* Use at or above for utilization (no change to browsers currently)

* Only use time query (no effective change)

* Add transform for private methods

* Fix some typos in browserslist config

Co-authored-by: Quentame <polletquentin74@me.com>

* bump browserslist-useragent-regex

* Add fallback feature detection for Array.prototype.findLast

---------

Co-authored-by: Quentame <polletquentin74@me.com>
2024-07-19 10:49:19 -04:00
Steve Repsher
82329833f5
Remove Safari 14.0 patch for delegatesFocus (#21247) 2024-07-03 06:28:57 +02:00
Paul Bottein
d9f1b06199
Fix undefined value in search (#21175) 2024-06-26 20:37:07 +02:00
Paul Bottein
f42a9ac070
Ignore diacritics (accents) in search (#21150)
* Ignore diacritics in search

* Rename variable
2024-06-26 10:07:31 +02:00
Paul Bottein
d0df029ff1
Update check update icon and add toast when checking update (#20677)
* Update check update icon

* Add toast when checking for update
2024-04-30 19:21:30 +00:00
Simon Lamon
32c403d069
Replace more paper-items (#19707)
Remove leftover paper items
2024-02-28 11:52:45 +01:00
Yosi Levy
0892ed18e5
RTL fixes (#19834)
* RTL fixes

* Additional update

* Fixed comments
2024-02-28 11:26:18 +01:00
Yosi Levy
5e40bb55eb
RTL fixes (#19563) 2024-01-30 14:27:40 +01:00
Yosi Levy
97652bd2f6
Various RTL fixes (#19495)
* Various RTL fixes

* Additional RTL

* Additional fixes

* Revert ha-dialog

* Improve margin-title

* Additional fixes

* Additional fixes

* Fix prettier

* More fixes

* Additional fixes

* Fix prettier

* Fix prettier again

* Additional updates

* Additional fixes

* Final fixes (left only)
2024-01-26 17:15:27 +01:00
Steve Repsher
349344161a
Fix incompatible object/array property types (2 of 3) (#19482) 2024-01-22 16:04:58 +01:00
Cody C
45398f84cb
Update hassio-addon-dashboard.ts to fix back button issue (#19477) 2024-01-19 21:06:29 +01:00
Steve Repsher
24bfa4919a
Fix property visibility mismatches (2 of 2) (#19448) 2024-01-19 09:39:41 +01:00
Steve Repsher
6234f7b7d2
Initialize boolean properties (#19445) 2024-01-18 16:39:33 +01:00
renovate[bot]
6f8c366bad
Update dependency prettier to v3.2.0 (#19411)
* Update dependency prettier to v3.2.0

* Reformat

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Steve Repsher <steverep@users.noreply.github.com>
2024-01-15 16:49:22 -05:00
Steve Repsher
70fcea0c2b
Disable attributes for hass, stateObj, selector, and route properties (#19362)
* Disable attribute for hass properties

* Disable attribute for stateObj properties

* Disable attribute for selector properties

* Disable attribute for route properties

* Switch from Object type to no attribute for same properties
2024-01-15 15:52:10 +01:00
Steve Repsher
b801441201
Fix property visibility mismatches (1 of 2) (#19376) 2024-01-15 15:40:03 +01:00
Steve Repsher
920df03cc1
Fix missing imports (1 of 2) (#19363) 2024-01-15 15:34:46 +01:00
Steve Repsher
3edc77c978
Fix missing element tag definitions (#19329) 2024-01-09 15:00:30 +01:00