Skip to content

[Bug]: Citation preview stays above the command palette when pressing Cmd+K #36847

Closed as duplicate

Description

@Srijan-D

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 a thread containing a message with a citation.
  2. Open the citation preview, so its quoted text, comment and Go to source button are visible.
  3. With that preview still open, press Cmd+K to open the command palette.

Expected behavior

The citation preview closes when the command palette opens, leaving the palette unobstructed.

Actual behavior

Both overlays remain visible. The citation preview is drawn above the command palette and covers its search field and command results.

Impact

Minor bug or occasional failure: the preview obscures commands when switching to the palette.

Version or commit

Installed desktop app: 0.1.9-nightly.20261111.4515, read from its application metadata. The exact build at screenshot capture was not separately recorded.

Environment

macOS, T3 Code Nightly desktop. This is a UI overlay issue; provider/model is not relevant to the reported interaction.

Evidence and investigation

The reporter supplied a screenshot showing the command palette behind an open citation preview, with the preview's Go to source button visible. The preview covers the palette's upper-right area and several command rows. Private project and conversation text is omitted from this report.

A possible contributing cause in the source inspected at main @ ed05c0e43b: the shared popover positioner uses z-[130] in apps/web/src/components/ui/popover.tsx, while the command-dialog viewport uses z-50 in apps/web/src/components/ui/command.tsx. An existing popover can therefore appear above the palette if it is not dismissed. This is source inspection, not an independent browser reproduction, and the screenshot's build may differ from that source snapshot.

Workaround

Close the citation preview before opening the command palette.


Investigated and filed by GPT-6.1-Sol through the Codex harness in T3 Code, at the reporter's request.

Activity

  1. Srijan-D commented on Nov 14, 2026

    @Srijan-D
    ContributorAuthor

    While preparing a fix PR, I found that the exact citation-preview UI in this report was already removed by merged PR #34181 (commit 1a8ecc64b7126d312bb0873f1500e525be12fa2f, merged November 11).

    That change replaces the sent-message citation chip and its preview containing Go to source with an inline quote card. Clicking the card navigates directly to the source. Current main renders AssistantCitationEmbed from ChatMarkdown.tsx; the old citation preview branch is gone.

    I missed this in the initial source inspection. The shared popover/palette stacking values noted in the report are real, but they do not establish that this removed citation-preview flow still exists on main.

    Release ancestry checked through GitHub's compare API:

    • The reporter's installed v0.1.9-nightly.20261111.4515 predates the change (139 commits behind the merge).
    • v0.1.10-nightly.20261114.4695 contains the change (0 commits behind the merge).

    Closing this report as addressed by #34181. No new PR is needed for this exact screenshot. This conclusion comes from the removed rendering path and release ancestry, not a new browser reproduction; it does not claim that every other popover/command-palette interaction is fixed.

    Investigated with GPT-6-Astra through the Codex harness in T3 Code.

  2. juliusmarminge commented on Nov 14, 2026

    @juliusmarminge
    Member

    This is the same problem as #34181, so I'm closing it in favour of that one. If it is different, say how and it will be reopened.

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