-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UI: HDS adoption replace footer element #24191
Conversation
</span> | ||
|
||
<Hds::AppFooter as |AF|> | ||
<AF.Link @href={{changelog-url-for this.auth.activeCluster.leaderNode.version}}> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
note: I checked the ExternalLink
code and AF.Link
generates the same markup (target="_blank"
rel="noopener noreferrer"
)
ui/app/templates/vault.hbs
Outdated
</DocLink> | ||
</span> | ||
</footer> | ||
<AF.Link @href="https://developer.hashicorp.com/vault"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
note: can't use DocLink
anymore so had to hardcode this link it for now
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we have a template helper you can use:
here's an example of where else it's implemented
@href={{doc-link "/vault/tutorials/enterprise/secrets-sync"}} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
neat – will use that
dfdd71d
to
e77e725
Compare
Build Results: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great! Thanks for tackling 😄
d6dce31
to
a9e0a80
Compare
Replace
<footer>
with<Hds::AppFooter>
component in main application template.Notable changes: