CDR Tickets

Issue Number 4508
Summary [DIS] Comments Display
Created 2018-08-01 12:45:06
Issue Type New Feature
Submitted By Osei-Poku, William (NIH/NCI) [C]
Assigned To Englisch, Volker (NIH/NCI) [C]
Status Closed
Resolved 2018-10-16 10:08:33
Resolution Fixed
Path /home/bkline/backups/jira/ocecdr/issue.230335
Description

Please show comments in the DIS QC report the same way comments are displayed in the HP QC reports. I will provide specific examples of how they should display.

Comment entered 2018-08-31 11:37:37 by Englisch, Volker (NIH/NCI) [C]

show comments in the DIS QC report the same way comments are displayed in the HP QC reports

First of all I'm guessing you would need an additional ticket to adjust the CSS for XMetaL because the comments aren't displayed properly, i.e. inside lists or a para level comment doesn't get displayed with the Comment-label or the green background.

Secondly, we're allowing internal, external, permanent, advisory, and editorial type comments. The type(s) of comment to be displayed as part of the QA reports needs to be selected. Please indicate which type(s) of comments need to be included and what the default display should be.

Comment entered 2018-10-10 15:54:20 by Osei-Poku, William (NIH/NCI) [C]

Since there are no boards for the DIS, we should just stick with Comment and Response to Comment without including all the different types. Also, I think the CSS is fine. We don't intend to use Comments in list items.

Comment entered 2018-10-10 16:11:07 by Englisch, Volker (NIH/NCI) [C]

I'm assuming when you're saying stick with Comment without including all the different types you mean that you're not going to use the internal/external/permanent/etc. attributes and a Comment element will just use all of the default settings of its attributes.

If I don't understand your comment correctly we would need to create new Comment elements because the comments used for Summaries can't be changed, so we couldn't just remove those attributes. We could create a DIS-Comment without any attributes, for instance.

Comment entered 2018-10-10 16:33:44 by Osei-Poku, William (NIH/NCI) [C]

Are you saying it is easier to include all the options but then we just use the defaults? That should be fine. The DISs don't need all the attributes and can just use the default attributes.

Comment entered 2018-10-15 18:13:33 by Englisch, Volker (NIH/NCI) [C]

It turns out the comments are already included in the QC report, however, the display is suppressed by CSS. The summary comments are controlled by the intermediary page where the user can check the type of comments to be displayed on or off.
I will have to "teach" the QC report for the DIS which set of comment related variables should be checked. This could either be done in one of the filters or the program QcReports.py

Comment entered 2018-10-16 10:08:22 by Englisch, Volker (NIH/NCI) [C]

The following file has been updated (branch cdr4508-DIScomments):

This is ready for review on DEV.

Unfortunately, since the fix was not a filter change the ticket isn't Release independent.

Comment entered 2019-06-21 17:01:22 by Englisch, Volker (NIH/NCI) [C]

I don't see a comment that this ticket was checked on DEV, .

Comment entered 2019-06-25 12:33:49 by Osei-Poku, William (NIH/NCI) [C]

Verified on DEV. Thanks!

Comment entered 2019-06-25 14:42:23 by Englisch, Volker (NIH/NCI) [C]

The changes have been merged into the release branch Joule:

https://github.com/NCIOCPL/cdr-admin/commit/5745c32

Comment entered 2019-08-05 13:34:07 by Osei-Poku, William (NIH/NCI) [C]

Verified on QA. Thanks!

Comment entered 2019-08-09 12:42:14 by Juthe, Robin (NIH/NCI) [E]

Christina and I discussed comments in the DIS and she would like to have the CSS fixed in order to be able to view the comments more clearly (including comments within list items). I added OCECDR-4646 to Kepler to address this.

Comment entered 2019-09-09 13:51:19 by Osei-Poku, William (NIH/NCI) [C]

Verified on PROD. Thanks!

Elapsed: 0:00:00.001809