Open only1chunts opened 4 years ago
probably part of same Epic as #288
Use this spreadsheet as source for the dataset type: https://docs.google.com/spreadsheets/d/1shH-QK-UT9HD88ysWFHVq5xUenxAmcbg/edit?usp=sharing&ouid=113349048176711233698&rtpof=true&sd=true
I think this can be decoupled from Epic #678 as its about the display on the home page not the use of the SRAO in the database. The only point of consideration related to the SRAO is the fact that there will be more dataset types to be displayed in the future.
User story
Acceptance criteria
Additional Info
Describe the functionality The home page contains a summary of the number of datasets of each particular dataset type. It appears it has been created using the textual names of the dataset types rather than actually looking in the database to find the names of the dataset types! This means that if we want to change the dataset type name (e.g. Proteomic to Proteomics) it crashes the GigaDB.org home page.
To Reproduce
Expected behavior If the dataset name is changed in the admin pages the change should be reflected on the homepage (as well as each of the datasets using that dataset type).
Additional context It is expected that the number of different dataset types will grow, currently we have 21 is use in the database, only 20 of those are displayed on the home page. Presumably thats because the homepage HTML code needs to be changed whenever a new dataset type is added and it wasn't! The home page should be using all dataset types from the database and automatically update when a new dataset type is added. NB - the count of datasets using each particular type shown on the home page should only be those datasets set to PUBLIC status. The count in the admin pages should include all statuses
Product Backlog Item Ready Checklist
Product Backlog Item Done Checklist
This Story is part of Epic #678