Skip to content

[Bug]: Threads in the Working section cannot be dragged into Pinned #28117

Open

Description

@Info-Cado

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. Keep Working section on (the default) and have a thread that is running, so it sits in the Working section.
  2. Expand the Working section.
  3. Press on the thread and drag it up to the Pinned area.
  4. Release it there.

Expected behavior

The thread lifts and follows the pointer, like a thread in any other section. The Pinned and Active labels appear, the row shows the Pin badge, and dropping it pins the thread at that spot. Thread menu > Pin already allows this, and a pinned thread stays in Pinned while it works.

Actual behavior

The row stays in place in Working, no drop labels appear, and nothing is pinned on release. The only drag that works is to a composer outside the thread list.

Impact

Minor bug or occasional failure: the thread menu is a workaround.

Version or commit

Reproduced on main at 79f1fad (after v0.1.6 prep).

Environment

Linux, web client code, Chromium.

Logs or stack traces

None. The block is deliberate code from #19697: planSidebarThreadDrop returns no move for every drop from Working, and isContextDrag treats every Working drag as a drag to the composer.

Screenshots, recordings, or supporting files

During the drag, before any fix:

Row stays in Working during the drag

Related but different: #16137 was about dragging a Working thread into a composer.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions