5950 Commits

Author SHA1 Message Date
Donnie
6f2a759ba3
Add scoring and sorting to sequence matcher (#7367)
* Replace sequence matcher with VS Code's score-based implementation

* Remove everything not related to fuzzyScore and matchSubstring

* Fix bug when filter length <= 3

* Add licensing and credit to Microsoft

* Remove unnecessary character codes

* Remove old sequence matcher, update tests, fix issue with not finding best score in list of words

* Remove unnecessary sequence precheck, refactor client api to remove array

* Fix issue with score sorting not implemented correctly and thus not actually sorting by score

* Update src/common/string/filter/sequence-matching.ts

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

* Remove unnecessary string return from fuzzy matcher. Clean up code

* Remove globals from filter. Move sorting logic into matcher

* Update function description, make score property optional.

Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2020-10-20 09:01:16 -07:00
Jaroslav Hanslík
5065901196
Modified icons of binary sensors: gas, problem, safety, smoke (#7403) 2020-10-20 17:43:01 +02:00
Philip Allgaier
41b59e6e11
Bump round-slider to 0.5.2 (#7399) 2020-10-20 08:58:35 -05:00
onagurna
43afdaadc6
Fix syntax error (#7402) 2020-10-20 15:09:27 +02:00
Tomasz
83c5151792
bump node-vibrant to 3.1.6 (#7400) 2020-10-20 12:42:51 +02:00
HomeAssistant Azure
0880ab67c6 [ci skip] Translation update 2020-10-20 00:32:22 +00:00
Donnie
c0b2143c7c
Quick Bar dark mode, ignore leading white space (#7387) 2020-10-19 22:10:44 +02:00
Philip Allgaier
c1de162c99
Visual alignment between PR 7364 & 7220 (#7396) 2020-10-19 22:09:15 +02:00
Philip Allgaier
a7ef8aba68
Add dialog-box warning support (#7356) 2020-10-19 22:08:35 +02:00
Philip Allgaier
3ee4c11a99
Move error log <ha-card> + color in log entries (#7382) 2020-10-19 22:05:19 +02:00
Philip Allgaier
990ae10dc2
Detect Lovelace resource type based on file extension (#7354) 2020-10-19 22:03:59 +02:00
Philip Allgaier
52b2fd046b
Improved automation & script menus + show errors in toast (#7371)
* Improved automation & script menus + show errors in toast

* Changes from review

* Re-added old error display

* Toast back to default duration + remove action
2020-10-19 19:55:36 +02:00
J. Nick Koston
9f41f80a91
Add support for displaying time listeners (#7220) 2020-10-19 19:43:04 +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
Daniel Martin Gonzalez
a4ea4b1f5f
Add Timer to Helpers (#7366) 2020-10-19 14:45:20 +02:00
Philip Allgaier
19fc37539e
Fix alignment / padding of ha-switch (#7349) 2020-10-19 14:44:54 +02:00
Philip Allgaier
ce7acb0feb
Clean up general config page code (#7383) 2020-10-19 14:40:01 +02:00
Philip Allgaier
105b7678b8
Make error texts of device automation picker translatable (#7370) 2020-10-19 14:30:40 +02:00
Philip Allgaier
b67575586e
Add option to copy system info into clipboard (#7323) 2020-10-19 14:29:10 +02:00
Ing. Jaroslav Šafka
3dc6898673
Enable volume up/down for media player (#7376)
Always show volume up/down buttons in media player
if SUPPORT_VOLUME_BUTTONS is supported.
And slider if supported

Previous impl. shows slider or up/down buttons.
2020-10-19 11:16:20 +02:00
Philip Allgaier
a73754c1b5
Use ha-card for dev tool "Services" + visual tweaks (#7364) 2020-10-19 11:15:12 +02:00
Charles Garwood
1ebf1c00d6
Initial OZW Node Config Panel (#7377) 2020-10-19 11:13:55 +02:00
HomeAssistant Azure
7dac7d757e [ci skip] Translation update 2020-10-19 00:32:45 +00:00
HomeAssistant Azure
b1f3192b95 [ci skip] Translation update 2020-10-18 00:32:21 +00:00
Donnie
16984d18bb
Refactor quick bar to use a common interface for future commands and easier sorting (#7368) 2020-10-17 15:48:48 -07:00
Philip Allgaier
e603893d77
Fix navigation links for "script/edit" (#7363) 2020-10-17 17:28:05 -05:00
Bram Kragten
a7998b30c6
Fix hls player (#7362) 2020-10-17 23:43:00 +02:00
Philip Allgaier
3277a4e8c3
Minor tweaks for when media player has no items (#7374) 2020-10-17 23:34:11 +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
Philip Allgaier
713e0579f8
Entity registry settings: Remove "Override" string + use domain icon as fallback (#7320) 2020-10-17 22:46:34 +02:00
Philip Allgaier
6e130cc020
Properly wrap integration title / device names (#7355) 2020-10-17 22:28:40 +02:00
Villhellm
eb036a12d9
add help button to tags config panel (#7278)
* add help button to tags config panel

* Update src/panels/config/tags/ha-config-tags.ts

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

Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2020-10-17 22:21:03 +02:00
Joakim Sørensen
534d1f5055
Add dialog and links for unsupported supervisor installation (#7332) 2020-10-17 22:18:17 +02:00
Daniel Martin Gonzalez
cbef909657
Add Counter to Helpers (#7346)
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2020-10-17 22:15:37 +02:00
Philip Allgaier
874f3b32b3
Harmonize the font sizes on area and device page (#7357) 2020-10-17 22:10:52 +02:00
Bram Kragten
2fd017cf73
Fix more info group (#7345)
Co-authored-by: Zack Barett <arnett.zackary@gmail.com>
2020-10-17 22:05:04 +02:00
Bram Kragten
5740b018a7
Prevent old more info control to be created (#7324) 2020-10-17 22:04:44 +02:00
Tomasz
288bf6805a
Sort persistent notifications ascending (#7195)
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2020-10-17 22:03:33 +02:00
HomeAssistant Azure
02d37a369a [ci skip] Translation update 2020-10-17 00:32:29 +00:00
Philip Allgaier
1d316c3258
Remove query caching to get YAML editor toggle working again (#7365) 2020-10-16 23:27:00 +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
Zack Barett
c268f42851
Entity Picker: undo fuzzy algorithm (#7360) 2020-10-16 09:45:58 -05:00
HomeAssistant Azure
7251e802ab [ci skip] Translation update 2020-10-16 00:32:27 +00:00
Matt
5b1a2d10c2
Add button that dismisses all notifications (#7223) 2020-10-15 16:22:47 -05:00
Charles Garwood
2dd7f292b1
Add product picture to ozw node dashboard (#7203) 2020-10-15 16:20:54 -05:00
Santobert
213c53e307
Add the options dark_mode_filter and dark_mode_image to the picture elements card (#7304) 2020-10-15 16:16:15 -05:00
Bram Kragten
ce07dfd8ac
Little clean up in data table (#7352) 2020-10-15 18:46:55 +02:00
Zack Barett
c1dba462e8
Lovelace Cards: Update size calcs and add height fixes for horizontal stacks (#7177) 2020-10-15 17:46:29 +02:00
Philip Allgaier
47f0d74812
New "clickable" property for <ha-data-table> (#7351) 2020-10-15 15:57:05 +02:00