Kip icon indicating copy to clipboard operation
Kip copied to clipboard

Add default null value

Open oyve opened this issue 3 years ago • 2 comments

Thanks for a great plugin!

Would love to see the possibility to set a default value for NULL values, i.e. to display a message when there is nothing to display in a textbox.

oyve avatar Oct 29 '21 15:10 oyve

I feel like this would be better handled on the server side? Kip displays whatever it gets from the server. What is your specific use case?

Thanks

mxtommy avatar Nov 03 '21 19:11 mxtommy

fyi, a PR for nmea0183-signalk RMC decoder was just merged which now returns NULL for empty values such as lat/lon/sog/cog/variation (instead of incorrectly returning a zero or -1). It's a start as many of these sentences return zero or empty string for missing data instead of null as per the specification. I was just looking into storing localtime on the server and some think that the server should hold only UTC and clients should do the calculation for localtime (or any tz eg. signalk/instrumentpanel). Might localtime be added to KIP? Under settings or units? (btw, great plugin, well done all around, thanks)

davidsanner avatar Nov 05 '21 17:11 davidsanner

A new Date value Widget will be released in V2 allowing you to set timezone and date/time format. To be released soon! Have fun!

godind avatar Sep 25 '23 04:09 godind