Skip to content

Conversation

@valkirilov
Copy link
Member

@valkirilov valkirilov commented Nov 3, 2025

Description

Update the visuals of the modal for Create FREE Cloud database:

  • added background colors according to Figma
  • removed blue color all over the screens
  • fixed alignments and buttons placement
  • change the style of the notification when you successfully create a cloud database, from "notice" to "success"
Before After
Screenshot 2025-11-03 at 11 01 09 Screenshot 2025-11-03 at 11 31 52

How it was tested

Create a FREE Cloud database when you're not logged in

  1. Open Redis Insight for the first time
  2. Open the modal for creating a new Cloud Database
  • from the "Sign In" button in the top right corner
  • from the "Cloud" icon in the left side navigation
  • from the first row in the Databases list table

PS: Some of the changes will be automatically applied to the Redis Copilot screen, because the component is shared.

Before After
Screenshot 2025-11-03 at 11 01 09 Screenshot 2025-11-03 at 11 31 52
Screenshot 2025-11-03 at 11 01 13 Screenshot 2025-11-03 at 11 32 01

Login with SSO

  1. Once you're already on the screen for creating a FREE cloud database, pick the SSO option

PS: The same changes will be automatically applied to the Redis Copilot screen, because the component is shared.

Before After
Screenshot 2025-11-03 at 10 56 47 Screenshot 2025-11-03 at 11 32 16
Screenshot 2025-11-03 at 10 56 55 Screenshot 2025-11-03 at 11 32 20

Create a FREE Cloud database when you're already logged in

  1. Open Redis Insight and make sure you're already logged in
  2. Start the process for creating a new free Cloud database
Before After
Screenshot 2025-11-03 at 11 08 55 Screenshot 2025-11-03 at 14 17 24
Screenshot 2025-11-03 at 14 20 03 Screenshot 2025-11-03 at 14 17 32

Choose a cloud provider manually

  1. Once you're already on the screen for creating a FREE cloud database, and you're logged in
  2. Uncheck the "Use a pre-selected provider and region" checkbox
  3. You'll be redirected to a screen where you can select the correct provider
Before After
2025-11-03_10-59 Screenshot 2025-10-31 at 16 34 53
Screenshot 2025-11-03 at 10 59 24 Screenshot 2025-10-31 at 16 34 59

Notification when the database is created successfully

Finish the process of creating a FREE cloud database, and you'll see the success toast notification.

Before After
Screenshot 2025-11-03 at 11 00 11 Screenshot 2025-10-31 at 16 38 51
Screenshot 2025-11-03 at 11 00 16 Screenshot 2025-10-31 at 16 38 59

@github-actions
Copy link
Contributor

github-actions bot commented Nov 3, 2025

Code Coverage - Frontend unit tests

St.
Category Percentage Covered / Total
🟢 Statements 82.24% 20150/24501
🟡 Branches 67.71% 8726/12887
🟡 Functions 76.36% 5360/7019
🟢 Lines 82.65% 19728/23869

Test suite run success

5229 tests passing in 681 suites.

Report generated by 🧪jest coverage report action from eeaec18

iconSize="XS"
iconSize="S"
variant="inline"
style={{ display: 'inline-flex' }}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why the inline style?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Because of issues with the alignment of the icon for this external link.

display: inline; (default) display: inline-flex
2025-11-03_16-16_1 2025-11-03_16-16

Copy link
Collaborator

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}
Copy link
Collaborator

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}>
Copy link
Collaborator

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;
Copy link
Collaborator

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

Copy link
Collaborator

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 :))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants