usnistgov / dioptra

Test Software for the Characterization of AI Technologies
https://pages.nist.gov/dioptra/
Other
220 stars 33 forks source link

feat: sort table columns #581

Closed henrychoy closed 1 month ago

henrychoy commented 2 months ago

This PR adds the ability to sort table columns, specifically name, description, createdOn, and lastModified. Also, jobs are sortable by status and artifacts are sortable by uri. Not every table has all these columns because of space, but this is easily configurable if we want to change the default columns.

Tests were also added for each resource type to verify sort order.

keithmanville commented 2 months ago

LGTM

rebased on dev and resolved conflict from typo commit. ran black and isort.

keithmanville commented 1 month ago

@henrychoy can you rebase / resolve conflicts with dev?

Then I will sqauash and merge.

henrychoy commented 1 month ago

@henrychoy can you rebase / resolve conflicts with dev?

Then I will sqauash and merge.

@keithmanville Ran into some errors with rebase and merge, but got merge to work. Should be all set now.

keithmanville commented 1 month ago

@henrychoy I think I was able to do the rebase properly. We want to rebase on dev instead of merging dev so we can maintain a clean commit history.