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

Replace content placeholders with dynamic content and live links #85

Closed AlanSl closed 4 years ago

AlanSl commented 4 years ago

This replaces hardcoded placeholder content in the catalogue with a piped in array of content items passed in by each app that builds it; and also makes app titles dynamic.

This means the libp2p-observer demo app can have different content, title and links to the observation-deck:

image

The same array is used to build the links bar when data is selected, and the content is shown in an accordion to avoid users accidentally unloading their data by clicking on a header link:

image