n3wscott / sockeye

Websocket based CloudEvents viewer.
Apache License 2.0
48 stars 14 forks source link

Data Output Copy Icon #11

Open embano1 opened 3 years ago

embano1 commented 3 years ago

It would be nice to easily copy the data section in the output column as it's slow to highlight and scroll through larger data blobs. Something like this next to the box:

image

Source: https://fontawesome.com/icons/copy

n3wscott commented 3 years ago

we could do this! you want the whole data payload or the whole object?

embano1 commented 3 years ago

VERY good question which I was also thinking about when I filed this, but thought data would be enough (for now). How would you merge headers/metadata of the CE into the output? Perhaps we can start with data and see how it's being adopted?

lamw commented 3 years ago

I would LOVE to get the whole object! The use case for me is function development and with the new Knative support, users can develop, build and test their function without having to deploy to VEBA. This means they can be certain everything works and it would be ideal if they could copy the entire cloud event which includes envelope data so they can mimic the full payload for use cases where they'd like to filter on things like type or subject which has come up in some of the use cases

Thanks for the consideration as I see Sockeye will be super useful for first time function authors

embano1 commented 3 years ago

I would LOVE to get the whole object!

The reasons I was holding back here were: