Skip to content

update urls format for dialog links #703

@fdiblen

Description

@fdiblen

A new format for the documentation links was introduced in #686. We need to follow the same format in all the screens using the info dialog component.

old format:

a single url key with a string value.

new format:

an array of link objects. see below.

url: [
    {
        text: 'Click here to see the documentation for name particle.',
        link: 'https://github.com/citation-file-format/citation-file-format/blob/1.2.0/schema-guide.md#definitionspersonname-particle'
    },
    {
        text: 'Click here to see the documentation for family name.',
        link: 'https://github.com/citation-file-format/citation-file-format/blob/1.2.0/schema-guide.md#definitionspersonfamily-names'
    },
    {
        text: 'Click here to see the documentation for name suffix.',
        link: 'https://github.com/citation-file-format/citation-file-format/blob/1.2.0/schema-guide.md#definitionspersonname-suffix'
    }
]

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions