Skip to content

Conversation

@valkirilov
Copy link
Member

@valkirilov valkirilov commented Nov 4, 2025

Description

Update the visual of the Redis Copilot:

  • update the colors of the chat bubbles
  • align the styles of the popovers with Figma
  • changed sass styles with styled components

How it was tested

When not logged in

  1. Open Redis Insight
  2. Open Redis Copilot from the top right corner

Expect to see the login form and be able to sign in to your account.

Before After
Screenshot 2025-11-03 at 13 52 19 Screenshot 2025-11-04 at 15 27 02
Screenshot 2025-11-03 at 13 52 25 Screenshot 2025-11-04 at 15 27 10

When you're not connected to a database

  1. Open Redis Insight
  2. Open Redis Copilot from the top right corner
  3. Hover over the textarea for entering a new prompt

You should see an informative tooltip to let you know that you should open a database first.

Before After
Screenshot 2025-11-04 at 16 43 32 Screenshot 2025-11-04 at 15 12 51
Screenshot 2025-11-04 at 16 41 56 Screenshot 2025-11-04 at 16 41 31

Welcome message by the bot

  1. Open Redis Insight
  2. Open Redis Copilot from the top right corner

If you're already logged in, you should be able to see the welcome message provided by the bot

Before After
Screenshot 2025-11-04 at 16 44 52 Screenshot 2025-11-04 at 16 35 49
Screenshot 2025-11-04 at 16 44 59 Screenshot 2025-11-04 at 16 35 54

Consent popover for "General" chat

  1. Open Redis Insight
  2. Open Redis Copilot from the top right corner
  3. Type in some prompt into the text area
  4. Click on the button to submit your message

A confirmation popover should appear on the screen.

Before After
Screenshot 2025-11-04 at 16 22 48 Screenshot 2025-11-04 at 15 19 39
Screenshot 2025-11-04 at 16 22 55 Screenshot 2025-11-04 at 15 19 54

Consent popover for "My Data" chat

  1. Open Redis Insight
  2. Open Redis Copilot from the top right corner
  3. Click on the "My Data" tab at the top
  4. Type in some prompt into the text area
  5. Click on the button to submit your message

A confirmation popover should appear on the screen.

Before After
Screenshot 2025-11-04 at 16 25 33 Screenshot 2025-11-04 at 15 20 31
Screenshot 2025-11-04 at 16 25 41 Screenshot 2025-11-04 at 15 20 40

Chat with the bot

  1. Open Redis Insight
  2. Open Redis Copilot from the top right corner
  3. Click on the "My Data" tab at the top
  4. Type in some prompt into the text area
  5. Click on the button to submit your message

You should be able to see your own message and a response from the bot.

Before After
Screenshot 2025-11-03 at 14 27 03 Screenshot 2025-11-04 at 15 01 02
Screenshot 2025-11-03 at 14 27 09 Screenshot 2025-11-04 at 15 01 12
With a scrollbar -
Screenshot 2025-11-05 at 13 33 43 Screenshot 2025-11-05 at 13 29 51
Screenshot 2025-11-05 at 13 33 50 Screenshot 2025-11-05 at 13 30 00

Tips popover

  1. Open Redis Insight
  2. Open Redis Copilot from the top right corner
  3. Click on the "My Data" tab at the top
  4. Click on the light bulb icon in the top right corner

A popover should appear with a link to the tutorials section

Before After
Screenshot 2025-11-04 at 16 27 36 Screenshot 2025-11-04 at 15 23 26
Screenshot 2025-11-04 at 16 27 42 Screenshot 2025-11-04 at 15 23 35

Restart Session

  1. Open Redis Insight
  2. Open Redis Copilot from the top right corner
  3. Click on the eraser icon in the top right corner

A confirmation popover should appear with an option to clear the existing chat history.

Before After
Screenshot 2025-11-04 at 15 02 54 Screenshot 2025-11-04 at 16 14 21
Screenshot 2025-11-04 at 15 03 03 Screenshot 2025-11-04 at 16 14 28

Failed messages

I'm not sure how to simulate real-world error, so I had to force it programmatically by changing the following line in src/components/side-panels/panels/ai-assistant/components/shared/chat-history/ChatHistory.tsx

Original

const { id, content, error, type: messageType } = message

Force error

const { id, content, type: messageType } = message
const error = "Ops! Something went wrong. Please try again."

Note: The error state uses a transparent chat bubble and icon indicator that something failed.

Before After
Screenshot 2025-11-04 at 16 29 23 Screenshot 2025-11-04 at 15 57 39
Screenshot 2025-11-04 at 16 29 31 Screenshot 2025-11-04 at 15 57 48

- style the chat bubbles
- style the popovers
- changed sass styles with styled components

re #RI-7690
@valkirilov valkirilov self-assigned this Nov 4, 2025
@github-actions
Copy link
Contributor

github-actions bot commented Nov 4, 2025

Code Coverage - Frontend unit tests

St.
Category Percentage Covered / Total
🟢 Statements 82.23% 20154/24510
🟡 Branches 67.7% 8728/12892
🟡 Functions 76.36% 5361/7021
🟢 Lines 82.64% 19732/23878

Test suite run success

5229 tests passing in 681 suites.

Report generated by 🧪jest coverage report action from 6c22712

@valkirilov valkirilov merged commit c3d6f9b into main Nov 5, 2025
26 checks passed
@valkirilov valkirilov deleted the fe/feature/RI-7690/redis-copilot branch November 5, 2025 13:14
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.

4 participants