Closed jason-capsule42 closed 1 month ago
This pull request fixes an issue where hyperlinks were not building correctly. The changes simplify the code by removing unnecessary variable assignments and directly returning the constructed link string.
classDiagram
class MarkdownPageWrapper {
+String replaceLink(String link, String url)
}
class AuroComponentContent {
+String replaceLink(String link, String url)
}
class AuroContributing {
+String replaceLink(String link, String url)
}
class AuroTokenList {
+String replaceLink(String link, String url)
}
class RenderMarkdownPage {
+String replaceLink(String link, String url)
}
class RenderComponentPage {
+String replaceLink(String link, String url)
}
MarkdownPageWrapper <|-- AuroComponentContent
MarkdownPageWrapper <|-- AuroContributing
MarkdownPageWrapper <|-- AuroTokenList
MarkdownPageWrapper <|-- RenderMarkdownPage
MarkdownPageWrapper <|-- RenderComponentPage
note for MarkdownPageWrapper "Updated to directly return constructed link string"
Change | Details | Files |
---|---|---|
Simplified hyperlink construction in multiple components |
|
src/content/dynamic/_template/component.js src/content/dynamic/contributing/contributing.js src/content/dynamic/contributing/dod.js src/content/dynamic/tokenlist/component.js src/functions/renderMarkdownPage.js src/functions/renderComponentPage.js |
Alaska Airlines Pull Request
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Summary:
Fixes issue where the hyperlinks were not building correctly
Type of change:
Please delete options that are not relevant.
Checklist:
By submitting this Pull Request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
Pull Requests will be evaluated by their quality of update and whether it is consistent with the goals and values of this project. Any submission is to be considered a conversation between the submitter and the maintainers of this project and may require changes to your submission.
Thank you for your submission!
-- Auro Design System Team
Summary by Sourcery
Bug Fixes: