zettajs / ZettaKit

The Zetta iOS Client Library.
MIT License
3 stars 2 forks source link

Provide log description or data in ZIKLogStreamEntry #15

Closed benpackard closed 8 years ago

benpackard commented 8 years ago

ZIKLogStreamEntry provides 4 properties:

This is sufficient to know the device, the transition's name, and the time of the transition, but not the new data. The end goal is to be able to produce something similar to the Zetta browser:

screen shot 2016-02-19 at 3 18 35 pm

In this example, the message content ("Hello a third time") is not present in ZIKLogStreamEntry.

Sometimes there can be multiple fields updated in the transition - for example, see the iPhone device, which has an x, y, and z field for the change action. The values could be pre-arranged into a description, or a data dictionary could be provided.

benpackard commented 8 years ago

Paging @mdobson since I couldn't assign it.

mdobson commented 8 years ago

Expect this to be patched in the next ZettaKit drop sometime next week.

-Matt

-- Matthew Dobson | apigee https://apigee.com/ | m: +1.734.634.5472 | twitter @mdobs http://twitter.com/mdobs @apigee https://twitter.com/apigee | Apigee Community http://community.apigee.com/ for answers, ideas and support!

On Fri, Feb 19, 2016 at 3:25 PM, Ben Packard notifications@github.com wrote:

Paging @mdobson https://github.com/mdobson since I couldn't assign it.

— Reply to this email directly or view it on GitHub https://github.com/zettajs/ZettaKit/issues/15#issuecomment-186392303.

mdobson commented 8 years ago

This has been added and released.

benpackard commented 8 years ago

I'm finding that ZIKLogStreamEntry.inputs is always empty. Is there any particular device I should try this with?

mdobson commented 8 years ago

Taking a look now.

-- Matthew Dobson | apigee https://apigee.com/ | m: +1.734.634.5472 | twitter @mdobs http://twitter.com/mdobs @apigee https://twitter.com/apigee | Apigee Community http://community.apigee.com/ for answers, ideas and support!

On Thu, Feb 25, 2016 at 1:00 PM, Ben Packard notifications@github.com wrote:

I'm finding that ZIKLogStreamEntry.inputs is always empty. Is there any particular device I should try this with?

— Reply to this email directly or view it on GitHub https://github.com/zettajs/ZettaKit/issues/15#issuecomment-188905340.

mdobson commented 8 years ago

Apologies. This was a bug on my end. The proper term in the message was input. I'll be dropping another SDK version tomorrow with this patched.

-Matt

-- Matthew Dobson | apigee https://apigee.com/ | m: +1.734.634.5472 | twitter @mdobs http://twitter.com/mdobs @apigee https://twitter.com/apigee | Apigee Community http://community.apigee.com/ for answers, ideas and support!

On Thu, Feb 25, 2016 at 1:00 PM, Ben Packard notifications@github.com wrote:

I'm finding that ZIKLogStreamEntry.inputs is always empty. Is there any particular device I should try this with?

— Reply to this email directly or view it on GitHub https://github.com/zettajs/ZettaKit/issues/15#issuecomment-188905340.