-
Notifications
You must be signed in to change notification settings - Fork 364
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
feat: [UIE-8082] - DBaaS GA Database Create: Summary section, refactoring #11193
feat: [UIE-8082] - DBaaS GA Database Create: Summary section, refactoring #11193
Conversation
1a67ca0
to
b2adcfc
Compare
Coverage Report: ✅ |
b2adcfc
to
6d52eaa
Compare
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.
Nice work @mpolotsk-akamai Confirming on the functionality. I have left few comments related to organizing the code.
<Divider spacingBottom={12} spacingTop={38} /> | ||
<Grid> | ||
<Typography variant="h2">Select Engine and Region</Typography> | ||
<Select |
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.
I would recommend using Autocomplete instead of Select. Considering that this is an existing component, I'm fine addressing this in a follow-up ticket.
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.
@cpathipa, thanks for the suggestion! We can handle the change in a separate ticket.
packages/manager/src/features/Databases/DatabaseCreate/DatabaseClusterData.tsx
Outdated
Show resolved
Hide resolved
packages/manager/src/features/Databases/DatabaseCreate/DatabaseClusterData.tsx
Outdated
Show resolved
Hide resolved
) : ( | ||
'Please specify your cluster configuration' | ||
); | ||
const resizeSummary = ( |
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.
It would be nice and cleaner if we can extract this resizeSummary into its own component.
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.
@cpathipa, thanks for the review.
This component is shared for Database Create and Database Resize. That's why there is resizeSummary.
For Database Create we need currentSummary.
For Database Resize we need currentSummary and resizeSummary.
packages/manager/cypress/e2e/core/databases/resize-database.spec.ts
Outdated
Show resolved
Hide resolved
packages/manager/src/features/Databases/DatabaseCreate/utilities.ts
Outdated
Show resolved
Hide resolved
packages/manager/src/features/Databases/DatabaseCreate/DatabaseCreate.tsx
Outdated
Show resolved
Hide resolved
packages/manager/src/features/Databases/DatabaseCreate/DatabaseClusterData.tsx
Outdated
Show resolved
Hide resolved
packages/manager/src/features/Databases/DatabaseCreate/DatabaseClusterData.tsx
Show resolved
Hide resolved
packages/manager/src/features/Databases/DatabaseCreate/DatabaseClusterData.tsx
Outdated
Show resolved
Hide resolved
packages/manager/src/features/Databases/DatabaseCreate/DatabaseSummarySection.tsx
Outdated
Show resolved
Hide resolved
packages/manager/src/features/Databases/DatabaseCreate/DatabaseSummarySection.tsx
Outdated
Show resolved
Hide resolved
packages/manager/src/features/Databases/DatabaseCreate/DatabaseNodeSelector.test.tsx
Outdated
Show resolved
Hide resolved
packages/manager/src/features/Databases/DatabaseCreate/DatabaseSummarySection.test.tsx
Outdated
Show resolved
Hide resolved
67be07c
to
6f1b77e
Compare
d1b6f7f
to
dd2c1b8
Compare
Cloud Manager UI test results🎉 445 passing tests on test run #8 ↗︎
|
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.
Thanks for addressing feedback! UI is rendering the node selection and summary section as expected, didn't see other regressions, and tests are passing. 🚢
Cloud Manager E2E Run #6784
Run Properties:
|
Project |
Cloud Manager E2E
|
Branch Review |
develop
|
Run status |
Passed #6784
|
Run duration | 27m 42s |
Commit |
d60510e705: feat: [UIE-8082] - DBaaS GA Database Create: Summary section, refactoring (#1119...
|
Committer | mpolotsk-akamai |
View all properties for this run ↗︎ |
Test results | |
---|---|
Failures |
0
|
Flaky |
3
|
Pending |
2
|
Skipped |
0
|
Passing |
445
|
View all changes introduced in this branch ↗︎ |
Description 📝
DBaaS GA: Database Create: Summary Section, refactoring
Changes 🔄
List any change relevant to the reviewer.
Target release date 🗓️
11/12/24
Preview 📷
How to test 🧪
Prerequisites
(How to setup test environment)
Verification steps
(How to verify changes)
As an Author I have considered 🤔
Check all that apply