frontend icon indicating copy to clipboard operation
frontend copied to clipboard

Improve Table Display of Datasets View

Open LAShemilt opened this issue 1 year ago • 2 comments

Improve Table Display of Datasets View

Summary

When a user log into Scicat you see the view of the Datasets table with columns that are configured by the developer on the build of the frontend. To a user some of these columns are redundent, whilst some they want to search are hidden. This is especially true of scientific metadata.

We would like to allow users to dynamically choose which columns they would like to see in the table within reasonable limitations. For example:

  • allowing only 10 columns to be shown at one time
  • not displaying nested metadata as separate flattened columns

One difficulty is that what metadata the user wants to see will depend largely on which instrument, sample they are using because metadata can vary largely over these. It is possible to provide a pre filter to narrow this down.

Expected Behaviour

When you login first time you have the default table. The button to change the columns in the table should be more intuitive than it currently is. Once in this view you should be able to search the column names in a partial way so the user can see all fields they have access to .

Filtering

The current way the filtering is done: image

The vision: image

Extra Details

angular material - already used (for something) in Scicat. Offering form Angular. ngx-datatable - fullest featured table for Angular 13 , however has not been developed in 8 months and is not implemented in any later version of angular, but is usual to have a long waiting time. 774 issues. ag-grid - fairly full featured table for Angular 13 and later versions

Here you should include details about the system (if it is unique) and possible information

LAShemilt avatar Jul 19 '23 15:07 LAShemilt