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

Usability for cases with a lot of nested data #135

Open
christianruhstaller opened this issue Jul 1, 2021 · 1 comment
Open

Usability for cases with a lot of nested data #135

christianruhstaller opened this issue Jul 1, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@christianruhstaller
Copy link

christianruhstaller commented Jul 1, 2021

Nice plugin!

We run into a usability issue when there is a load of nested data where it's really hard to navigate the fields and know where you are.

For our case the base data structure is like:

{
 ivr: {
  f: { // gender female
   18: {
    standard: 23.00,
    premium: 25.00
   },
           19: {},
           20: {},
           …
  },
  m: { // gender male
   …
  },
 },
 tfk: {…},
 wair: {…},
}

For each ivr, tfk and wair there are two genders and below that each entry corresponds to an age and range from 18 to 60. So quite a lot of data.

The problem is because there are so many entries you do not see on which branch you are and it's quite hard to edit those entries and knowing if you are in the correct branch:

image

Improvement-1: Collapsible children

One possible solution which could help, that you cold collapse the children so that you can drill in and know on which branch you are. Similar like code folding works:

image

Improvment-2: Fixed labels

Another possible solution would be to always have the property name visible at the specific position:

image

Final statement

Of course these are just ideas and need to validated if they work as intended and maybe there is even another better solution.

I'd like to know what you think of that? Do you even want to support such large structures with this plugin?

@chasegiunta
Copy link
Owner

Hey there,

I appreciate the well-written issue. I understand the problem and agree with the potential solutions (if viable).

I'll play around with these ideas and see what I can come up with. I might, depending on the work taken, end up putting this under a small paid tier for the plug-in so I can justify putting more features like this in and continue improving upon it.

@chasegiunta chasegiunta added the enhancement New feature or request label Jul 1, 2021
@chasegiunta chasegiunta changed the title Usability for cases with a lot of nested data (improvement) Usability for cases with a lot of nested data Jul 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants