- 
                Notifications
    
You must be signed in to change notification settings  - Fork 412
 
RI-7415 Rework the visuals of the create cloud database modal #5137
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
base: main
Are you sure you want to change the base?
Conversation
…d database modal re #RI-7415
          
Code Coverage - Frontend unit tests
 Test suite run success5229 tests passing in 681 suites. Report generated by 🧪jest coverage report action from eeaec18  | 
    
| iconSize="XS" | ||
| iconSize="S" | ||
| variant="inline" | ||
| style={{ display: 'inline-flex' }} | 
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.
Why the inline style?
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.
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.
Can these issues be fixed for the component? I am guessing it will have the same issue wherever it is rendered
| <Modal.Content.Compose className={styles.container} data-testid="oauth-select-plan-dialog"> | ||
| <Modal.Content.Close icon={CancelIcon} onClick={handleOnClose} data-testid="oauth-select-plan-dialog-close-btn" /> | ||
| <Modal.Content.Compose | ||
| className={styles.container} | 
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 would be convenient moment to wrap Modal.Content.Compose into styled component and remove dependency of scss
| </Text> | ||
| )} | ||
| </section> | ||
| <footer className={styles.footer}> | 
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.
Same, it would be great to remove usage of scss whenever we edit a component
| font-size: 12px !important; | ||
| margin-left: 11px; | ||
| color: var(--euiColorMediumShade) !important; | ||
| padding: 32px 46px 0 46px; | 
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.
Please extract as a 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.
Great place to refactor all custom component :))


Description
Update the visuals of the modal for Create FREE Cloud database:
How it was tested
Create a FREE Cloud database when you're not logged in
PS: Some of the changes will be automatically applied to the Redis Copilot screen, because the component is shared.
Login with SSO
PS: The same changes will be automatically applied to the Redis Copilot screen, because the component is shared.
Create a FREE Cloud database when you're already logged in
Choose a cloud provider manually
Notification when the database is created successfully
Finish the process of creating a FREE cloud database, and you'll see the success toast notification.