Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make an editable model for the Specimen Reference Sets pages #376

Open
nutjob4life opened this issue Sep 30, 2024 · 0 comments
Open

Make an editable model for the Specimen Reference Sets pages #376

nutjob4life opened this issue Sep 30, 2024 · 0 comments
Assignees
Labels
🧙‍♀️enhancement New feature or request

Comments

@nutjob4life
Copy link
Member

🤔 Tell Us About the Feature

The current reference set pages, such as for the lung reference sets, are extremely difficult to manage.

The page essentially consists of a large "typed table" block with 16 columns. Table editing in Wagtail is not the greatest:

  • Wagtail's editing column is narrow. This is fine for a table with three to five columns, but untenable for 16
    columns
  • The table also has 10 rows, requiring more scrolling
  • Many of the columns are blank; combined with the many rows, this means that when updating or adding new cells, it's difficult to tell which value goes in which columns (the column headings are hidden way off the scrolled page at the top—and combined with the narrow editing column, it's easy to get lost)
  • Many of the columns are blank—however blank cells are not allowed in a typed table! This means having to look up a special Unicode character "U+2060", also known as "WORD JOINER", and pasting that into cells that should be blank. Only one person in on the team knows how to even produce such a character!

Jackie Dahlgren and others at the DMCC have tried to update the page themselves and give up because of these challenges.

🎇 What Solution You'd Like

The reference sets should instead of a specific page model with fill-in-the-blank forms that can be edited by anyone—include the DMCC!

The model would consist of

  • Optional organ name: plain text
  • Optional protocol ID: a pick-list from existing protocols
  • Reference set title: optional hyperlink to an existing page or document
  • Cases, Controls, Total participants: three optional integer fields
  • Participant groups: optional plain text
  • Specimen type: a pick list to types of specimens
  • Number of specimens: optional integer field, formatted with commas for convenient display since the numbers can get large
  • Volume range: optional plain text
  • Radio buttons: specimens at NCI-F, discovery set, follow-up data, pathology, image files incident cancer

The radio buttons would be:

  • Yes
  • No
  • Unknown
  • TBD

This way, updating a single reference set or adding a new one would be as easy as filling out a form.

@nutjob4life nutjob4life added the 🧙‍♀️enhancement New feature or request label Sep 30, 2024
@nutjob4life nutjob4life self-assigned this Sep 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🧙‍♀️enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant