Commit Graph

116 Commits (use-5minute-lts-data-in-history-graphs)

Author SHA1 Message Date
Wendelin e703750136
Add and fix stylistic eslint rules (#23735)
* Fix stylistic eslint rules

* Fix eslint issues
2025-01-14 21:00:14 +01:00
Petar Petrov d77dd5300e
Require underscore for private methods (#23138) 2024-12-04 15:05:49 +01:00
martetassyns 5c7d9b3fa3
Made it easier to test the frontend against an existing core instance. (#23062)
* Made it easier to test the frontend against an existing core instance.

* Ensured that script works regardless of current working dir

* Use consistent quote style

* Also allow using variables in hassUrl override

* Improved the default behavior of the script

* more consistent variable naming

* don't install a global dependency

* documented caching wierdness where if you switch core endpoints the old one remains in use

* Simplified some code

* improved documentation

---------

Co-authored-by: Petar Petrov <MindFreeze@users.noreply.github.com>
2024-12-02 13:27:36 +00:00
Paul Bottein 3411967fd9
Only use duration poly-fill when necessary (#23030) 2024-11-27 17:13:29 +01: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
Wendelin 1e73cebda6
Fix hassio logs for core < 2024.11 (#22708) 2024-11-07 09:45:58 +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 bc11c0b3ac
Handle automation and dashboard drag and drop at the element level (#22300)
* Handle drag and drop at action, condition, trigger level

* Clean item path

* Clean item path

* Fix selectors

* Clean selector config

* Remove enhancedSelector

* Add option row component

* Fix DnD inside option sequence or condition

* Add comments

* Remove item path logic from the dashboard too

* Fix floor/area drag and drop

* Avoid UI jump in area dashboard

* Remove unused import

* Add comment
2024-10-30 08:44:38 +00: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
Paul Bottein 32feab6a70
Add floors to hass (#21960) 2024-09-13 11:07:04 +02:00
Steve Repsher 82d84de426
Enable service worker for legacy build (#21177) 2024-07-19 10:54:27 +02:00
karwosts 713763fc21
Fix visual map issues (#20541)
* Fix visual map issues (#15587)

- hover background color of zoom control in dark mode
- map light mode when dark theme is used
- background color of zoom control with map dark mode when light theme is used

* Fix breaking change (#15587)

* Change theme mode selection to use dropdown (#15587)

- Additionally fixed unpleasant horizontal scrollbar in map editor

* Add yaml migration, fix force light/dark options

---------

Co-authored-by: Christoph Wen <wen.christoph@gmail.com>
2024-04-24 11:35:37 +02:00
Bram Kragten 67c60a4aa8
Add strict connection cloud settings (#20585)
* Add strict connection cloud settings

* Change static page to guard page

* saving files helps...

* Add create link button

* use correct service
2024-04-24 11:06:15 +02:00
Paul Bottein 7398c6ab3e
Automation nested drag and drop (#19338)
* Add nested drag and drop for actions

* Add nested drag and drop for triggers, conditions and options

* Update src/panels/config/automation/action/types/ha-automation-action-choose.ts

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

* Move object at the root level

* Add support for choose option

* Fix undefined container (e.g else action)

* Add common nested array move function

* Move item at root level for manual automation

* Fix array move

* Don't fallback on body

* migrate blueprint and script

* Add drag and drop to service control

* Use context for reorder mode

* Rename reorder mode functions

* Fix hide menu props

* Fix drag and drop for choose action

---------

Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2024-01-18 14:26:17 +01:00
Simon Lamon 843430ef41
Cleanup iron resize event (#18813) 2023-11-29 21:02:57 +01:00
renovate[bot] 15395275ba
Update dependency prettier to v3.1.0 (#18675)
* Update dependency prettier to v3.1.0

* Reformat

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Steve Repsher <steverep@users.noreply.github.com>
2023-11-19 23:31:56 -05:00
karwosts ad51d313a1
Debug option to enable logging server calls (#17956) 2023-09-27 14:26:25 +02:00
Steve Repsher 1df1ce5423
Stop notifications for errors writing to system log (#18022) 2023-09-26 14:43:27 +02:00
Paul Bottein f7f1a0c32d
Add better localize keys typings for config pages (#17815)
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2023-09-05 11:39:03 +02:00
Paul Bottein 6e27fbe10f
Add unit when formatting attribute for display (#17607) 2023-08-18 10:28:27 +02:00
Paul Bottein ebee8f670e
Add format state/attribute to hass (#17249) 2023-08-10 09:57:56 +02:00
Bram Kragten d7e58a00ca
Add support for registering config panels (#17296) 2023-07-18 09:56:07 +02:00
Philip Allgaier b5eb18e163
Ensure domain titles are loaded for quick reload items (#17100) 2023-06-29 14:53:08 +02: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 f69ae84cc6
Use entity registry display api (#15549) 2023-02-23 16:30:13 +01:00
Philip Allgaier 0ae8246d8a
Simplify calendar "listWeek" and enable for "initial_view" (#9993)
fixes undefined
2022-12-05 16:11:12 +01:00
Allen Porter 9b6e33cfec
Add Calendar Event creation and deletion dialogs (#14036)
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2022-11-30 21:20:41 +01:00
Bram Kragten 3fc94106b8
Add entities, devices and areas to `hass` (#13530) 2022-08-31 13:15:21 +00:00
Steve Repsher c99f00ba50
Setup stronger type for localize key (#13244) 2022-07-21 13:13:11 +00:00
Philip Allgaier ea18fc0078
Ensure we always have an active theme name (fixes dark theme issues) (#10780)
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2021-12-03 17:02:54 +00:00
Bram Kragten 8022bd2868
Guard icon db check on hassio (#10181) 2021-10-07 10:31:47 +00:00
Bram Kragten dc50e54afc
Add period selection to energy dashboard (#9756) 2021-08-11 01:22:27 +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
Joakim Sørensen 59f3f819a6
Revert name change from selectedTheme to selectedThemeSettings (#9273) 2021-05-27 10:21:58 +02:00
Philip Allgaier 7f75ca81f1
Add support for custom themes to use dark mode (#8347) 2021-05-25 13:26:35 +02:00
Philip Allgaier 70a1edd1dd
Allow users to select time format for UI rendering (#9042)
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2021-05-20 16:23:53 +02:00
Bram Kragten bc92c0b052
Upgrade to Lit 2 (#9199) 2021-05-18 07:37:53 -07:00
Paulus Schoutsen 63e10314bd
Sketch out strategies (#8959)
Co-authored-by: Zack Arnett <arnett.zackary@gmail.com>
2021-04-23 09:36:45 -07:00
Josh McCarty f43c420d59
Create number formatting options on the profile panel (#7925) 2021-03-28 18:32:48 +02:00
Paulus Schoutsen 7bd4eeb0df
Trace foundation (#8608) 2021-03-12 20:13:06 -08:00
Bram Kragten 99eff73b0d
Add support for target to automation call service action (#8372) 2021-02-16 21:46:47 +01:00
Paulus Schoutsen fc48c59eb0
Clean up some types (#7801)
Co-authored-by: Zack Barett <arnett.zackary@gmail.com>
2020-11-25 12:31:51 +01:00
Paulus Schoutsen 51332bc7e7
Add frontend url (#7797) 2020-11-25 12:26:11 +01:00
Paulus Schoutsen 1d13947e71
Use Record type (#7798) 2020-11-25 10:40:32 +01:00
Zack Barett e555b24f50
Calendar: Adds an Update Size and Makes list view start today and adds in local for first day of week (#7541) 2020-10-30 17:03:02 -05:00
Zack Barett 1d9779d47c
Calendar Panel: Persist Calendars in Local Storage (#7540) 2020-10-30 11:28:19 -05:00
Donnie 9b4d01ab75
Add toggle for disabling quick bar shortcuts (#7495)
* Add toggle for disabling quick bar shortcuts

* Remove accidentally included code

* Change copy for toggle

* Rename hass property to be for generic shortcuts
2020-10-27 10:00:46 -07:00
Daniel Martin Gonzalez 26b476ab3c
Weather card: Add wind speed direction (#7202)
Co-authored-by: Zack Barett <zackbarett@hey.com>
2020-10-10 16:19:40 -05:00
Donnie 8d516ed12a
Add "quick open" style dialog for selecting entities and running reload commands (#7230)
Co-authored-by: Zack Barett <zackbarett@hey.com>
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2020-10-08 13:20:57 +02:00
Bram Kragten c90c88ecbf
Bump typescript (4) and babel (#7249) 2020-10-07 17:58:56 +02:00