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
2020-10-14 13:57:48 +02:00
2020-10-14 22:20:39 +02:00
2020-09-22 10:49:43 +02:00
2020-09-22 10:49:43 +02:00
2020-10-20 00:32:22 +00:00
2020-06-22 10:24:01 -07:00
2019-04-30 12:16:41 -07:00
2020-05-06 14:18:10 -07:00
2019-05-02 11:35:46 -07:00
2020-10-20 15:09:27 +02:00
2020-05-22 23:05:47 -07:00
2020-10-01 15:42:07 +02:00
2020-10-20 08:58:35 -05:00

Home Assistant Frontend

This is the repository for the official Home Assistant frontend.

Screenshot of the frontend

Development

  • Initial setup: script/setup
  • Development: Instructions
  • Production build: script/build_frontend
  • Gallery: cd gallery && script/develop_gallery
  • Hass.io: Instructions

Frontend development

Classic environment

A complete guide can be found at the following link. It describes a short guide for the build of project.

License

Home Assistant is open-source and Apache 2 licensed. Feel free to browse the repository, learn and reuse parts in your own projects.

We use BrowserStack to test Home Assistant on a large variety of devices.

Description
🍭 Polymer frontend for Home Assistant
Readme 144 MiB
Languages
TypeScript 93.4%
JavaScript 6.5%
Shell 0.1%