Skip to content

Clickable links in warnings and errors - #20

Merged
lesnik512 merged 2 commits into
mainfrom
message-links
Oct 10, 2026
Merged

lesnik512 merged 2 commits into
mainfrom
message-links

Conversation

@lesnik512

Copy link
Copy Markdown
Member

URLs in collector messages (GitLab settings and members pages in the CI/CD and Environments warnings and in the 403 checklist) are now links on the page, in both languages.

  • messageParts(item) splits the rendered message, English text or the Russian rendering, into text and URL parts. Only http(s):// runs become links, and trailing punctuation such as . or ). stays outside the link.
  • Each part renders through x-if, so the DOM holds one element per part, and pre-line still keeps the 403 checklist on separate lines.
  • Links open in a new tab through the page's existing <base target="_blank">.
  • No report change; this is 0.6.1.

Linkifying the rendered text rather than the URL params covers both languages and any future message without per-code markup.

Checked in the browser with the schema 4 fixture: the 403 checklist shows three working links in English and Russian, plus punctuation edge cases.

@lesnik512
lesnik512 merged commit 38fe7b7 into main Oct 10, 2026
12 checks passed
@lesnik512
lesnik512 deleted the message-links branch October 10, 2026 08:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant