Skip to content

Conversation

@waleedlatif1
Copy link
Collaborator

Summary

  • fix mailgun

Type of Change

  • Bug fix

Testing

N/A

Checklist

  • Code follows project style guidelines
  • Self-reviewed my changes
  • Tests added/updated and passing
  • No new warnings introduced
  • I confirm that I have read and agree to the terms outlined in the Contributor License Agreement (CLA)

@vercel
Copy link

vercel bot commented Dec 3, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Preview Comments Updated (UTC)
docs Skipped Skipped Dec 3, 2025 0:20am

@greptile-apps
Copy link
Contributor

greptile-apps bot commented Dec 3, 2025

Greptile Overview

Greptile Summary

This PR updates the Mailgun icon across both sim and docs apps by replacing the SVG with a higher quality version that uses the official Mailgun red color (#C12126) and updated path data. The background colors were changed from orange to neutral gray for better visual contrast with the red icon.

  • Replaced MailgunIcon SVG in both apps/docs/components/icons.tsx and apps/sim/components/icons.tsx with new version featuring explicit red fill and larger viewBox (1000x1000 vs 512x512)
  • Updated background colors from #F06248 (orange) to #E0E0E0 (neutral gray) in both the block config and documentation

Confidence Score: 5/5

  • This PR is safe to merge with no risk
  • The changes are purely cosmetic, updating SVG icon paths and color values with no logic changes. The modifications are consistent across all affected files and won't impact functionality.
  • No files require special attention

Important Files Changed

File Analysis

Filename Score Overview
apps/docs/components/icons.tsx 5/5 Updated MailgunIcon SVG with new path data, viewBox dimensions (512→1000), and explicit red fill color
apps/sim/components/icons.tsx 5/5 Updated MailgunIcon SVG with new path data, viewBox dimensions (512→1000), and explicit red fill color
apps/docs/content/docs/en/tools/mailgun.mdx 5/5 Changed background color from orange (#F06248) to neutral gray (#E0E0E0) for better contrast with red icon
apps/sim/blocks/blocks/mailgun.ts 5/5 Changed bgColor from orange (#F06248) to neutral gray (#E0E0E0) for better contrast with red icon

Sequence Diagram

sequenceDiagram
    participant Dev as Developer
    participant Icons as Icon Components
    participant Block as Mailgun Block Config
    participant Docs as Documentation
    participant UI as User Interface

    Dev->>Icons: Update MailgunIcon SVG
    Note over Icons: Replace path data<br/>Change viewBox 512→1000<br/>Add explicit fill='#C12126'
    
    Dev->>Icons: Update in docs/components
    Dev->>Icons: Update in sim/components
    
    Dev->>Block: Update bgColor
    Note over Block: Change #F06248→#E0E0E0
    
    Dev->>Docs: Update color in mdx
    Note over Docs: Change #F06248→#E0E0E0
    
    UI->>Icons: Render MailgunIcon
    Icons-->>UI: Display red icon (#C12126)
    
    UI->>Block: Render block with bgColor
    Block-->>UI: Display gray background (#E0E0E0)
    
    Note over UI: Better contrast between<br/>red icon and gray background
Loading

Copy link
Contributor

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

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

4 files reviewed, no comments

Edit Code Review Agent Settings | Greptile

@waleedlatif1 waleedlatif1 changed the title fix(icons): fix mailgun fix(icons): fix mailgun, restore tts and smtp blocks Dec 3, 2025
@waleedlatif1 waleedlatif1 merged commit 2ab8cec into staging Dec 3, 2025
5 checks passed
@waleedlatif1 waleedlatif1 deleted the fix/icon branch December 3, 2025 00:21
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.

2 participants