NCIOCPL / cgov-digital-platform

The Cancer.gov Digital Communications Platform
GNU General Public License v2.0
11 stars 33 forks source link

Story: Update Cancer Information Summary content type with SVPC field #3231

Closed sarinapadilla closed 2 years ago

sarinapadilla commented 3 years ago

As the system, I want to render a Cancer Information Summary content items with an "SVPC" field, so that user can view whether a cancer information summary is an SVPC document or not.

We need to update Drupal to reflect the inclusion of an “SVPC" field on CDR cancer information summary documents.

Tasks: update schema for incoming CDR cancer information summaries, update pdq_cancer_information_summary UI

ESTIMATE 2

Acceptance Criteria

Scenario: Content editor can see “SVPC” field on the Liver Cancer Treatment content item in Drupal CMS
Given the user is logged into the CMS as an editor
  And the incoming Liver Cancer Treatment CDR document has the "SVPC" field selected
  And this CDR document has been successfully processed into the CMS
When the user edits the Liver Cancer Treatment pdq_cancer_information_summary content item
Then the system displays the “SVPC” field as a checkbox
  And the system displays the “SVPC” field as selected
Scenario: Content editor can see “SVPC” field on the <insert non-SVPC cancer information summary here> content item in Drupal CMS
Given the user is logged into the CMS as an editor
  And the incoming <non-SVPC cancer information summary> CDR document has the "SVPC" field unselected
  And this CDR document has been successfully processed into the CMS
When the user edits the <non-SVPC cancer information summary> pdq_cancer_information_summary content item
Then the system displays the “SVPC” field as a checkbox
  And the system displays the “SVPC” field as unselected

Resources:

Notes

Some complementary notes if necessary:


Solution

Prerequisites

Tasks

Technical Notes

bkline commented 2 years ago

When the user views/edits the Liver Cancer Treatment pdq_cancer_information_summary content item

I would have assumed that the flag would appear on the editing form, but not on the rendered page for viewing the summary. The wording above seems to imply that it should appear on both. Is that right?

sarinapadilla commented 2 years ago

@bkline, that line should just say "edit" as it is just when you are viewing the edit UI in Drupal. I'll fix this wording to clarify!

bkline commented 2 years ago

Installed on https://ncigovcdode444.prod.acquia-sites.com/