Create an IDU-publisher-widget for Governance team to embed in Synapse wikis

Description

Currently, the Governance team uses the IDU-generator-button to pull a list of approved data accessors from a specific Access Requirement along with their institution and intended data use statement.

They would like to transition to using a proper "widget" to do this. The requirement would be create a wiki widget that could take a SINGLE Access Requirement ID and pull back the data requestor name, institution, and IDU w/ real time data so that governance team does not have to pull updated information and manually update the wikis.

Note: we are OMITTING the date field from the wiki widget for now because there are some discrepancies in the dates (e.g. date approved changes if they updated their IDU, we are not sure which date is appropriate to show).

cc: and and and and

Environment

None

Activity

Show:
Jay Hodgson
May 7, 2020, 6:44 PM

: Yes. We should at least hide the spinner after an error. Could you open up a related ticket for me?

Lea Martin
May 7, 2020, 6:57 PM

I played with it in staging and it seems awesome!! Unimportant, but I noticed when I was scrolling through that very, very occasionally an IDU text wraps, is that a formatting thing?

Jay Hodgson
May 8, 2020, 2:23 AM

: Could you open an issue for that text wrapping problem? It looks like the IDU statement has characters that are being interpreted as markdown, so it's ending up in a code block (in the case above). Thank you for reviewing!

Jay Hodgson
May 8, 2020, 2:43 AM
Edited

: I found a quick solution to the issue. By wrapping the IDU in a div, markdown processing will ignore the block (note that it will still be run through a html sanitizer before being rendered on the client). Fix is part of https://github.com/Sage-Bionetworks/SynapseWebClient/pull/4349 (which will be fixed on staging this week).

Lea Martin
May 8, 2020, 3:22 PM

Tested in staging and it works great! Thank you 1 billion times!

Assignee

Jay Hodgson

Reporter

Meredith Slota

Labels

Validator

Lea Martin

Development Area

Governance

Release Version History

None

Sprint

None

Fix versions

Priority

Major
Configure