Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

truncation for too many items #22

Open
Almenon opened this issue Oct 20, 2017 · 2 comments
Open

truncation for too many items #22

Almenon opened this issue Oct 20, 2017 · 2 comments

Comments

@Almenon
Copy link
Contributor

Almenon commented Oct 20, 2017

It would be nice to have truncation paramater in case there are too many items. set_show_to_level is useful in this regard, but it doesn't cover cases in which there are too many items in the level that you normally want shown.

Just something like this would work:

.............................
..............................
154 items truncated +

Alternatively, you could go with the approach used in the chrome developer tools and summarize the items like so:

[ 0-100 ] +
[ 100-200 ] +
[ 200-300 ] +
etc.... increasing the scale with the number of items.

@Almenon
Copy link
Contributor Author

Almenon commented Jan 1, 2018

I tried developing this for a tiny bit. Got it sort-of working but the tabs are wonky.

see Almenon@cc0b12a

@DirkReiners
Copy link

+1
This would be very useful! We have queries that can return between 1 and 100000 entries, so some control would be great!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants