-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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 Breadcrumbs #24387
Changes from all commits
d64e180
2ca429f
8b100ab
f95fa5a
d82a08e
49503ed
2a76e6f
3a53965
51964b8
ac538ef
6468fba
af30e58
6df616b
f134619
ffc4453
0f4749e
4696d09
d501d16
b35f45b
ad57a58
efcbc50
9b89fcb
8e6bf40
f6806c9
217abb5
e187d7d
d9ea21d
a46003b
1a312dd
d50d8fa
7a867c8
ad57846
40a14bf
d47f8c6
e6763e4
092b0a8
fbaf257
9f23dfd
f179137
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
```release-note:improvement | ||
ui: Implement Helios Design System Breadcrumbs | ||
``` |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,7 +26,7 @@ | |
} | ||
|
||
.title { | ||
margin-top: $spacing-36; | ||
margin-top: $spacing-16; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Until we replace this component, reducing to match the |
||
} | ||
|
||
.title-with-icon { | ||
|
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,16 +5,14 @@ | |
|
||
<PageHeader as |p|> | ||
<p.top> | ||
<nav class="breadcrumb" aria-label="breadcrumbs"> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
<ul> | ||
<li> | ||
<span class="sep">/</span> | ||
<LinkTo @route="vault.cluster.secrets.backend.overview" @model={{@backendPath}}> | ||
{{@backendPath}} | ||
</LinkTo> | ||
</li> | ||
</ul> | ||
</nav> | ||
<Hds::Breadcrumb> | ||
<Hds::Breadcrumb::Item | ||
@text={{@backendPath}} | ||
@route="vault.cluster.secrets.backend.overview" | ||
@model={{@backendPath}} | ||
/> | ||
<Hds::Breadcrumb::Item @text={{@roleName}} @current={{true}} /> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. In places where it made sense, I added a |
||
</Hds::Breadcrumb> | ||
</p.top> | ||
<p.levelLeft> | ||
<h1 data-test-title class="title is-3"> | ||
|
@@ -33,18 +31,12 @@ | |
@bottomBorder={{true}} | ||
@message={{@model.errorMessage}} | ||
> | ||
<nav class="breadcrumb" aria-label="help breadcrumb"> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. See screenshot above for before + after - shouldn't have been breadcrumbs to begin with |
||
<ul class="is-grouped-split"> | ||
<li> | ||
{{! Empty because they can't go "back" anywhere }} | ||
</li> | ||
<li> | ||
<DocLink @path="/vault/docs/secrets/databases" @class="has-text-grey"> | ||
Need help? | ||
</DocLink> | ||
</li> | ||
</ul> | ||
</nav> | ||
<Hds::Link::Standalone | ||
@iconPosition="trailing" | ||
@icon="docs-link" | ||
@text="Database documentation" | ||
@href={{doc-link "/vault/docs/secrets/databases"}} | ||
/> | ||
</EmptyState> | ||
{{/unless}} | ||
{{#if (and (not @model.errorMessage) (eq @roleType "dynamic"))}} | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,16 +5,10 @@ | |
|
||
<PageHeader as |p|> | ||
<p.top> | ||
<KeyValueHeader @path="vault.cluster.access.methods"> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I replaced |
||
<li> | ||
<span class="sep"> | ||
/ | ||
</span> | ||
<LinkTo @route="vault.cluster.access.methods" data-test-access-methods> | ||
methods | ||
</LinkTo> | ||
</li> | ||
</KeyValueHeader> | ||
<Hds::Breadcrumb> | ||
<Hds::Breadcrumb::Item @text="Auth Methods" @route="vault.cluster.access.methods" data-test-access-methods /> | ||
<Hds::Breadcrumb::Item @text={{@methodModel.id}} @current={{true}} /> | ||
</Hds::Breadcrumb> | ||
</p.top> | ||
<p.levelLeft> | ||
<h1 class="title is-3"> | ||
|
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.
Removing so styling properly applies to HDS elements yielded to empty state. Removing these styles also more closely align our existing empty state

LinkTo
elements to their HDS counterparts