You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We shoudl consider adding the prefix RRID: and an appropriate regex rule ^RRID:[a-zA-Z]+.+$ to both the SRC and the data model so that we can validate input RRIDs, and have a simpler rule on the SRC side for finding these RRIDs. This also will allow any synapse user to define any valid RRIDs as links (currently, they can only do ones that match the linkify code above).
currently, the SRC has to look for a variety of patterns to identify RRIDs: https://github.com/Sage-Bionetworks/synapse-web-monorepo/blob/9e4da441b2ab066bd2180ac071877173fe9573e5/packages/synapse-react-client/src/components/GenericCard/Linkify.tsx#L47
We shoudl consider adding the prefix RRID: and an appropriate regex rule
^RRID:[a-zA-Z]+.+$
to both the SRC and the data model so that we can validate input RRIDs, and have a simpler rule on the SRC side for finding these RRIDs. This also will allow any synapse user to define any valid RRIDs as links (currently, they can only do ones that match the linkify code above).What do you think @cconrad8 ?
The text was updated successfully, but these errors were encountered: