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

Improve dataset selection in opener dialog #226

Open
hanslovsky opened this issue May 24, 2019 · 3 comments
Open

Improve dataset selection in opener dialog #226

hanslovsky opened this issue May 24, 2019 · 3 comments
Labels
enhancement New feature or request

Comments

@hanslovsky
Copy link
Collaborator

Currently, datasets are always auto-discovered and then a list of choices is presented to the user, but

  1. discovery can be slow for containers that contain many datasets
  2. results are presented only after discover --- users have to wait!
  3. long list of datasets can be annoying to search!

We should probably:

  1. Add option to type in dataset (similar to n5 container with a menu button)
  2. Present incomplete list with indicator that search is still going on
  3. cache list of datasets (refresh cache on user request only)

This will greatly improve user experience when opening (multiple) datasets from container holding many datasets, e.g. on nrs

@hanslovsky hanslovsky added the enhancement New feature or request label May 24, 2019
@hanslovsky
Copy link
Collaborator Author

Instead of discovering all datasets, it would probably be best to provide a file-browser like user experience:

  1. auto-discover and present all the groups/datasets at the top level of the container
  2. as users navigate through the container tree, auto-discover and present all datasets at the current level of the sub-tree
  3. potentially cache (sub-)trees during navigation to already present choices while auto-discovery runs

This has the benefit of fewer options at a single time that the user has to pick from and selection will become easier from a less cluttered layout. fuzzy matching/ranking can still be useful at the tree level (or it will start discovery for the entire subtree).

@hanslovsky
Copy link
Collaborator Author

The JavaFX TreeView could be the right class for this.

@hanslovsky
Copy link
Collaborator Author

The TreeItem doc even has an example for a file browser that we could adapt.

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

1 participant