-
Notifications
You must be signed in to change notification settings - Fork 15
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
TextWidget new secret feature (Request) #3
Comments
This is a nice idea for "advanced users". I think we need to agree on the requirements and exact syntax before writing some code. I don't have a lot of bandwidth so it'd be great if we found volunteers to make this change and/or write some documentation in the wiki as well (syntax, supported icons). Note: please assign yourself on the issue if you want to contribute so that we don't work in parallel :) |
From @NietGiftig on January 31, 2017 15:8 I have no idea how to assign myself.
|
I disagree on the bold styling :) Styling should not be handled in multiple uncorrelated places. I still don't have time to implement this but here's a proof of concept for passing special options in the text value: https://jsfiddle.net/gh9tnva5/ This function turns a string like In Reacticz TextWidget, we could parse the string either from the device name or from the text value and once we have the object it would be easy to apply the options to set an icon or customize the text content. Re. icon scaling, that's a fair point but I don't think it should be customizable, we should simply fix it globally by setting a max size on icons in GenericWidget. |
Domoticz now supports multiple lines for Text and Alert devices (domoticz/domoticz#1942) |
Nice! |
Thanks for the heads up @davidlb - So at some point Reacticz should also be updated to support \n and \r and render them as |
From @NietGiftig on January 31, 2017 14:18
Following up a discussion in the WindWidget pull request https://github.com/t0mg/reacticz/pull/45
about showing data in reacticz
t0mg added to these remarks the sentence:
witch would be a tremendous advantage to some people ;-)
Copied from original issue: t0mg/reacticz#47
The text was updated successfully, but these errors were encountered: