Paul Bottein
1cf928b425
Improve Lovelace types ( #18652 )
2023-11-15 11:13:49 +01:00
Caius-Bonus
c48b620e03
Fix inconsistencies in slugify
between frontend and core implementation ( #18297 )
2023-10-23 08:37:56 +00:00
Paul Bottein
6c7efc17c2
Fix more info type test ( #17758 )
2023-08-31 22:37:25 +02:00
Steve Repsher
fa1a6affa7
Use ES modules and dynamic import for Webpack latest builds ( #16849 )
2023-06-13 18:12:44 +02:00
Bram Kragten
780de42e4b
Allow to show times in the UI in the timezone of the server ( #16799 )
2023-06-13 12:12:13 +02:00
Bram Kragten
d914fb0cfc
Revert "Use ES modules and dynamic import for Webpack latest builds (… ( #16679 )
...
Revert "Use ES modules and dynamic import for Webpack latest builds (#16620 )"
This reverts commit 7b350e31dd9a313d1023d2049d9513f58d38e8de.
2023-05-30 17:56:38 -04:00
Christoph Wen, B.Sc
2ad6253b72
Add setting to localize numeric dates independent from language ( #15770 ) ( #16489 )
2023-05-30 19:39:27 +00:00
Steve Repsher
7b350e31dd
Use ES modules and dynamic import for Webpack latest builds ( #16620 )
2023-05-30 18:27:49 +00:00
Steve Repsher
aa3fd70966
Use Babel runtime for helpers and regenerator (33%+ bundle reduction) ( #16466 )
2023-05-08 14:47:53 +02:00
Steve Repsher
1f1898fa46
Make module types explicit and convert some to ESM ( #15964 )
2023-03-30 11:23:43 +02:00
Raman Gupta
a19ff5aef5
Add milliseconds support for duration sensors ( #15895 )
2023-03-26 23:52:18 +02:00
Jesse Moody
24f1677809
Fix can not typo ( #15830 )
2023-03-16 16:18:31 +01:00
Franck Nijhof
0158d7e3e5
Adjust backend translations for entity components ( #15820 )
...
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2023-03-16 13:51:38 +01:00
Paul Bottein
afe1b7ef59
Use display precision for number format none ( #15674 )
...
* Use display precision for number format none
* Update src/common/number/format_number.ts
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
* prettier
* Fix 0 value
---------
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2023-03-02 10:19:27 +00:00
Erik Montnemery
050ed145bf
Allow overriding a sensor's display precision ( #15363 )
...
* Allow overriding a sensor's display precision
* Update demo + gallery
* Lint
* Fix state not updated in the UI
* Use formatNumber for options
* Feedbacks
* Add default precision and minimumFractionDigits
* Remove useless undefined
---------
Co-authored-by: Paul Bottein <paul.bottein@gmail.com>
2023-02-08 18:20:58 +01:00
Adam Kapos
5e4b673751
Fix relative time above 22 hours ( #15072 )
...
fixes https://github.com/home-assistant/frontend/issues/14815
fixes undefined
2023-01-24 12:53:57 +00:00
Paul Bottein
d15d339782
Entity state colors theming ( #14831 )
...
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2023-01-23 09:28:38 +01:00
Paul Bottein
dfc461ce05
Add support for entity translation key ( #14482 )
2022-12-01 12:53:44 +01:00
Paul Bottein
40d0455936
Fix common tests ( #14485 )
2022-11-30 19:50:53 +01:00
Josh McCarty
66ed1b18be
Format numeric entities with integer value and step as integer instead of float ( #14112 )
2022-10-26 13:27:14 +02:00
Paul Bottein
907466d060
Add first weekday option in profile ( #13991 )
2022-10-10 16:58:27 +02:00
Michael Varrieur
0c800344d2
Add custom selectUnit, use in relativeTime function ( #14008 )
2022-10-10 14:26:02 +00:00
Zack Barett
ce77ddf365
Revert #10991 ( #12618 )
2022-05-07 02:48:57 +00:00
Johann Vanackere
8da73d49d7
Terms based entities search ( #10991 )
2022-04-26 19:39:58 -05:00
J. Nick Koston
145e5d7bc6
Format sensors with state class duration ( #12426 )
2022-04-26 02:07:11 +00:00
Zack Barett
63c9b3f830
Don't show toggle always on more info ( #11640 )
2022-02-14 16:21:46 +01:00
Michael Gorven
1010777139
Add weekday to formatTimeWeekday() ( #11020 )
2022-01-24 19:25:45 +01:00
Paulus Schoutsen
39774c0e02
Allow trigger reconnect from external bus ( #10819 )
2021-12-09 13:30:20 -08:00
Bram Kragten
fd6785b593
Use backend for day month stats in energy dashboard ( #10728 )
2021-11-30 09:22:06 -08:00
Josh McCarty
b188c4ec81
Measurement number format ( #10459 )
2021-11-01 09:32:22 +01:00
Philip Allgaier
0c038398aa
Fix various slugify()
issues + add tests ( #10383 )
2021-10-25 16:26:38 +02:00
Bram Kragten
2936865c55
Bump typescript, lint, prettier ( #10108 )
2021-09-30 12:39:03 +02: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
304fad3f49
Remove unused HTML tests ( #6053 )
2020-05-26 16:02:05 -07: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
3254478d05
Remove wct-browser-legacy ( #3686 )
2019-09-11 12:46:57 -06:00
c727
1a3966e55f
Localize ha-relative-time ( #1241 )
...
* Localize relative time
* Add mixin
* Pass hass to ha-relative-time
* Remove debug
* Add hass
* Add hass everywhere
* Remove value from translation file
* Add quotes to attributes
* Lint
* Fix in hassio file
* Use current placeholder syntax
* Use correct syntax
* Move to ui.components
2018-06-01 09:55:00 -04:00
Paulus Schoutsen
e57d9f7751
Add websocket helpers to polymer ( #1187 )
...
* Add websocket helpers to polymer
* Lint
* Upgrade to home-assistant-js-websocket@2.0.0
2018-05-18 13:25:01 -04:00
Paulus Schoutsen
a4afc2e37a
Polymer 3 modulize ( #1154 )
...
* Version bump to 20180510.1
* Fix hass util
* Fix translations
* Bye paper-time-input
* Add webpack config
* Add webpack to package.json
* Fix translation import
* Disable web animations polyfill bad import
* Disable importHref import
* Update webpack config to build authorize.js
* Build translations json
* Build frontend correctly
* Run eslint --fix
* Load markdown JS on demand (#1155 )
* Add HTML imports (#1160 )
* Fix localize (#1161 )
* Fix Roboto in build (#1162 )
* Load web animations polyfill (#1163 )
* P3: Fix chart js (#1164 )
* P3: Fix Chart JS
* Update timeline package
* P3: panel resolver (#1165 )
* WIP
* Initial importing of panels
* Fix panel resolver
* Fix automation and script editor (#1166 )
* Expose Polymer and Polymer.Element on window (#1167 )
* Remove unused import
* eslint --fix
* Es5 build (#1168 )
* Build for ES5
* Fix build_frontend
* Remove stale comment
* Migrate to use paper-material-styles (#1170 )
* Send parsed date to history/logbook (#1171 )
* Fork app storage behavior (#1172 )
* Add paper input with type time (#1173 )
* Fix authorize
* Lint
* Sort imports
* Lint
* Remove eslint-html
* Do not lint authorize.html
* Fix polymer lint
* Try chrome 62 for wct
* P3: Add patched iconset (#1175 )
* Add patched iconset
* Lint
* Test with latest Chrome again
* Use less window.hassUtil
* Teporarily use my fecha fork
* Import correct intl.messageFormat
* Update wct-browser-legacy to 1.0.0
* Include polyfill in right place
* Fix IntlMessageFormat
* Fix test not having a global scope
* Rollup <_<
* Fork app-localize-behavior
* Disable wct tests
* Lint
2018-05-15 13:31:47 -04:00
Adam Mills
3412edb843
Compute state display tests ( #643 )
...
* Move computeDomain and format functions to js
* Add tests for computeStateDisplay
* Always recalculate state display
* Remove LANGUAGE from hassUtils object
* Move AppLocalizeBehavior import to mixins
* Import mixins to state-card-display
* Safety check on computeStateDisplay
* Don't store computed domains on stateObj
* Integration tests for state-card-display
* Include extractDomain code in polymer repo
* Remove util function null checking
* Dont render test element without hass and stateObj
* Revert "Don't store computed domains on stateObj"
This reverts commit e3509d71823ff5e42a4dcf4849a98c5bb6cb391c.
* Revert "Always recalculate state display"
This reverts commit 27c24e2694ee6f7c147782532268b3a67998d49b.
2017-11-20 21:46:36 -08:00
Adam Mills
fb0b1286d2
Convert remaining elements to ES6 classes ( #538 )
...
* Convert remaining elements to ES6 classes
* Use native DOM methods for tests
* Fix Polymer 2 debounce call
2017-10-29 21:47:03 -07:00
Andrey
7c489e69bb
Make tests pass ( #374 )
...
* wct misbehaves on hyphen casing on FF
* Upgrade web-component-tester to 6.0.0
* Update some bower packages to prevent conflicts
* Pin webcomponentsjs to 1.0.4
2017-08-04 22:56:52 -07:00
Andrey
1530c0c386
Allow custom 2nd line in state-info ( #253 )
...
* Allow custom 2nd line in state-info
* add tests for new functionality
2017-04-09 10:25:00 -07:00
Andrey
35c086a594
More tests for state-info.html ( #256 )
...
* Remove andrey-git keys. Add Android 7.0 emulator
* Use Chrome on Android 7.0
* Try a test that should fail on shadow dom.
* Change test
* try lightOrShadow
* More tests
2017-04-08 06:05:13 -07:00
Andrey
57512211d7
Add web-component-tester tests ( #255 )
...
* Use travis.yml from polymer
* Update .travis.yml
* Try wct tests
* Encrypt Sauce env
* More test config
* Update2
* try to remove souce_connect
* Try another config
* More browsers
* Clean tabs, test shadow dom.
2017-04-03 22:51:20 -07:00