Boyi C
57e500b109
Fix flex-box ( #1076 )
...
Small tweak styling
2018-04-12 08:58:46 +02:00
NovapaX
bfaebfe418
Pretty huge scrolling performance upgrade ( #1069 )
...
* turn ha-cards into its own layer
2018-04-10 09:25:00 +02:00
NovapaX
51f4028343
Fix scrollable clipping controls because of webkit-overflow-scrolling: touch; ( #1065 )
...
* change labeled slider
* fix `-webkit-overflow-scrolling: touch` clipping positioned elements
* Revert "change labeled slider"
This reverts commit fc34cb712b24223b9983f8c1ef1b498be86515c0.
2018-04-03 16:47:26 -07:00
Andrey
efa956a0b5
Allow theming badge label color and hide empty label. ( #1060 )
2018-04-01 12:03:04 -07:00
c727
4c65767e5a
Fix TypeError for views ( #1045 )
...
* Fix TypeError for views
quick and dirty fix, maybe this file needs some more cleanup
problem:
if you have `default_view` in groups.yaml and reload groups in `computeViewStates(currentView, hass, defaultView)`
`defaultView` is (still) defined but but `hass.states.group.default_view` doesn't exist
Fix : #893
* Update partial-cards.html
* Add ;
* Lint
2018-03-31 17:35:33 -07:00
NovapaX
d7d167fbf9
Make paper-scrollable in fullscreen dialog resize properly ( #1052 )
...
* remove min-height to make paper-scrollable work properly.
Hack fullscreen background behind it
* apply fix to hassio-markdown-dialog
2018-03-31 17:32:02 -07:00
NovapaX
d8fb01ab44
Hide empty 'Currently' on climate statecard ( #1047 )
...
* hide currently if no value
* zero is falsy. align items
* don't hide falsy values
* computed property instead of observer
* guard null/undefined
2018-03-31 17:29:49 -07:00
Paulus Schoutsen
77330d03b3
Guard for both undefined and null ( #1053 )
2018-03-31 12:09:22 -07:00
NovapaX
88ad376045
Don't uppercase unit_of_measurement in state-badge ( #1025 )
...
* determine unit from state. set case via label-is-state attr
* use css var and classnames
* use classnames and mixin
* use css var
* fallback, both needed and way more elegant
2018-03-29 17:35:51 -07:00
NovapaX
ed0696ea9c
hide brightness slider on unavailable light ( #1046 )
2018-03-29 17:20:51 -07:00
Paulus Schoutsen
d2688cab75
Fix markdown rendering
2018-03-29 16:58:23 -07:00
Paulus Schoutsen
06502cb93a
Fix a bunch of lint errors ( #1044 )
...
* Fix a bunch of lint errors
* Add behavior jsdoc
* Convert ha-markdown to polymer element
* Update lint command
2018-03-29 16:57:15 -07:00
Paulus Schoutsen
0e227708b9
Fix tooltip with title on hass-subpage ( #1048 )
2018-03-30 01:39:53 +02:00
Paulus Schoutsen
e46d2e2934
Fix property
2018-03-28 16:34:39 -07:00
NovapaX
0790cd1ac9
Improve chart loading behaviour and some other chart fixes ( #1042 )
...
* show is loading and animate chart display
* let tooltip overflow in more-info
* graph chart tooltip overflow
* style toopltip a bit more like material design guidelines
* smoother tooltip appearing
* timeline transition time
* max-widht -> width
2018-03-28 16:16:25 -07:00
c727
fb8fb09c73
Change attribute checks to handle if value == 0 ( #1037 )
...
if (0) is false
2018-03-27 23:57:01 -07:00
Kory Prince
af1581b4c5
Migrate to Marked.js + js-xss for Markdown parsing ( #1026 )
...
* Migrate to Marked.js + js-xss for Markdown parsing
* Update JS
Updating JS with latest source code from NPM to ensure it has not been altered
2018-03-26 21:13:54 -07:00
NovapaX
38542e1f0c
Set theme variables on html element ( #1023 )
...
* set theme on html element
* style toggle buttons with primary color
* Fix lint
2018-03-26 17:31:41 -07:00
NovapaX
d87d845dbc
Fix long more-info toolbar title. ( #1034 )
...
Max 2-lines. Ellipsis overflow on supported browsers.
2018-03-26 17:28:35 -07:00
PeteBa
7be6d17b37
Change brightness to be real-time rather than max value ( #1029 )
2018-03-26 21:44:09 +02:00
NovapaX
c04c30337f
Contain slots and scope css instead of using ::slotted
...
Polyfill converts `::slotted(*)` to `host-tag > *` which messes up
styles of descendents that are not slotted.
2018-03-26 10:50:10 +02:00
NovapaX
796ec4a4b0
Use hue, saturation and a brightness filter for state badge ( #1021 )
...
* Use hue and saturation values. Use css filter for brightness.
* Assign style properties at once.
* label => if else logic
2018-03-23 10:01:33 -07:00
Adam Mills
e5a5c353c4
Don't render minimum color temp with gray border ( #1017 )
2018-03-21 15:22:44 -07:00
Adam Mills
0df4aa6117
Use new light HS API for the color picker ( #982 )
2018-03-21 17:35:16 -04:00
NovapaX
421b9abc7d
fix media-player source selection loop ( #1012 )
2018-03-21 18:20:14 +01:00
NovapaX
b107e0e15c
Stop paper-slider to change value on touchdown on the sliderbar ( #1006 )
...
* Stop paper-slider to change value on touchdown on the sliderbar.
This prevents interfering with intended scroll. Touch-tap on the
sliderbar still works. Mouse-behavior doesn't change eiter.
* change property syntax
2018-03-19 14:42:51 -07:00
NovapaX
3324c7e01c
Nicer scrolling for more-info ( #1005 )
...
* nicer more-info scrolling (momentum & rubberband)
* move chart into scrolling region.
Fixes resizing issues of the paper-dialog (and scrolling area) because
of chart rendering after loading.
2018-03-17 17:26:02 -07:00
Andrey
b03c361198
When /states/bad_view is selected - fall back to default view. ( #1002 )
2018-03-16 15:38:27 -07:00
cdce8p
860860099e
Changed cover icon condition ( #995 )
2018-03-16 03:38:37 +01:00
Paulus Schoutsen
b80c52dab2
Fix race condition setting current language ( #996 )
2018-03-15 12:33:32 -07:00
Paulus Schoutsen
196ea97917
Use Home Assistant icon for homeassistant domain" ( #994 )
2018-03-15 04:19:29 +01:00
Andrey
05da295f27
Charts improvements ( #992 )
...
* Charts improvements
* Improve last-odd legend item.
* Revert dblclick
* Lint
2018-03-14 16:11:37 -07:00
NovapaX
9dc809cdb9
State display wrapping and fix full screen more-info ( #991 )
...
* state-info lower min-width, remove unnesecary wrapping div
* State normal line height, align flex baseline. Get rid of wrapping div
* fix full screen more-info-dialog
2018-03-14 11:42:10 -07:00
Ville Skyttä
09fe2172b2
Spelling fixes ( #989 )
2018-03-14 13:03:00 +01:00
Ville Skyttä
3d101116a2
Fix and update "Update Instructions" link ( #990 )
2018-03-14 12:58:48 +01:00
Paulus Schoutsen
2ed5b7e7c1
Move effects control down ( #988 )
...
It's the least important control in the whole more info picker, yet was taking up the prime spot.
2018-03-13 23:58:12 -07:00
NovapaX
7066b40e4c
Apply paper-dialog-behavior instead of nesting paper-dialogs ( #987 )
...
* disable ha-url-sync
* apply a paper-dialog-behavior mixin to dialogs
* Revert "disable ha-url-sync"
This reverts commit 4758a81af61d9f6979a93c0a899d3788fb48090e.
* fix css :host attribute selector
* move hass back to the components
2018-03-12 18:20:04 -07:00
NovapaX
2c79094fb4
Change more-info-dialog name to ha-more-info-dialog ( #986 )
...
* change more-info name to ha-more-info-dialog (like other dialogs)
* rename element
* fix closing tag
2018-03-12 12:34:51 -07:00
c727
3234777154
Add Norsk Nynorsk to languages ( #984 )
2018-03-11 15:13:50 -07:00
Adam Mills
29f9b2d201
Fix backend translations load without selection ( #979 )
2018-03-10 10:06:25 -08:00
c727
08d4e0af18
Fix relativeTime format for Date() === dateObj ( #974 )
...
* Fix relativeTime format for Date() === dateObj
* Feedback
* Update hass-util.html
2018-03-07 17:31:13 +01:00
Andrey
710139bf4b
Clean charts and persist hidden lines ( #970 )
2018-03-05 13:40:53 -08:00
Paulus Schoutsen
d188821765
Prefer set properties ( #968 )
...
* Use set properties
* Address comments
* Update partial-cards.html
2018-03-05 00:12:55 -08:00
Andrey
19705a9c2b
IntersectionObserver fixes ( #964 )
...
* IntersectionObserver fixes
* handle 'card -> entities -> card' case
* fix typo
2018-03-04 10:22:53 -08:00
Andrey
addad74019
Add css variables to toggle buttons colors ( #966 )
2018-03-04 10:20:54 -08:00
Boyi C
9dc33de49f
Update chartjs to 2.7.2 ( #963 )
...
* Update chartjs to 2.7.2
* lint
* lint
2018-03-03 17:43:27 -08:00
Adam Mills
101794c88e
Load and subscribe to backend translations ( #894 )
...
* Load backend translations
* Add support for component level state translations
* Fix selected language backend translation loading
2018-02-28 19:32:48 -08:00
c727
bae1ab822c
Add Welsh + Indonesian to languages ( #873 )
...
* Add Welsh to languages
* Add Indonesian
2018-03-01 04:03:57 +01:00
NovapaX
f87dbc5735
retru importHref once to solve a webkit refresh issue ( #958 )
2018-02-28 13:59:01 -08:00
Sean Wilson
7377db312b
Add 'lock' device class ( #800 )
...
* Add 'lock' device class
* Invert lock settings as per https://github.com/home-assistant/home-assistant/pull/11640
2018-02-28 13:25:33 -08:00