discoveryjs / discovery

A framework for rapid data (JSON) analysis, shareable serverless reports and dashboards
https://discoveryjs.github.io/discovery/
MIT License
336 stars 6 forks source link

Allow to collapse tree easier #40

Open rualark opened 4 years ago

rualark commented 4 years ago

After expanding a subtree, the next click should collapse it. To do it, make the whole "623 elements" row clickable to collapse subtree.

Example: red clicking in red area should collapse:

image

lahmatiy commented 4 years ago

Not sure I understand you, could you please add context/details.

rualark commented 4 years ago

Added example