holochain / holoscape

A complete end-user deployment of a Holochain conductor with UI for administration and a run-time for hApp UIs
63 stars 8 forks source link

Make debug view fast and really usable #44

Closed lucksus closed 4 years ago

lucksus commented 4 years ago

Vuetify components and faster state dumps

This adds Vuetify and uses its fast and customizable data tables in the debug view. This easily enables searching for entry hashes or types in source chain as well as the holding map.

Screenshot from 2019-12-10 01-14-08

This already helped a lot with the rendering performance since the data tables sport pagination.

But in order to make the refresh really fast I had to split state dumps into sparate portions that get updated independently. This is based on these changes in holochain-rust: https://github.com/holochain/holochain-rust/pull/1954

With that, the debug view is fast enough to enable automatic refresh based on trace actions - we know that we only need to get the source chain after a commit action, and only the holding map after a HoldApsect action, etc.

Also shows instance stats (held entries, pending validations, running calls) in header: Screenshot from 2019-12-10 01-12-32