hubmapconsortium / portal-ui

HuBMAP Data Portal front end
https://portal.hubmapconsortium.org
MIT License
12 stars 2 forks source link

Austenem/CAT-790 Remove last modified sections #3607

Closed austenem closed 1 week ago

austenem commented 1 week ago

Summary

Switch to showing Creation Date for samples/donors (previously Last Modified) and switch to showing Publication DateLast Modified for datasets (previously Publication DateCreation Date).

This update affects detail pages and the home page but no search pages.

Design Documentation/Original Tickets

CAT-790 Jira ticket

Testing

Checked examples of the affected pages - see screenshots below. Also checked Workspaces pages, which are the only remaining pages with tables that have a Last Modified column.

Screenshots/Video

Processed Dataset Summary ![Screenshot 2024-11-15 at 10 20 33 AM](https://github.com/user-attachments/assets/b44026be-03b3-4bb0-af72-74308469b35d) (a ticket has been made for the entity header styling issue)
Sample Detail Page ![Screenshot 2024-11-15 at 10 02 29 AM](https://github.com/user-attachments/assets/7e2ac77f-831b-46d9-ba51-1e8451ebf307)
Donor Detail Page ![Screenshot 2024-11-15 at 9 54 17 AM](https://github.com/user-attachments/assets/c7ccb08e-483e-4e1d-862f-ab71d427205f) ![Screenshot 2024-11-15 at 9 54 07 AM](https://github.com/user-attachments/assets/c6ed140f-baa0-4cef-a901-440cd8d5be48)
Dataset Provenance ![Screenshot 2024-11-15 at 9 51 38 AM](https://github.com/user-attachments/assets/a0034fb1-7938-4177-90ad-2ffa46410598)
Home Page 'Recent Datasets' Now showing most recently published datasets rather than most recently modified. ![Screenshot 2024-11-15 at 9 50 23 AM](https://github.com/user-attachments/assets/f46a2a37-86c8-4313-acd1-9663eed2d953)

Checklist

Other Notes

The getEntityCreationInfo function is now being used as the single source of truth for showing creation data in order to facilitate changes to this logic later on.

Many areas not listed in the screenshots have been updated to use this function, but their actual logic has not changed.