ClinGen / gene-and-variant-curation-tools

ClinGen's gene and variant curation interfaces (GCI & VCI). Developed by Stanford ClinGen team.
https://curation.clinicalgenome.org/
MIT License
3 stars 1 forks source link

Backfill CSpec versions in the VCI #358

Open cgpreston opened 7 months ago

cgpreston commented 7 months ago

The CSpec now has all older versions of the documents available for the VCI to consume. To allow users to select older versions we need to do some user improvement features, specifically:

  1. Display older versions of CSpec documents in the VCI to be attached to VCI records
  2. Change the display to preferentially display the current CSpec documents AND
  3. Add an additional check modal to require users to confirm their actions when they add a CSpec document that is not the most up to date version to a record

Suggestions:

  1. Sort the current CSpec documents to the top of the modal.
  2. Create a visual cue to guide users to the current documents such as:
    • Have the current documents at the top of the selection modal, have a bar that says "archived documents" and then the older documents below.
    • Have an "archived documents" expansion section of the modal, but initially only display the current docs.
    • Have an "archived document" or "current document" badge displayed in the modal.
    • Update the list to display "[CSpec name...] (Archived Document)"

SP ticket: https://broadinstitute.atlassian.net/browse/CGSP-651