pingdotgg / pingdotgg/t3code

[Bug]: SVG image attachments are rejected by T3 Code

Open
#10,936 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement needs-julius via-triage
Dominant language
TypeScript
Stars
23k
Forks
5.9k
Avg merge
11h 14m
Merged PRs (30d)
357

Description

Before submitting
  • I searched existing issues and did not find a duplicate.
  • I included enough detail to reproduce or investigate the problem.
Area

apps/web

Steps to reproduce
  1. Open T3 Code.
  2. Start or open a conversation.
  3. Drag an SVG to the composer.
Expected behavior

It should attach the SVG as an attachment.

Actual behavior

The composer refuses the SVG with an error message

SVGNAME is not a supported image type. Attach GIF, HEIC, HEIF, JPEG, PNG, or WebP images.
This prevents me to add SVG for designs.

Impact

Major degradation or frequent failure

Version or commit

0.0.41-nightly.20260908.1400

Environment

Windows 11

Logs or stack traces

Screenshots, recordings, or supporting files

No response

Workaround

A workaround is to rename the extension to txt or html or something.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in apps/web and trace the conversation composer’s image-attachment validation, using the reproduction steps to find where supported image types are defined. Update the behavior so SVG files can be attached without rejecting the existing image types, then run the relevant web tests or manually verify by dragging an SVG into a conversation.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.