Closed ChristaBull closed 2 months ago
marking this as stuck behind #402
This relates to: https://github.com/bcgov/MFIN-Data-Catalogue/issues/402#issuecomment-2070630231
@ChristaBull - please review
Seems to work how you proposed the solution. When a title is entered it will show up after the "[DOC TYPE]:" prefix, otherwise just "[DOC TYPE]" is displayed for the link text. When a title is removed there are no unexpected issues.
OP timer
https://openplus.monday.com/boards/4092908516/pulses/6387803536
User story
As a metadata editor I want to be able to communicate the difference between two different documents of the same type so that users know what they are clicking a link to view
Describe the idea
Some of the related document types (e.g. related legislation) could have more than one resource that should be highlighted. In these cases it would be helpful to be able to provide a "Document title" in addition to the "Document link" so it's clear to users viewing the catalogue what each link represents without clicking on the option.
Below is an example where I created a record that links to the Speculation & Vacancy Tax Act, and two of its regulations (there's more).
Proposed Solution
See #402 for acceptable link protocol patterns