Commit Graph

63 Commits

Author SHA1 Message Date
Paul Bottein d95bf64edf
Add experimental sections view (#19846) 2024-02-22 20:51:48 +01:00
Simon Lamon ccada33caf
Accessibility improvements for circular progress indicators (#18506) 2023-12-04 14:06:25 +01:00
Paul Bottein 3da7025d78
Improve search for single character (#18748) 2023-11-24 14:37:59 +00:00
karwosts 239d8fa948
Fix card-picker search for single character (#18733)
* Fix card-picker search for single character

* Update src/panels/lovelace/editor/card-editor/hui-card-picker.ts

Co-authored-by: Paul Bottein <paul.bottein@gmail.com>

---------

Co-authored-by: Bram Kragten <mail@bramkragten.nl>
Co-authored-by: Paul Bottein <paul.bottein@gmail.com>
2023-11-24 15:23:27 +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
Paul Bottein 1cf928b425
Improve Lovelace types (#18652) 2023-11-15 11:13:49 +01:00
renovate[bot] 37ab5cbdc3
Update dependency fuse.js to v7 (#18462)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2023-10-30 15:09:12 +01:00
Bram Kragten 32472ca627
Add weather forecast options to more info (#17823) 2023-09-05 13:29:56 +02:00
Paul Bottein 510f9dbb12
Don't show paste from clipboard card when user search for a card (#17295) 2023-07-13 16:36:18 +02:00
karwosts 9bcbb6f914
Support cut/copy/paste in dashboard UI editor (#16707) 2023-06-26 11:14:14 +02:00
Steve Repsher 9ce4563dd4
Prefer nothing over empty templates (#15633) 2023-02-28 11:02:47 +01:00
Steve Repsher e8e4733fc9
Fix localize key type errors for states (#14691)
* Replace unavailable state checks with type predicate

* Remove localize exceptions related to state

* Use literal types for climate attributes

* Add fan action to climate tile badge

* Use literal types for truncated states in badges

* Use literal type for humidifier state

* Replace unavailable state checks in calendar and tile card

* Avoid string split for truncated key
2022-12-14 19:39:10 +01:00
Paul Bottein 57291183ca
update border radius to 12px (#14201) 2022-10-26 16:54:05 +00:00
Bram Kragten 62de708b2b
Align border radius (#14124) 2022-10-19 10:49:47 +02:00
Bram Kragten 49beafbe5f
Fix dev states filter field on iOS (#11839) 2022-02-24 21:57:20 +01:00
Bram Kragten 467a5169c0
Migrate search bar to mwc (#11637) 2022-02-10 08:23:21 -06:00
Philip Allgaier 0c940be5fb
Consolidate all icon button logic into `<ha-icon-button>` + ensure tooltip (#9230) 2021-10-14 15:44:20 +02:00
Bram Kragten 2936865c55
Bump typescript, lint, prettier (#10108) 2021-09-30 12:39:03 +02:00
Bram Kragten bc92c0b052
Upgrade to Lit 2 (#9199) 2021-05-18 07:37:53 -07:00
Bram Kragten 9f032a61a9
Add compatibility for Lit 2.0 (#8878) 2021-05-07 13:16:14 -07:00
Josh McCarty f43c420d59
Create number formatting options on the profile panel (#7925) 2021-03-28 18:32:48 +02:00
Bram Kragten ba90785115
Fix card picker cards (#7871) 2020-12-02 17:46:30 +01:00
Kendell R a0ef60de49
Make card picker border follow standards (#7162) 2020-12-02 16:14:46 +01:00
Bram Kragten 793b9f238c
Tweak card create dialog a bit (#6787) 2020-09-04 18:30:04 +02:00
Zack Arnett f3639c2663
Card Picker: Entity Picker (#6693) 2020-09-03 18:28:53 -05:00
Bram Kragten f8c5eeab5d
Replace all private properties with internalProperty decorator (#6386) 2020-07-14 21:38:36 -07:00
Bram Kragten 98656b0044
Little clean up (#6377) 2020-07-14 09:20:15 -07:00
Yosi Levy 7d1835e59c
Localization updates (#6359) 2020-07-11 18:07:22 +02:00
Yosi Levy 833ccf3637
Card picker improvements (#6361) 2020-07-11 18:06:39 +02:00
Bram Kragten 31a0c53855
Fix height of card picker (#6274) 2020-06-29 13:18:45 -07:00
Paulus Schoutsen 3b779bf423
Add ha circular progress (#6205) 2020-06-22 14:51:36 -07:00
Bram Kragten cf68f25a03
Don't throw errors in card picker (#6188) 2020-06-18 16:26:31 -07:00
Bram Kragten c251e4f241
Prevent add card dialog to jump on search (#6180) 2020-06-16 13:20:10 -07:00
Paulus Schoutsen c5ef33cc78
Upgrade Fuse (#6012) 2020-05-24 10:39:07 +02:00
Bram Kragten e4607735ff
Fix markdown card crashing the demo (#5962) 2020-05-21 13:00:33 +02:00
Zack Arnett 0321e55a42
EZ (#5901) 2020-05-16 11:15:04 +02:00
Zack Arnett a1ee9ad48b
Card Editor: Documentation per Card (#5888)
* Doc-links

* Comments

* Fix

* Remove unneeded code

* undo the change

* better
2020-05-15 21:50:28 -04:00
Bram Kragten c468aab9b2
Fix some imports (#5619) 2020-04-24 15:49:25 +02:00
Aidan Timson f57754212c
Add Search to Card Picker (#5497)
* Add Search to Card Picker

* Force focus

* Remove autofocus

* Fix from rebase

* Commit suggestion

Co-Authored-By: Bram Kragten <mail@bramkragten.nl>

* Flip autofocus

* Cache cards

* Make cards a property

* Add missing custom cards

* Set cards to render elements

* Commit suggestion

Co-Authored-By: Bram Kragten <mail@bramkragten.nl>

* Update src/panels/lovelace/editor/card-editor/hui-card-picker.ts

Co-Authored-By: Bram Kragten <mail@bramkragten.nl>

* Make card preview max width match columns

* Typo

* Add autofocus where wanted

* Update src/common/search/search-input.ts

Co-Authored-By: Bram Kragten <mail@bramkragten.nl>

* Update src/dialogs/config-flow/step-flow-pick-handler.ts

Co-Authored-By: Bram Kragten <mail@bramkragten.nl>

Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2020-04-17 23:29:49 +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
Bram Kragten ebb20abee0
Make unavailable elements disabled (#5386)
* Make unavailable elements disabled

* Unused

* Add checks for unknown

* Update hui-weather-entity-row.ts
2020-04-08 13:58:36 +02:00
Zack Arnett 8eebf51447
Card Picker: Fix Clicking cards (#5425)
* fix

* reviews
2020-04-02 17:52:43 -04:00
Thomas Lovén a0a4fcaf5f
Allow custom cards in card picker (#5122)
* Allow custom cards in card picker

* Lint. "Custom:" prefix to card names

* Address review comments

* Simplifications. Translation fixes.

* Less magic

* Move CUSTOM_TYPE_PREFIX

* Update hui-card-picker.ts

Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2020-03-31 16:20:09 +02:00
Zack Arnett 158eddfd44
Entity Card: Card Addition (#4971)
* Review to changed Src translations

* Reviews

* side by side theme

* Allow user to specify unit

* Add unit back update for headerfooter and editor

* Clean

* Unavailable for attribute that doesn't exist

* fix merge

* Fix from rebasing

* reviews

* Localize State

* fix for localize

* css

* reviews

* Break the rules
2020-03-30 19:49:02 -04:00
Zack Arnett 63a2d9dd18
alphabet english (#5284) 2020-03-20 11:48:02 +01:00
Zack Arnett f4211e3fa3
Find Entites: Filter Unavailable - Used and unused entities required (#5208)
* Update Find Entities

* lint

* Filter until max - entitiesFill-> entitiesFallback

* Comment - Move unav - unk filter to picker

* lint

* Var name update

* remove unnessary check

* add it back and fix logic

* use typescript ? in condition

* comments

* lint

* Compute used once

* pass in hass

* Return set

* fix merge

* Optimize unused entities in find
2020-03-19 14:39:14 -04:00
Zack Arnett b77e0b8125
Card Picker: Remove Scale (#5205)
* remove scalling

* add zoom back
2020-03-16 12:22:56 +01:00
Zack Arnett c7a5f63e33
Fix for safari (#5143) 2020-03-12 10:06:08 +01:00
Zack Arnett 8e7ef58715
Card Picker: Firefox Fix (#5098) 2020-03-07 21:59:25 -08:00
Zack Arnett aa2e632df3
Card Picker with Previews of cards (#4975)
* Card Picker with Previews of cards

* Getting Preview Async - Using dialogs entities

* Create generic getElement - filter entities before

* lint

* Add entities back to Picker. Set Qualifier

* Style Updates

* Move setup of filtered cards to connected

* style updates

* Dont pull entities if noEntity config

* Move all config logic to getConfig

* Style Update - Remove Manual process

* lint

* Accounting for ll-rebuild for async cards

* Style Updates - Use GetStubConfig for most

* Lint

* Filter entities with function - style - no preview

* Iframe rename and description

* Move getstubconfig to helper - update spinner

* Style for themes

* Move entities to be calc once

* Should update

* oops

* TSC

* Comments
2020-03-03 14:53:55 -05:00