Skip to content

feat(ai-chatbot): Replace suggestion chip emojis with modern outline SVG vector icons - #4274

Closed
DebasmitaBose0 wants to merge 1 commit into
dhairyagothi:Mainfrom
DebasmitaBose0:fix/ai-chatbot-prompt-chip-vectors
Closed

DebasmitaBose0 wants to merge 1 commit into
dhairyagothi:Mainfrom
DebasmitaBose0:fix/ai-chatbot-prompt-chip-vectors

Conversation

@DebasmitaBose0

Copy link
Copy Markdown
Contributor

Closed #4273

Description

Replaces standard chip emojis (⚛️, 🐍, ✨, 💡) in empty state suggestions inside the Gemini AI ChatBot interface with clean, outline vector graphics.

Enhancements

  • Replaces suggestion cards with Atom rings, Code braces, Sparkles, and Intelligent bulbs.
  • Adds beautiful translation transformations (translateY(-2px)) on hover to encourage clicks.

Copilot AI review requested due to automatic review settings May 26, 2026 07:57
@vercel

vercel Bot commented May 26, 2026

Copy link
Copy Markdown

@DebasmitaBose0 is attempting to deploy a commit to the Dhairya Gothi 's projects Team on Vercel.

A member of the Team first needs to authorize it.

@github-actions

Copy link
Copy Markdown
Contributor

Thank you for submitting your pull request! 🙌 We'll review it as soon as possible. In the meantime, please ensure that your changes align with our CONTRIBUTING.md. If there are any specific instructions or feedback regarding your PR, we'll provide them here. Thanks again for your contribution! 😊

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Note

Copilot was unable to run its full agentic suite in this review.

This PR updates the chatbot UI “suggestion chips” to use inline SVG icons and adds supporting CSS for the new icon+chip styling.

Changes:

  • Added CSS rules for .suggestion-chip hover animation and .chip-icon-svg sizing/styling
  • Replaced emoji-prefixed suggestion button labels with inline SVG icons

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +16 to +20
transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.suggestion-chip:hover {
transform: translateY(-2px) scale(1.02);
}
Comment on lines +12 to +18
.suggestion-chip {
display: inline-flex !important;
align-items: center;
gap: 6px;
transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.suggestion-chip:hover {
Comment on lines +117 to +120
<button class="suggestion-chip" data-text="Explain quantum computing in simple terms"><svg class="chip-icon-svg" viewBox="0 0 24 24"><circle cx="12" cy="12" r="2"/><path d="M12 7c-3.31 0-6 2.69-6 6s2.69 6 6 6 6-2.69 6-6-2.69-6-6-6zm0 10c-2.21 0-4-1.79-4-4s1.79-4 4-4 4 1.79 4 4-1.79 4-4 4z"/></svg> Explain quantum computing</button>
<button class="suggestion-chip" data-text="Write a Python function to sort a list of dictionaries by a key"><svg class="chip-icon-svg" viewBox="0 0 24 24"><path d="M9.4 16.6L4.8 12l4.6-4.6L8 6l-6 6 6 6 1.4-1.4zm5.2 0l4.6-4.6-4.6-4.6L16 6l6 6-6 6-1.4-1.4z"/></svg> Python sorting function</button>
<button class="suggestion-chip" data-text="What are the best practices for writing clean code?"><svg class="chip-icon-svg" viewBox="0 0 24 24"><path d="M12 2l2.4 4.8 4.8 2.4-4.8 2.4-2.4 4.8-2.4-4.8-4.8-2.4 4.8-2.4L12 2zm0 13l1.2 2.4 2.4 1.2-2.4 1.2-2.4 1.2-1.2 2.4-1.2-2.4-2.4-1.2 2.4-1.2L12 15z"/></svg> Clean code best practices</button>
<button class="suggestion-chip" data-text="Help me brainstorm names for a tech startup"><svg class="chip-icon-svg" viewBox="0 0 24 24"><path d="M9 21c0 .55.45 1 1 1h4c.55 0 1-.45 1-1v-1H9v1zm3-19C8.14 2 5 5.14 5 9c0 2.38 1.19 4.47 3 5.74V17c0 .55.45 1 1 1h6c.55 0 1-.45 1-1v-2.26c1.81-1.27 3-3.36 3-5.74 0-3.86-3.14-7-7-7zm2.85 11.1l-.85.6V16h-4v-2.3l-.85-.6C7.8 12.16 7 10.63 7 9c0-2.76 2.24-5 5-5s5 2.24 5 5c0 1.63-.8 3.16-2.15 4.1z"/></svg> Brainstorm startup names</button>
@dhairyagothi dhairyagothi added gssoc:approved Approved by admin level:beginner Beginner difficulty task type:refactor Refactoring/improvement labels May 26, 2026
@github-actions github-actions Bot added the merge-conflicts Pull request has merge conflicts label May 27, 2026
@dhairyagothi

Copy link
Copy Markdown
Owner

Please resolve merge conflicts before this PR can be merged.

2 similar comments
@dhairyagothi

Copy link
Copy Markdown
Owner

Please resolve merge conflicts before this PR can be merged.

@dhairyagothi

Copy link
Copy Markdown
Owner

Please resolve merge conflicts before this PR can be merged.

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

Labels

gssoc:approved Approved by admin level:beginner Beginner difficulty task merge-conflicts Pull request has merge conflicts type:refactor Refactoring/improvement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Gemini AI ChatBot - Elegant Prompt Chip Vectors

3 participants