amy icon indicating copy to clipboard operation
amy copied to clipboard

Use DataTables in all tabular data views

Open maneesha opened this issue 5 years ago • 10 comments

Anytime tabular data is displayed, the user should be able to select a column to sort by.

See also #1507 and #1063.

maneesha avatar Jun 24 '19 18:06 maneesha

@sheraaronhurt This is to make it easier on the admin user to scan data and find what they want - especially useful for larger data sets. Also, is there anything else that you think would make it easier for the admin user to view tabular data?

Which of the following applies to when you want to see this fixed?

  • Would like to see this fixed as soon as possible, in the next 1-2 development cycles (i.e., by September 2019)
  • Would like to see this fixed later (by the end of 2019)
  • Would like to see this fixed, but possibly as part of a larger project that needs more planning
  • Not sure
  • No longer relevant - OK to close

maneesha avatar Jun 24 '19 19:06 maneesha

@maneesha thanks for tagging me on this. I Would like to see this fixed later (by the end of 2019)

sheraaronhurt avatar Jun 24 '19 20:06 sheraaronhurt

@maneesha @sheraaronhurt I'd like you to decide if you want me to add DataTables, just as in here: https://amy.carpentries.org/requests/training_requests/ - this would enable you not only to sort by clicking columns, as it would allow changing number of elements per page, and searching within.

EDIT: if you don't like DataTables, then I'd have to use a different way.

pbanaszkiewicz avatar Jul 11 '19 16:07 pbanaszkiewicz

Yes - I think having all tabular views look like the training request view would be great.

maneesha avatar Jul 11 '19 19:07 maneesha

I agree with Maneesha, that will be great!

sheraaronhurt avatar Jul 11 '19 23:07 sheraaronhurt

Not sure how it works on your computers, but All Training Requests does slow down a bit on mine (using Windows and Firefox) due to the number of requests that need to load in.

pbanaszkiewicz avatar Jul 12 '19 12:07 pbanaszkiewicz

It's also slow for me too. I think that's OK. Maybe if the interface allows, we could have an hourglass or progress bar that indicates this. Other than that, it would be great to use this feature across all our tables.

maneesha avatar Aug 01 '19 20:08 maneesha

@maneesha can you please change the title to "Use DataTables in all tabular data views", as it's more general than just changing sorting options?

pbanaszkiewicz avatar Sep 09 '19 18:09 pbanaszkiewicz

MIne slows down too. I thought it was me!

sheraaronhurt avatar Sep 22 '20 14:09 sheraaronhurt

We should assess whether DataTables is the best option. This will be considered as part of our wider accessibility audit.

maneesha avatar Apr 11 '23 14:04 maneesha