-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[PLAT-14158] Support multiple transactional xCluster configs per univ…
…erse on YBA UI Summary: YBDB support for multiple transactional xCluster configs per universe was added in: D33634 YBA backend support for multiple transactional xCluster configs per universe was added in: D37088 This diff adds YBA UI support for multiple transactional xCluster configs per universe. In this diff, we remove the logic for disabling xCluster config creation when either participant universe is already part of a transactional xCluster config. This diff also adds a DR config list page since we can now have more than one DR config per universe. Test Plan: Verify user can create more than one transactional xCluster config. - Test both transactional xCluster config and DR Verify the DR config list shows all DR configs that the current universe is participating in. {F280727} {F280730} {F280731} {F283536} Reviewers: rmadhavan, vbansal, hzare, cwang, mkazerooni Reviewed By: rmadhavan Subscribers: yugaware Differential Revision: https://phorge.dev.yugabyte.com/D37701
- Loading branch information
Showing
19 changed files
with
996 additions
and
516 deletions.
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
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
91 changes: 91 additions & 0 deletions
91
managed/ui/src/components/xcluster/disasterRecovery/DrConfigCard.module.scss
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,91 @@ | ||
@use '../../../_style/colors.scss'; | ||
@use '../../../_style/mixins.scss'; | ||
|
||
.configCard { | ||
background: colors.$YB_BG_WHITE_3; | ||
box-shadow: 0 0.12em 2px rgba(colors.$YB_DARK_GRAY_2, 0.05), | ||
0 0.5em 10px rgba(colors.$YB_DARK_GRAY_2, 0.07); | ||
border-radius: 6px; | ||
color: colors.$YB_TEXT_COLOR !important; | ||
|
||
a { | ||
color: unset; | ||
} | ||
|
||
a:hover .configName { | ||
color: colors.$YB_ORANGE !important; | ||
@include mixins.transition(0.125s); | ||
} | ||
|
||
.headerSection { | ||
align-items: center; | ||
display: flex; | ||
gap: 8px; | ||
justify-content: flex-start; | ||
|
||
padding: 12px 20px; | ||
|
||
.configNameContainer { | ||
align-items: center; | ||
display: flex; | ||
gap: 8px; | ||
|
||
width: 40%; | ||
|
||
.configName { | ||
color: colors.$YB_VIOLET_TEXT; | ||
font-size: 18px; | ||
font-weight: 500; | ||
word-break: break-all; | ||
@include mixins.transition(0.35s); | ||
a:hover { | ||
color: colors.$YB_ORANGE !important; | ||
@include mixins.transition(0.125s); | ||
} | ||
} | ||
} | ||
|
||
.status { | ||
margin-left: auto; | ||
font-size: 16px; | ||
text-align: end; | ||
} | ||
} | ||
|
||
.bodySection { | ||
display: flex; | ||
flex-wrap: wrap; | ||
justify-content: space-between; | ||
|
||
padding: 12px 20px; | ||
|
||
border-top: 1px solid colors.$YB_GRAY_HOVER; | ||
font-size: 12px; | ||
|
||
.configMetricsContainer { | ||
display: flex; | ||
justify-content: space-between; | ||
align-items: center; | ||
|
||
.configMetric { | ||
.label { | ||
font-size: 12px; | ||
height: 50%; | ||
} | ||
} | ||
} | ||
|
||
.viewTasksPrompt { | ||
font-size: 12px; | ||
|
||
a { | ||
color: colors.$YB_VIOLET_TEXT; | ||
text-decoration: underline; | ||
|
||
&:hover { | ||
color: colors.$YB_ORANGE_HOVER; | ||
} | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.