-
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: Update replication nav #24283
Merged
Merged
UI: Update replication nav #24283
Changes from all commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
2aefa57
replication gets its own subnav
hashishaw 32b95dd
glimmerize replication-summary-card
hashishaw b8f2d62
Simplify replication-summary-card
hashishaw 8324b6f
update replication subnav + tests
hashishaw ef32618
replication action block uses HDS card
hashishaw a882455
add/update test selectors
hashishaw b10d243
test coverage
hashishaw 9e73af2
Add changelog
hashishaw f8f6e07
Merge branch 'main' into ui/replication-nav
hashishaw 71c3bad
Merge branch 'main' into ui/replication-nav
hashishaw 9099e3b
Merge branch 'main' into ui/replication-nav
hashishaw c39f5fd
Update defaults on replication-summary-card
hashishaw b166a0d
Merge branch 'main' into ui/replication-nav
hashishaw b732323
test that the view updates between replication types
hashishaw 77bd8d2
typo
hashishaw File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
```release-note:change | ||
ui: add subnav for replication items | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
{{! | ||
Copyright (c) HashiCorp, Inc. | ||
SPDX-License-Identifier: BUSL-1.1 | ||
~}} | ||
|
||
<Hds::Card::Container | ||
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. Moved to |
||
@hasBorder={{true}} | ||
class="replication-summary-card card-container summary" | ||
data-test-replication-summary-card | ||
> | ||
<h3 class="title is-5 grid-item-top-left card-title">{{@title}}</h3> | ||
<div class="grid-item-top-right"> | ||
<Hds::Button | ||
@route="mode.index" | ||
@model={{this.key}} | ||
@text="Details" | ||
@color="tertiary" | ||
@icon="chevron-right" | ||
@iconPosition="trailing" | ||
data-test-manage-link={{@title}} | ||
/> | ||
</div> | ||
<div class="grid-item-left"> | ||
<p class="title is-6">last_dr_wal</p> | ||
<p class="helper-text is-label has-text-grey"> | ||
Index of last WAL entry written on local storage. Updates every ten seconds. | ||
</p> | ||
</div> | ||
<div class="grid-item-right"> | ||
<p class="title is-6">known_secondaries</p> | ||
<p class="helper-text is-label has-text-grey">Number of secondaries connected to this primary.</p> | ||
</div> | ||
<p class="title is-3 grid-item-bottom-left" data-test-lastWAL>{{format-number this.lastWAL}}</p> | ||
<p class="title is-3 grid-item-bottom-right" data-test-known-secondaries>{{format-number this.knownSecondariesCount}}</p> | ||
<div class="grid-item-bottom-row"> | ||
<p class="title is-6">merkle_root</p> | ||
<p class="helper-text is-label has-text-grey">A snapshot of the merkle tree's root hash.</p> | ||
<div><code class="is-word-break has-text-black" data-test-merkle-root>{{this.merkleRoot}}</code></div> | ||
</div> | ||
</Hds::Card::Container> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
63 changes: 0 additions & 63 deletions
63
ui/lib/core/addon/templates/components/replication-summary-card.hbs
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
This was required to get the subnav rendering within an engine