Skip to content

[Bug]: Visual paste expansion icon does not appear pasting into "empty" initial session #485

@TheStaticMage

Description

@TheStaticMage

App Variant

Electron

Operating System & Version

Ubuntu 24.04 / CodeNomad 0.16.0

Issue Summary

Pasting into the default session with opening CodeNomad instance does not display the blue icon to expand the pasted content

Steps to Reproduce

  1. Start CodeNomad fresh
  2. Select a directory
  3. Without opening a session, copy this text:

I'm reproducing a bug in CodeNomad.
This text needs to be long enough to trigger paste wrapping.
If you receive this message, reply with the exact response "CodeNomad is great".

  1. Paste into the box - you will only see [pasted #1]
  2. Observe that there is no blue expansion icon above it
  3. Submit - the LLM should then say "CodeNomad is great".

Expected Behavior

The visual blue icon to unpack the pasted content should appear like it does everywhere else.

Image

Logs & Screenshots

Image
Image

Additional Context

The blue icon appears correctly for the next message.
The blue icon appears correctly for the first message after explicitly opening a new session.
The blue icon appears correctly for a follow-up message after opening an existing session.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions