231 Commits

Author SHA1 Message Date
NovapaX
bb6c46180d Hide the date-clear icon and style vaadin-date-input like a paper input (#956)
* styling the vaadin-date-input like a paper input.

* move date-picker styles to ha-style
so they get reused automatically

* move vaadin date-picker-styles to thier own file.

* only disable clear button on required field.
and some style changes
2018-02-28 12:56:18 -08:00
NovapaX
16734c7423 Fix history data processing (#951)
* don't call filterchanged twice. it's already an observer.

* fix data comparison
Compare new data from ha-state-history-data to existing data and replace
if changed

* remove unnecessary styles

* prevent multiple updates of chart-data

* remove console

* remove another console

* directly binding because debouncing in history-data element
shortening debounce time, works fine at 0

* remove inacurate comment
2018-02-27 20:40:25 -08:00
Adam Mills
d4b257854d Add localization to the automation editor (#923)
* Add localization to the automation editor

* Unnest automation strings from `section`
2018-02-26 16:15:51 -08:00
Paulus Schoutsen
9f3458fcd1
Guard for contentWindow == null (#930) 2018-02-26 11:44:15 -08:00
Paulus Schoutsen
ff658c86ff
Fix deprecated CSS (#928)
* Fix nested var

* Fix deprecated @apply syntax

* Hassio
2018-02-26 11:43:58 -08:00
NovapaX
8b719778d0 search and replace (#924) 2018-02-25 19:44:03 -08:00
Paulus Schoutsen
bb946d9eec
Clean up cloud routing (#909)
* Clean up cloud routing

* Lint
2018-02-21 11:48:28 -08:00
Paulus Schoutsen
0a070a3fda
Nav fixes (#908)
* Fail if script is not editable

* Fix config nav
2018-02-20 17:53:35 -08:00
Paulus Schoutsen
35c8c70783
Lazy load iron page entries in config panel (#903) 2018-02-20 09:03:09 -08:00
Paulus Schoutsen
6a5de599df
Change valueMin and Max props (#905) 2018-02-19 21:47:23 -08:00
Paulus Schoutsen
f3c3bb8c43
Config panel for Config Entries (#861)
* Initial implementation

* Update UI

* Update

* Address comments

* More comments

* Lint
2018-02-16 14:36:11 -08:00
Otto Winter
83e34f3f95 Fix template panel link (#898) 2018-02-16 09:20:43 -08:00
c727
10c07673c1 Fix mark items as (un)complete in shopping list (#887)
* Fix mark items as (un)complete in shopping list

Fix: #885

* Update ha-panel-shopping-list.html
2018-02-12 21:09:16 -08:00
Paulus Schoutsen
e2ff04e40b Lint 2018-02-11 10:31:12 -08:00
Paulus Schoutsen
1cf18a34b8 Update dependencies 2018-02-11 09:44:28 -08:00
Paulus Schoutsen
7f461defc1
Improve UX template editor (#878)
* Improve UX template editor

* Address comments
2018-02-11 09:42:52 -08:00
Boyi C
c6030e6edc Replace Google Charts with Chart.js (#429)
* chartjs test

* [WIP] Modified for Chart.js

* Tweaking styles ( tooltips and lines )

* Almost done
TODO:
Change tooltips to HTML tag
Improve color function

* More work on Tooltips

* Improve update logic
Fix linting

* resolve conflict

* [WIP]
Create new tooltip mode hack.
Add axis padding to top and botton to prevent axis cutoff

* TODO: cleanup

* FIXME: tooltip in history graph not working correctly
reorganize some code

* fix build problem

* Fix color and tooltip issue
Fix label max width for timeline chart

* update dep

* Fix strange color after build due to `uglify` bug with reference the minified version.
Make line chart behavior more similar to Google Charts.
Make the chart honor to `unknown` and other state by manually calculate point value.

* fix bugs

* Remove label for only one data in timeline chart.
Fix bug for infinite loop in some cases

* Add HTML legend to chart.

* Fix isSingleDevice bug due to calculation.
Add isSingleDevice property support.

* fix for lint

* Replace innerHTML code with polymer node.

* Replace tooltip with HTML code

* fix tooltip style

* move default tooltip mode to plugin

* LINTING

* fix
Move localize history data to Timeline Chart.
Fix timeline static color.
Rework on chart resize.

* Bug fix:
Chart may disappear on some case.
Timeline chart calculation issue.
Change timeline chart hidden logic.

* fix tooltip
rework for resize event

* lint

* element

* Replace `var` to `let`.
Move import and ChartJs injection code to `ha-chart-scripts.html`.

* lint: convert more let to const

* fix font
fix undef

* update bower.json

* move

* Load chart code on demand
2018-02-09 22:39:15 -08:00
cdce8p
9e09d5b095 ZWave Node Management - Show hidden nodes (#864) 2018-02-07 20:41:45 +02:00
Paulus Schoutsen
9c2f6e591d
Run Hass.io panel in an iframe (#678)
* Run Hass.io in an iframe

* Update hass.io build script

* Lint

* Lint

* Fix build script

* Lint
2018-01-21 00:39:56 -08:00
Adam Mills
8649c5352b Core config translations (#821)
* Config dashboard translations

* Simplify config pages

* Core/Core/Validation

* Core/Core/Reloading

* Core/Core/Server_Management

* Core/Push_Notifications

* Core/Translation

* Core/Themes

* Initial hassbian config translations

* Switch to sentence cases
2018-01-20 22:08:22 -08:00
Paulus Schoutsen
e9dfa79f36
Add Alexa info to cloud account page (#793) 2018-01-10 13:19:28 -08:00
Paulus Schoutsen
eeb949a081
Allow resending email verification (#770) 2017-12-29 12:43:28 -08:00
Adam Mills
38088acf14
Use localized state display for timeline charts (#746)
* Fix import typo

* Use localized state names on timeline charts

* Track language in cache metadata
2017-12-23 14:02:33 -05:00
Adam Mills
e7df8cb195
Mailbox empty state styling (#750) 2017-12-23 12:06:34 -05:00
Franck Nijhof
0c840e1751 Adds Rebuild button for local add-ons (#734) 2017-12-22 21:18:04 -08:00
Franck Nijhof
36c658096a 💄 Sort add-ons in the Hass.io add-ons store (#733)
Signed-off-by: Franck Nijhof <frenck@addons.community>
2017-12-22 21:17:04 -08:00
Adam Mills
34fd3e4899 Map and mailbox translations (#748)
* Map translations

* Mailbox panel translations
2017-12-22 21:16:02 -08:00
Andrey
60ac82edc5 Another fix for app-header-layout (#738) 2017-12-22 21:07:46 -08:00
Adam Mills
097a8cfdc6
Translations for logbook/history panels (#741)
* Translations for logbook/history panels

* Switch to base localize function

* Move periods to generic durations keys

These are going to end up part of a duration class of keys that will be
more widely used.
2017-12-22 14:22:13 -05:00
Adam Mills
c8c21e6fac
Refactor out our localize custom variant (#743) 2017-12-19 09:18:50 -05:00
Paulus Schoutsen
0904af2ad2
Refresh account status while connecting (#727)
* Refresh account status while connecting

* Lint
2017-12-15 23:22:22 -08:00
Andrey
aa5ff72710 Don't use global event. It is unsupported in Chrome64 (#732) 2017-12-14 09:02:38 -08:00
c727
f385c7e7d5 Change "Reset to dafaults" to "Discard Changes" (#731)
https://github.com/home-assistant/hassio/issues/278
2017-12-13 08:31:43 -08:00
Adam Mills
8dde92d572 Fix pushSupported not bubbling to config-core (#721) 2017-12-10 09:57:58 -08:00
Adam Mills
e0a63a2ee3
Panel translation fragments (#691)
* Move flatten to separate gulp task

* Split translation fragments into separate files

* Load translation fragments when switching panels

* Fix gulpfile lint

* Move app-location to home-assistant.html

* Compute panel navigation in home-assistant.html

* Only pass down panelUrl from home-assistant.html

* Store panelUrl on hass

* Store computed panel on hass object

* Revert "Store computed panel on hass object"

This reverts commit 0f150b1faa2b91588a432ab346821b633b349d1a.

IMO this didn't really make the code cleaner. Just wanted to see how it
would look. Keeping it here as a reverted commit in case we do want to
use it.
2017-12-05 09:12:42 -05:00
Adam Mills
7303e55f63 Move push notifications to config panel (#700) 2017-12-03 15:28:39 -08:00
Paulus Schoutsen
90e6f59a74
Merge script and automation editor JS (#693)
* Merge script and automation editor JS

* Also consolidate the files
2017-11-30 11:38:21 -08:00
Andrey
7cfa694980 Fix initialization error in script/automation editors. (#699) 2017-11-30 11:19:26 -08:00
Paulus Schoutsen
bc94dce8f7
Fix bugs in service picker and service dev tool (#687) 2017-11-26 10:05:07 -08:00
John Arild Berentsen
48ecfe07a2 Usercode card was misplaced in fullscreen (#685) 2017-11-26 15:04:46 +02:00
John Arild Berentsen
958c5bf935 Fix failing build (#684) 2017-11-26 10:17:03 +02:00
Paulus Schoutsen
3ba15cb7b5
Fix error when creating new automation (#683)
* Import correct computeStateDomain

* ha-service-picker to not crash when no hass

* Fix routing be less active

* Fix combo box value sync
2017-11-25 21:43:52 -08:00
Paulus Schoutsen
508e1fd737 Fix build 2017-11-25 16:08:26 -08:00
Paulus Schoutsen
0707528bd7
Entity dropdown improvement (#674)
* Ignore hass changes while dropdown is open

* Upgrade vaadin-combo-box

* Fix styling on dev-service panel

* Fix styling for ha-entity-dropdown

* Fix height vaadin-combo-box dropdown

* Rename ha-entity-dropdown to ha-entity-picker

* More entity improvement (#675)

* Update script and automation editor to use entity picker

* Add entity and service picker to service dev panel

* Lint
2017-11-25 16:00:43 -08:00
John Arild Berentsen
5f5a62d094 Zwave usercodes, bugfix for #10754 (#677)
* Bugfix for #10754

* Adjustments

* Fix sloppiness
2017-11-24 23:57:21 -08:00
Paulus Schoutsen
80a11206af remove unused on-tap 2017-11-24 21:32:21 -08:00
Paulus Schoutsen
c330b87506
Shopping List: Allow adding items (#647)
* Shopping List: Allow adding items

* Remove unused parts
2017-11-24 21:27:55 -08:00
Paulus Schoutsen
713117d4d9
Add an entity picker (#666)
* Add an entity picker

* Lint
2017-11-22 14:37:25 -08:00
c727
ea4fd25330 Don't cut off help text on mobile devices (#663) 2017-11-21 19:28:04 +02:00
Paulus Schoutsen
0b9e7d5fa2
Don't use custom element constructor (#658) 2017-11-20 20:44:58 -08:00