libp2p / observer-toolkit

🐣 [WIP] toolkit for building libp2p introspection widgets + a few useful out-of-the-box widgets
https://libp2p.io
MIT License
2 stars 2 forks source link

Include events in built-in samples and mock data files #47

Closed AlanSl closed 4 years ago

AlanSl commented 4 years ago

Previously, events messages were sent when connected to a websocket but not included in static output to a file or stdout. This also meant that selecting a data sample then opening the events widget gave an empty widget.

This adds events to static mock data generation and replaces the samples with files that include events. Also fixes an intermittent bug with the file upload button.

Based against https://github.com/nearform/libp2p-introspection-ui/pull/46