GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix(web): pasting an image or file drops its chip in the prompt again by flamboh · Pull Request #30458 · pingdotgg/t3code

Conversation

@flamboh

@flamboh flamboh commented Nov 3, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Note

🤖 Claude Opus 5.5 on behalf of Oliver

Fix for the redesign stack, targets layer 2 (#28840).

Problem

Pasting an image or file into the composer adds the attachment, but no chip goes into the prompt. On main, the chip lands at the cursor along with the attachment. Dropped files and files from the paperclip picker lost their chips too.

Two layer 2 commits changed this on purpose:

  • 005a026c8d "fix(chat): keep picked attachments above the prompt" only inserted chips when a text selection was being replaced.
  • cfb11d889d "fix(chat): stage file rows without an automatic reference" stopped adding file references and made undo keep file rows that never had one.

At Oliver's request, this PR goes back to main's behavior.

Fix

This reverts the behavior from both commits, so attachment intake matches main again:

  • Paste, drop and the paperclip picker all insert a chip for each file at the cursor, followed by a space.
  • Images get a chip when the prompt already has text, when a question is pending, or when a project must still be picked. An image pasted into an empty prompt stays chip-free, the same as on main.
  • Deleting a file's chip removes the file, and undo brings both back. This is main's reconcileAttachmentContextReferences, and its tests are restored too.

The redesign's attachment strip and rows look the same as before.

Validation

  • A new useComposerAttachmentIntake.browser.test.tsx pastes an image and a file after some text. It fails on layer 2 (no chips) and passes here.
  • vp run check:changed origin/maria/redesign/2-composer-timeline passes.
  • I also checked a local dev server with headless Playwright, using a synthetic paste, a drop and setInputFiles. Text followed by an image, a file, both, a drop or a picked file each inserts its chip once, with the cursor after it. An empty prompt with an image gets no chip. On layer 2, none of these inserted a chip.

Before / after

Before (layer 2) After
PNG pasted after text: attachment without an inline chip PNG pasted after text: attachment chip inserted after the text
Text file pasted after text: attachment without an inline chip Text file pasted after text: attachment chip inserted after the text

main reference — PNG pasted after text:

Main reference: pasted image inserts a chip after the text


Made with Claude Opus 5.5 in Claude Code (T3 Code).

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
maria-rcks and others added 30 commits November 3, 2026 21:50
@maria-rcks
feat(web): establish redesign primitives and shell
822f5a5
@maria-rcks
refactor(web): remove unused toggle pressed tokens
1f1e003
@maria-rcks
fix(web): match catalog button and type specimens
e30c0f0
@maria-rcks
fix(web): honor reduced motion in overlay primitives
43bc25f
@maria-rcks
fix(web): match shell and overlay design geometry
69e39fd
@maria-rcks
fix(web): align project search and sidebar badge sizes
99c0982
@maria-rcks
fix(web): preserve shell type role and titlebar spacing
3fc5fb8
@maria-rcks
fix(web): give provider tiles room for icons and labels
3cc0228
@maria-rcks
fix(web): match browser address toolbar spacing to design
2305eba
@maria-rcks
fix(chat): match inline request cards to the timeline design
fcd63e6
@maria-rcks
feat(ui): add relaxed picker spacing and compact key hints
6aa5a7a
@maria-rcks
fix(ui): use the inset field surface and format picker variants
0b10dde
@maria-rcks
fix(ui): preserve web context menu widths
278622f
@maria-rcks
fix(ui): keep palette actions above provider notices
53b7556
@maria-rcks
fix(ui): fit browser previews inside a landscape floating frame
e28f072
@maria-rcks
fix(web): restore compact panel controls and touch targets
3b01fa6
@flamboh @maria-rcks
fix(web): home screen project rows show the project they open (pingdo…
1f3b48a
…tgg#29085)
@flamboh @claude @maria-rcks
fix(web): Snoozed and Settled rows drop the PR badge, and snooze time…
8b45537
…s drop "Until" (pingdotgg#29134)

Co-authored-by: Claude Opus 5.5 <[email protected]>
@maria-rcks
fix(web): snoozed rows show the snooze time like main
1b6d43e
@flamboh @maria-rcks
fix(web): project groups show an icon if any checkout has one (pingdo…
715e809
…tgg#29199)
@flamboh @maria-rcks
fix(web): open pull requests show the arrow icon again (pingdotgg#29213)
4e2b126
@maria-rcks
fix(web): restore main sidebar thread rows
6080bd8
@flamboh @maria-rcks
fix(web): new-thread project rows inset their environment icon (pingd…
ee2e83c
…otgg#29985)
@flamboh @maria-rcks
fix(web): palette project rows show the location under the name (ping…
e39323c
…dotgg#29980)

* fix(web): project location keeps its machine name when the path truncates
@flamboh @maria-rcks
fix(web): sidebar New thread skips the project dialog (pingdotgg#29973)
9ee815d
@maria-rcks
fix(web): preserve rebased server text and shortcut expectations
96214ab
@maria-rcks
feat(web): redesign composer and conversation timeline
8f2a569
@maria-rcks
refactor(chat): remove unused work log helpers
5a2a9dd
@maria-rcks
fix(chat): stop tool shine while waiting for input
91f02e7
@maria-rcks
fix(chat): keep paused timer clear of question text
8790cd5
@maria-rcks
maria-rcks force-pushed the maria/redesign/2-composer-timeline branch 3 times, most recently from e908088 to 80cc977 Compare November 5, 2026 01:04
@maria-rcks
Merge maria/redesign/2-composer-timeline into t3/redesign-fix-paste-i…
b6291f4
…nserts-chip
@maria-rcks
maria-rcks merged commit 36876ea into pingdotgg:maria/redesign/2-composer-timeline Nov 5, 2026
2 checks passed

Uh oh!

There was an error while loading. Please reload this page.

SunkenInTime pushed a commit to SunkenInTime/t3code that referenced this pull request Nov 5, 2026
@flamboh @maria-rcks
fix(web): pasting an image or file drops its chip in the prompt again (…
f5b7f0d
…pingdotgg#30458)
SunkenInTime pushed a commit to SunkenInTime/t3code that referenced this pull request Nov 5, 2026
@flamboh @maria-rcks
fix(web): pasting an image or file drops its chip in the prompt again (…
0a86f36
…pingdotgg#30458)
SunkenInTime pushed a commit to SunkenInTime/t3code that referenced this pull request Nov 5, 2026
@flamboh @maria-rcks
fix(web): pasting an image or file drops its chip in the prompt again (…
dedb890
…pingdotgg#30458)
SunkenInTime pushed a commit to SunkenInTime/t3code that referenced this pull request Nov 5, 2026
@flamboh @maria-rcks
fix(web): pasting an image or file drops its chip in the prompt again (…
c3c4af6
…pingdotgg#30458)
SunkenInTime pushed a commit to SunkenInTime/t3code that referenced this pull request Nov 6, 2026
@flamboh @maria-rcks
fix(web): pasting an image or file drops its chip in the prompt again (…
d52b671
…pingdotgg#30458)
flamboh added a commit to flamboh/t3code that referenced this pull request Nov 6, 2026
@flamboh @maria-rcks
fix(web): pasting an image or file drops its chip in the prompt again (…
caf146a
…pingdotgg#30458)
flamboh added a commit to flamboh/t3code that referenced this pull request Nov 7, 2026
@flamboh @maria-rcks
fix(web): pasting an image or file drops its chip in the prompt again (…
434da08
…pingdotgg#30458)
flamboh added a commit to flamboh/t3code that referenced this pull request Nov 9, 2026
@flamboh @maria-rcks
fix(web): pasting an image or file drops its chip in the prompt again (…
da48036
…pingdotgg#30458)
flamboh added a commit to flamboh/t3code that referenced this pull request Nov 9, 2026
@flamboh @maria-rcks
fix(web): pasting an image or file drops its chip in the prompt again (…
e4ee220
…pingdotgg#30458)
flamboh added a commit to flamboh/t3code that referenced this pull request Nov 9, 2026
@flamboh @maria-rcks
fix(web): pasting an image or file drops its chip in the prompt again (…
6222ef8
…pingdotgg#30458)
flamboh added a commit to flamboh/t3code that referenced this pull request Nov 9, 2026
@flamboh @maria-rcks
fix(web): pasting an image or file drops its chip in the prompt again (…
45f8811
…pingdotgg#30458)
shivamhwp pushed a commit to shivamhwp/t3code that referenced this pull request Nov 11, 2026
@flamboh @maria-rcks
fix(web): pasting an image or file drops its chip in the prompt again (…
6e90c3c
…pingdotgg#30458)
flamboh added a commit to flamboh/t3code that referenced this pull request Nov 11, 2026
@flamboh @maria-rcks
fix(web): pasting an image or file drops its chip in the prompt again (…
8bdea43
…pingdotgg#30458)
flamboh added a commit to flamboh/t3code that referenced this pull request Nov 11, 2026
@flamboh @maria-rcks
fix(web): pasting an image or file drops its chip in the prompt again (…
62b920d
…pingdotgg#30458)
flamboh added a commit to flamboh/t3code that referenced this pull request Nov 11, 2026
@flamboh @maria-rcks
fix(web): pasting an image or file drops its chip in the prompt again (…
91ef4b3
…pingdotgg#30458)
flamboh added a commit to flamboh/t3code that referenced this pull request Nov 11, 2026
@flamboh @maria-rcks
fix(web): pasting an image or file drops its chip in the prompt again (…
cb1a5dd
…pingdotgg#30458)
flamboh added a commit to flamboh/t3code that referenced this pull request Nov 12, 2026
@flamboh @maria-rcks
fix(web): pasting an image or file drops its chip in the prompt again (…
aed0bd8
…pingdotgg#30458)
flamboh added a commit to flamboh/t3code that referenced this pull request Nov 12, 2026
@flamboh @maria-rcks
fix(web): pasting an image or file drops its chip in the prompt again (…
7255a58
…pingdotgg#30458)
screen-gd pushed a commit to screen-gd/t3code that referenced this pull request Nov 12, 2026
@flamboh @maria-rcks
fix(web): pasting an image or file drops its chip in the prompt again (…
d17e39f
…pingdotgg#30458)
screen-gd pushed a commit to screen-gd/t3code that referenced this pull request Nov 12, 2026
@flamboh @maria-rcks
fix(web): pasting an image or file drops its chip in the prompt again (…
3490641
…pingdotgg#30458)
SunkenInTime pushed a commit to SunkenInTime/t3code that referenced this pull request Nov 14, 2026
@flamboh @maria-rcks
fix(web): pasting an image or file drops its chip in the prompt again (…
621dcc3
…pingdotgg#30458)
screen-gd pushed a commit to screen-gd/t3code that referenced this pull request Nov 15, 2026
@flamboh @maria-rcks
fix(web): pasting an image or file drops its chip in the prompt again (…
c697df0
…pingdotgg#30458)
flamboh added a commit to flamboh/t3code that referenced this pull request Nov 16, 2026
@flamboh @maria-rcks
fix(web): pasting an image or file drops its chip in the prompt again (…
a29ed57
…pingdotgg#30458)
flamboh added a commit to flamboh/t3code that referenced this pull request Nov 17, 2026
@flamboh @maria-rcks
fix(web): pasting an image or file drops its chip in the prompt again (…
4f417b6
…pingdotgg#30458)
flamboh added a commit to flamboh/t3code that referenced this pull request Nov 17, 2026
@flamboh @maria-rcks
fix(web): pasting an image or file drops its chip in the prompt again (…
4b4c050
…pingdotgg#30458)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@macroscopeapp macroscopeapp[bot] macroscopeapp[bot] approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

size:S 10-29 changed lines (additions + deletions). vouch:trusted Author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@flamboh @maria-rcks
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.