Grzegorz Libiszewski
c3e155a95c
Unified safe area (insets) for Android and iOS ( #24689 )
...
* feat: Introduce new css variables for safe area
* feat: Replace all safe area env with variable
2025-05-22 08:11:04 +03:00
Wendelin
d2cc4a624e
Use `ha-line-height` css tokens in codebase ( #25468 )
2025-05-15 11:57:17 +02:00
Wendelin
3058fcad46
Use `ha-font-size` typography css tokens ( #25361 )
2025-05-09 13:47:25 +02:00
Wendelin
ba4ec960c8
Use `ha-font-weight` typography css tokens ( #25374 )
...
Co-authored-by: Petar Petrov <MindFreeze@users.noreply.github.com>
2025-05-08 15:11:53 +00:00
Wendelin
498f158253
Use ha-font-smoothing typography css tokens ( #25364 )
2025-05-08 17:32:48 +03:00
Wendelin
03ccf014d9
Use ha-font-family typography css token ( #25355 )
...
Use ha-font-family
2025-05-07 17:38:07 +03:00
Wendelin
ca642d46cc
Add typography styles ( #25171 )
...
* Add typoghrapy styles
* Split styles
* Fix duplicated html
* remove unused paper vars
* Fix vars
* Add vars autocompletion extension
* Fix css syntax highlighting
2025-04-28 16:04:47 +03:00
Simon Lamon
995e3f10ad
Replace remaining mwc-tabs ( #25179 )
...
* Remaining mwc-tabs
* Apply suggestions from code review
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
---------
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2025-04-26 20:12:03 +00:00
Simon Lamon
c7ca654926
Clean up polymer paper item CSS variables ( #24896 )
...
Co-authored-by: Wendelin <12148533+wendevlin@users.noreply.github.com>
2025-04-25 13:08:54 +02:00
Wendelin
ae74e3496c
Add typography tokens ( #25084 )
2025-04-24 16:52:03 +02:00
Bram Kragten
e156dd36f4
Use SWC for typescript, update to Lit 3, migrate decorators ( #25150 )
...
Co-authored-by: Wendelin <w@pe8.at>
2025-04-24 14:10:35 +02:00
Wendelin
dcbaa31c96
Add system-managed addon info ( #25132 )
...
* Add system managed addon info dialog
* Add system managed alert
* Fix translation
* Update hassio/src/addon-view/info/hassio-addon-info.ts
Co-authored-by: Petar Petrov <MindFreeze@users.noreply.github.com>
---------
Co-authored-by: Petar Petrov <MindFreeze@users.noreply.github.com>
2025-04-24 11:12:34 +03:00
Bram Kragten
74741c5d69
Don't use advanced mode in hardware dialog ( #25051 )
2025-04-14 15:14:44 +02:00
Bram Kragten
21b3177f95
Replace paper item in sidebar ( #24883 )
...
* replace paper item in sidebar
* make items same height as before
* remove polymer refs
* fix user badge
* replace removed styles (and remove unused)
2025-04-10 18:32:38 +02:00
Bram Kragten
386b8ba747
Move compatibility to static polyfill handling ( #24775 )
...
* Move compatibility to static polyfill handling
* Move compatibility to static polyfill handling
* Prettier
2025-03-26 11:38:53 +02:00
Wendelin
6aa2a576b3
Revert "Unified safe area (insets) for Android and iOS" ( #24629 )
...
Revert "Unified safe area (insets) for Android and iOS (#23811 )"
This reverts commit ee10f9080d
.
2025-03-14 11:03:50 +01:00
Wendelin
28c355812c
Add shoelace loading spinner component ( #24525 )
...
* Add loading spinner component
* Update some spinners
* Update some spinners
* Update indeterminate to ha-spinner
* add ha-spinner-delayed
* Remove ha-circular-progress component
* Update demo/src/custom-cards/ha-demo-card.ts
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
* Fix gallery
* Update set size
* Add ha-fade-in
* Remove wrong testing conditions
* Remove size number option
---------
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2025-03-13 17:05:51 +01:00
Grzegorz Libiszewski
ee10f9080d
Unified safe area (insets) for Android and iOS ( #23811 )
...
* feat: Introduce new css variables for safe area
* feat: Replace all safe area env with variable
* fix: CR fix move from derived styles to styles and rename
2025-03-13 10:20:54 +02:00
pisanvs
fee215fe96
Add missing margin to protection mode alert in addon info panel. ( #24490 )
...
* Add missing margin to protection mode alert in addon info panel.
* Only apply on the top level
Co-authored-by: Petar Petrov <MindFreeze@users.noreply.github.com>
---------
Co-authored-by: Petar Petrov <MindFreeze@users.noreply.github.com>
2025-03-10 06:29:17 +00:00
Stefan Agner
ba19849182
Avoid URL and email fields getting masked in add-on config view ( #24509 )
...
* Avoid URL and email fields getting masked in add-on config view
The backend will set "format" for add-on config options of type
"password", "url" and "email", to exactly these three values. Only
"password" fields should be masked though.
* lint
---------
Co-authored-by: Petar Petrov <MindFreeze@users.noreply.github.com>
2025-03-05 06:56:34 +00:00
Wendelin
a7b1c45c00
Replace simple-tooltip with ha-tooltip ( #24384 )
...
* Start with simple-tooltip migration
* Remove simple-tooltip
* Fix tooltip in hassio-repositories
* Remove space
* Update hassio/src/dialogs/repositories/dialog-hassio-repositories.ts
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
* Update src/components/ha-icon-overflow-menu.ts
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
* Update src/components/ha-target-picker.ts
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
* Update src/components/media-player/ha-media-player-browse.ts
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
* Update src/components/ha-target-picker.ts
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
* Fix content props
* Use ha-tooltip in data-table-icon
* Update src/panels/config/areas/ha-config-area-page.ts
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
* Update src/panels/config/devices/ha-config-device-page.ts
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
* Update src/panels/config/integrations/ha-integration-card.ts
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
* Update src/panels/config/integrations/ha-integration-card.ts
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
* Update src/panels/config/integrations/ha-integration-list-item.ts
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
* Update src/panels/config/integrations/ha-integration-list-item.ts
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
---------
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2025-02-25 14:58:38 +01:00
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