Skip to content
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

Merged

Conversation

mpolotsk-akamai
Copy link
Contributor

@mpolotsk-akamai mpolotsk-akamai commented Oct 31, 2024

Description 📝

DBaaS GA: Database Create: Summary Section, refactoring

Changes 🔄

List any change relevant to the reviewer.

  • Added Summary section for Database Create
  • Refactoring Database Create

Target release date 🗓️

11/12/24

Preview 📷

Before After
Screenshot 2024-10-31 at 12 13 40 PM Screenshot 2024-10-31 at 12 14 14 PM
Screenshot 2024-10-31 at 12 14 27 PM

How to test 🧪

Prerequisites

(How to setup test environment)

  • Managed Databases account capability
  • LD flag: beta: false, enabled: true

Verification steps

(How to verify changes)

  • Navigate to the Database Create page
  • Summary section is displayed at the bottom of the page with the default text
  • Select a Plan and the Number of Nodes.
  • Summary section updates to display the selected plan, number of nodes, and price.

As an Author I have considered 🤔

Check all that apply

  • 👀 Doing a self review
  • ❔ Our contribution guidelines
  • 🤏 Splitting feature into small PRs
  • ➕ Adding a changeset
  • 🧪 Providing/Improving test coverage
  • 🔐 Removing all sensitive information from the code and PR description
  • 🚩 Using a feature flag to protect the release
  • 👣 Providing comprehensive reproduction steps
  • 📑 Providing or updating our documentation
  • 🕛 Scheduling a pair reviewing session
  • 📱 Providing mobile support
  • ♿ Providing accessibility support

@mpolotsk-akamai mpolotsk-akamai requested a review from a team as a code owner October 31, 2024 11:17
@mpolotsk-akamai mpolotsk-akamai requested review from mjac0bs and bnussman-akamai and removed request for a team October 31, 2024 11:17
@mpolotsk-akamai mpolotsk-akamai force-pushed the UIE-8082-DBaaS-GA-Create-Refactoring branch from 1a67ca0 to b2adcfc Compare October 31, 2024 11:34
Copy link

github-actions bot commented Oct 31, 2024

Coverage Report:
Base Coverage: 87.32%
Current Coverage: 87.33%

@mpolotsk-akamai mpolotsk-akamai force-pushed the UIE-8082-DBaaS-GA-Create-Refactoring branch from b2adcfc to 6d52eaa Compare October 31, 2024 13:49
@mpolotsk-akamai mpolotsk-akamai requested a review from a team as a code owner October 31, 2024 13:49
@mpolotsk-akamai mpolotsk-akamai requested review from AzureLatte and removed request for a team October 31, 2024 13:49
@cpathipa cpathipa requested review from cpathipa and removed request for bnussman-akamai and AzureLatte October 31, 2024 15:12
@cpathipa cpathipa added DBaaS Relates to Database as a Service Work in Progress and removed Work in Progress labels Oct 31, 2024
Copy link
Contributor

@cpathipa cpathipa left a 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.
image

<Divider spacingBottom={12} spacingTop={38} />
<Grid>
<Typography variant="h2">Select Engine and Region</Typography>
<Select
Copy link
Contributor

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.

Copy link
Contributor Author

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.

) : (
'Please specify your cluster configuration'
);
const resizeSummary = (
Copy link
Contributor

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.

Copy link
Contributor Author

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.

@mpolotsk-akamai mpolotsk-akamai force-pushed the UIE-8082-DBaaS-GA-Create-Refactoring branch from 67be07c to 6f1b77e Compare November 4, 2024 16:38
@mpolotsk-akamai mpolotsk-akamai force-pushed the UIE-8082-DBaaS-GA-Create-Refactoring branch from d1b6f7f to dd2c1b8 Compare November 4, 2024 16:41
@linode-gh-bot
Copy link
Collaborator

Cloud Manager UI test results

🎉 445 passing tests on test run #8 ↗︎

❌ Failing✅ Passing↪️ Skipped🕐 Duration
0 Failing445 Passing2 Skipped82m 34s

Copy link
Contributor

@mjac0bs mjac0bs left a 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. 🚢

@mjac0bs mjac0bs added the Approved Multiple approvals and ready to merge! label Nov 4, 2024
@mjac0bs mjac0bs merged commit d60510e into linode:develop Nov 4, 2024
22 of 23 checks passed
Copy link

cypress bot commented Nov 4, 2024

Cloud Manager E2E    Run #6784

Run Properties:  status check passed Passed #6784  •  git commit d60510e705: feat: [UIE-8082] - DBaaS GA Database Create: Summary section, refactoring (#1119...
Project Cloud Manager E2E
Branch Review develop
Run status status check passed Passed #6784
Run duration 27m 42s
Commit git commit d60510e705: feat: [UIE-8082] - DBaaS GA Database Create: Summary section, refactoring (#1119...
Committer mpolotsk-akamai
View all properties for this run ↗︎

Test results
Tests that failed  Failures 0
Tests that were flaky  Flaky 3
Tests that did not run due to a developer annotating a test with .skip  Pending 2
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 445
View all changes introduced in this branch ↗︎

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Approved Multiple approvals and ready to merge! DBaaS Relates to Database as a Service
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants