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

Show more fields by default. Allow to change in settings #45

Open rualark opened 4 years ago

rualark commented 4 years ago

Example:

https://i.imgur.com/5CaYqp1.png

My screen is barely used, but there is already a "..." symbol and fields are hidden, which is very inconvenient. It would be ideal to hide only if next field would result in wrapping text, but if it is difficult, just increase default at least two times and allow to change it in settings.

Also please make white fields to the left and right more narrow so that more data ca be viewed.

lahmatiy commented 4 years ago

Yep, showing the number of entries to fit the block size is quite tricky. You can setup struct view to show more entries: image I believe it may be added in JsonDiscovery settings. And issue should be in JsonDiscovery :) FYI @exdis