[PR #8765] feat: improved SVG output UX #26165

Closed
opened 2026-02-21 20:37:13 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/langgenius/dify/pull/8765

State: closed
Merged: Yes


Improved SVG output UX

  1. better size fit style

Before:

image

After:

image
  1. better placeholder style while SVG is still outputing

Before:

https://github.com/user-attachments/assets/ae7d55de-191b-44a5-b913-60d3220f235d

After:

https://github.com/user-attachments/assets/a6126ea3-2998-4862-a3bf-6f0d845b2c81

  1. SVG preview/source code toggle

https://github.com/user-attachments/assets/aefdcfb6-4df0-49c9-a109-52d222fa28d9

**Original Pull Request:** https://github.com/langgenius/dify/pull/8765 **State:** closed **Merged:** Yes --- ## Improved SVG output UX 1. better size fit style **Before:** <img width="300" alt="image" src="https://github.com/user-attachments/assets/29f49e75-17ed-44c1-a27e-0c47dcd375d5"> **After:** <img width="300" alt="image" src="https://github.com/user-attachments/assets/24df7b5e-dbb9-4306-9464-eeb46882f50c"> 2. better placeholder style while SVG is still outputing **Before:** https://github.com/user-attachments/assets/ae7d55de-191b-44a5-b913-60d3220f235d **After:** https://github.com/user-attachments/assets/a6126ea3-2998-4862-a3bf-6f0d845b2c81 3. SVG preview/source code toggle https://github.com/user-attachments/assets/aefdcfb6-4df0-49c9-a109-52d222fa28d9
yindo added the pull-request label 2026-02-21 20:37:14 -05:00
yindo closed this issue 2026-02-21 20:37:14 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#26165