-
-
Notifications
You must be signed in to change notification settings - Fork 242
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
charts - generalize evaluating expressions for charts #1638
charts - generalize evaluating expressions for charts #1638
Conversation
Job #711: Bundle Size — 15.97MiB (~+0.01%).Metrics (no changes)
Total size by type (2 changes)
|
42b6eea
to
04ea52b
Compare
e9de334
to
844b65c
Compare
Thanks! Generalizing expressions in chart widgets is a plus for sure! It's looking good code wise but I'll have a test run soon. |
437a6d8
to
b561156
Compare
Created a test jar, please run:
in order to try it out. If there is any case not working, please let me know - and provide a (minimal) working sample (yaml) so I can try locally. If needed, revert back to official UI jar with
|
7d0d05a
to
c96e243
Compare
2caa28f
to
26b04b9
Compare
Accidentally pushed (potential) fix for #1072, introducing
I can revert if needed ... also feel free to suggest a better name ... |
13d6db3
to
5213551
Compare
It's sort-of related in a general sense (allow customizing charts beyond some arbitrary/common sense defaults, for those who need this customization), so no need to open a separate PR. The name By the way it accidentally works when you feed that parameter a string instead of an array (because NB: I tried this with a scene Number item but noticed it's actually a string in the API response in this format in my case: Since onStates.findIndex((s) => s == p.state || s == rollingState) >= 0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Suggestions for the above comment.
The rest of the PR LGTM!
bundles/org.openhab.ui/web/src/components/widgets/chart/series/oh-mark-area.js
Outdated
Show resolved
Hide resolved
bundles/org.openhab.ui/web/src/components/widgets/chart/series/oh-mark-area.js
Outdated
Show resolved
Hide resolved
…enhab#1612) This is the same fix as openhab#1611 but for OH 4.0 main branch. Signed-off-by: Laurent Garnier <lg.hc@free.fr> Signed-off-by: Boris Krivonog <boris.krivonog@inova.si>
Signed-off-by: Florian Hotze <florianh_dev@icloud.com> Signed-off-by: Boris Krivonog <boris.krivonog@inova.si>
Reference openhab/openhab-addons#14013. Reference openhab/openhab-addons#14096. Signed-off-by: Florian Hotze <florianh_dev@icloud.com> Signed-off-by: Florian Hotze <florianh_dev@icloud.com> Signed-off-by: Boris Krivonog <boris.krivonog@inova.si>
Signed-off-by: jsetton <jeremy.setton@gmail.com> Signed-off-by: Boris Krivonog <boris.krivonog@inova.si>
Signed-off-by: jsetton <jeremy.setton@gmail.com> Signed-off-by: Boris Krivonog <boris.krivonog@inova.si>
Signed-off-by: Wouter Born <github@maindrain.net> Signed-off-by: Boris Krivonog <boris.krivonog@inova.si>
Signed-off-by: Boris Krivonog boris.krivonog@inova.si Signed-off-by: Boris Krivonog <boris.krivonog@inova.si>
Signed-off-by: Boris Krivonog <boris.krivonog@inova.si>
Signed-off-by: Boris Krivonog <boris.krivonog@inova.si>
Signed-off-by: Boris Krivonog <boris.krivonog@inova.si>
Signed-off-by: Boris Krivonog <boris.krivonog@inova.si>
Signed-off-by: Boris Krivonog <boris.krivonog@inova.si>
Signed-off-by: Boris Krivonog <boris.krivonog@inova.si>
Signed-off-by: Boris Krivonog <boris.krivonog@inova.si>
* Fixes typos Signed-off-by: Boris Krivonog <boris.krivonog@inova.si>
Signed-off-by: Jan N. Klug <github@klug.nrw> Signed-off-by: Boris Krivonog <boris.krivonog@inova.si>
…/oh-mark-area.js Co-authored-by: Yannick Schaus <github@schaus.net> Signed-off-by: Boris Krivonog <boris.krivonog@inova.si>
…/oh-mark-area.js Co-authored-by: Yannick Schaus <github@schaus.net> Signed-off-by: Boris Krivonog <boris.krivonog@inova.si>
Signed-off-by: Boris Krivonog <boris.krivonog@inova.si>
Signed-off-by: Michael Krug <michi.krug@gmail.com> Signed-off-by: Boris Krivonog <boris.krivonog@inova.si>
Signed-off-by: Stefan Höhn <mail@stefanhoehn.com> Signed-off-by: Boris Krivonog <boris.krivonog@inova.si>
39bddba
to
36cd93a
Compare
This is based on #1419. Also contains fixes from #1634.
fixes #1418
fixes #1295
fixes #1102
fixes #1072
It's still WIP, need to perform more tests, any help greatly appreciated
EDIT: went through cases reported in above issues and seems to work now. Also, as far as I tested (so far) locally with my setup seems to work - but probably don't have all use-cases setup so probably missed something - therefore would be much appreciated if any volunteer tries it out too, thank you!