Philip Allgaier
0c038398aa
Fix various slugify()
issues + add tests ( #10383 )
2021-10-25 16:26:38 +02:00
Bram Kragten
ec21f4c2c6
Capitalize relative time strings ( #10165 )
2021-10-06 13:56:52 +02:00
Bram Kragten
25c1156c88
Some code improvements ( #10156 )
2021-10-05 21:21:05 -07:00
Bram Kragten
1bccbd4173
Use browser default time and number formatting with polyfills if needed ( #9481 )
...
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2021-09-29 23:34:52 +00:00
Paulus Schoutsen
ac64d293e7
Sort tags in trigger ( #9921 )
2021-08-31 21:30:35 -07:00
Bram Kragten
e07ac52356
Add UOM to stats chart, fix coloring of bands ( #9665 )
2021-07-31 20:36:27 +02:00
Bram Kragten
5234e9bce5
still round numbers when not formatting them ( #9653 )
2021-07-30 17:36:31 +02:00
Bram Kragten
1531e99528
Energy dashboard tweaks and fixes ( #9643 )
...
* Energy dashboard tweaks and fixes
* Make headers smaller
* Change button styling in onboarding
* Disable add when no stat choosen
* Oops
* Update hui-energy-carbon-consumed-gauge-card.ts
* Update hui-energy-distribution-card.ts
2021-07-29 10:44:33 -07:00
Bram Kragten
e797c01761
Update lint rules ( #9563 )
...
Updated deps
Added `unused-imports`, prefer arrow, and import order
2021-07-15 12:08:04 +02:00
Bram Kragten
2aa8f5b352
Dev states: replace pattern in word by wildcard search ( #9288 )
2021-05-30 20:11:53 -07:00
Philip Allgaier
5f56040c64
Add friendly_name to dev tools "Entity" column + fuzzy search ( #7582 )
2021-05-26 15:29:51 +02:00
Philip Allgaier
3d4d789f7f
Detect and format date & timestamp attributes ( #9074 )
2021-05-25 22:39:21 +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
5754f4463d
Bump babel and eslint ( #9049 )
2021-04-30 12:15:31 -07:00
Philip Allgaier
899eab4e5c
Ensure 0 does not get formatted to empty string ( #8971 )
2021-04-23 09:29:03 +02:00
Donnie
538028a003
Refactor sequence matching to accept item rather than word array ( #8866 )
...
* Refactor sequence matching to require an item rather than array of words to filter against
* change 'words' to 'strings'. Add tsdoc description for ScorableTextItem
* Replace type checking with 'as' to clean up code
2021-04-14 15:29:10 -07:00
Donnie
7d5ecb8ba4
Update fuzzy scorer from VSCode ( #8793 )
2021-04-05 12:15:09 -07:00
Bram Kragten
8e3a7576ea
Align has template functions ( #8784 )
...
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2021-04-01 13:49:59 -07:00
Thomas Lovén
e714f32737
Refactoring automation trace graphs ( #8763 )
...
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2021-03-31 15:09:00 +02:00
Josh McCarty
f43c420d59
Create number formatting options on the profile panel ( #7925 )
2021-03-28 18:32:48 +02:00
Donnie
6de8b4e35f
Quick Bar: Use command category labels instead of icons ( #7692 )
...
* Change commands to use category labels instead of icons. Fixes several translation issues.
* Hydrate with latest dev and resolve conflicts
* Replace custom pill element with material chips
* Add category icons. Fix dark mode text colors
* Update src/components/ha-chip-set.ts
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
* Update src/dialogs/quick-bar/ha-quick-bar.ts
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
* Update src/dialogs/quick-bar/ha-quick-bar.ts
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
* Update src/components/ha-chip.ts
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
* Update src/components/ha-chip.ts
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2021-03-25 08:21:48 -07:00
Bram Kragten
7ea1ece169
Don't allow UI editor for service calls with templates ( #8581 )
2021-03-07 21:02:44 +01:00
Josh McCarty
7403405d12
Additional number formatting ( #7763 )
2020-11-25 11:37:58 +01:00
Josh McCarty
14db37459f
Formats number state with selected language in compute_state_display ( #7516 )
2020-10-30 22:58:52 +01:00
Donnie
a78c00fb41
Fix quick bar dark mode contrast, filter returning all items, no primary text ( #7430 )
...
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2020-10-23 00:06:36 +02:00
Bram Kragten
54ec37994c
Improve performance of quick bar ( #7359 )
...
Co-authored-by: Donnie <donniekarnsinsb@hotmail.com>
2020-10-21 13:07:44 +02:00
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
Zack Barett
12d73fe90d
Add Friendly Name to the Entity Picker + FuzzySeq Algo ( #7291 )
2020-10-14 20:20:21 -05:00
Donnie
63f60019d1
Add friendly name to quick bar list and filter ( #7306 )
...
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2020-10-13 17:26:12 -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
0d515e2303
Replace createValidEntityId with slugify ( #6505 )
2020-08-03 02:06:08 +02:00
Bram Kragten
d1dd8231cd
Allow to set an id and icon when creating new script ( #6373 )
...
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2020-07-14 21:58:24 +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
Paulus Schoutsen
2fda2ee742
Suggest a view path when user enters a title when creating a view ( #3448 )
...
* Suggest a view path when user enters a title when creating a view
* Lint
2019-08-01 13:33:28 -07:00
Paulus Schoutsen
8c904fb012
Sort config flow picker ( #3170 )
2019-05-07 21:07:59 -07:00
Paulus Schoutsen
b9f86f735b
Use named export for compare ( #3169 )
2019-05-07 17:47:19 -07:00
Paulus Schoutsen
9299d548ba
Convert common dir to TS ( #2580 )
...
* Convert common dir to TS
* Lint
* Update setup-leaflet-map.ts
2019-01-27 10:40:46 -08:00
Ian Richardson
acab465c96
Move click and tooltip function to LL folder ( #1935 )
2018-10-31 09:45:38 +01:00
Ian Richardson
2758e86fab
Convert hui-icon-element to TypeScript/LitElement and extract ElementClick mixin functions
2018-10-27 15:51:34 -05:00
Paulus Schoutsen
c593e2789c
Add basic overview page ( #1668 )
...
* Add basic overview page
* Add empty state
* Show hub devices
* Add more info to config entries page
* Lint
2018-09-17 14:11:07 +02:00