Skip to content
This repository has been archived by the owner on May 23, 2019. It is now read-only.

Improve the initial rendering of several widgets #214

Merged
merged 1 commit into from
Sep 12, 2017

Conversation

ghys
Copy link
Member

@ghys ghys commented Sep 12, 2017

  • slider: Wait for the first event to display the widget (this hack
    seems to fix a long-standing display glitch e.g. when switching dashboards);
  • chart: attempt to get rid the the initial data series animations;
  • colorpicker: remove the initial "flickering";
  • template: send an update event after opening a modal dialog

Signed-off-by: Yannick Schaus [email protected]

- slider: Wait for the first event to display the widget (this hack
  seems to fix a long-standing display glitch e.g. when switching dashboards);
- chart: attempt to get rid the the initial data series animations;
- colorpicker: remove the initial "flickering";
- template: send an update event after opening a modal dialog

Signed-off-by: Yannick Schaus <[email protected]>
@ghys ghys merged commit 0b2ab6d into openhab:master Sep 12, 2017
@jmsjones
Copy link

This change causes the slider to never appear if it is attached to a number item that has a state of NULL. I believe this is due to the condition "!isNaN(value)" within the function "updateValue".

ghys added a commit to ghys/habpanel that referenced this pull request Sep 14, 2017
Regression introduced and reported in openhab#214.

(+ remove leftover in custom header markup)

Signed-off-by: Yannick Schaus <[email protected]>
ghys added a commit that referenced this pull request Sep 14, 2017
Regression introduced and reported in #214.

(+ remove leftover in custom header markup)

Signed-off-by: Yannick Schaus <[email protected]>
@ghys
Copy link
Member Author

ghys commented Sep 14, 2017

@jmsjones you're right, thanks for reporting.
#218 should fix it.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants