A second notes box in the portal would be helpful as in many cases the curators want to jot down their own notes freely but only want to send concise tailored notes with Pharma partners.
Rename the current “Notes” field to “Notepad”
Create a new text field called “Curator Comments” which will be the field sent to Pharma partners. This field can appear much smaller in the portal as this will only be one line in most cases.
Check all places where the CurationResult model is used, particularly in the views, to make sure CSV exporters/importers and serialisers are also updated to handle the new field. For example here.
Change Notes to Notepad in the UI in React and add Curator Comments to the UI. See here.
Add/update relevant unit tests for any files that were modified (for example, here) to make sure new field is handled properly.
A second notes box in the portal would be helpful as in many cases the curators want to jot down their own notes freely but only want to send concise tailored notes with Pharma partners.
Code changes:
CurationResult
model is used, particularly in the views, to make sure CSV exporters/importers and serialisers are also updated to handle the new field. For example here.Note: cmd-shift-f "notes" in entire project to see places in the app where "curator_comments" should also be added/tested/modified