Skip to content

feat:(GlLink) Add documentation

Katie Macoy requested to merge link into main

What does this MR do?

This MR adds documentation for the GLLink. The component exists in GitLab UI but is not documented in Pajamas. I've often found myself looking for it. Instead, guidance about links is spread in different parts of the site.

There's a number of discussions going on around visual styling of links, including the underlining of links. The intention is this documentation is the foundation that we can build off of. We need to define standards about how we visually signal links and link variants and then document them here. Examples of conversations: #1041 (closed), #1266 (closed), gitlab-org/gitlab-ui#1084

For now, this MR takes the vague stance that we should try to underline links where possible (for accessibility) but does not give more specific guidance.

Question

  • I'm not sure where to link to within Figma - I don' think we have a link text style - do we need to create one?

Related to: #880 (closed)

Does this MR meet the acceptance criteria?

Links

Edited by Jeremy Elder

Merge request reports