Skip to content

[LangSmith Platform UI] 'Compare' Button Freezes Page When Only One Trace Exists in Project #1838

Open
@ahsan-naveed

Description

@ahsan-naveed

Bug Description
When there is only one trace in a tracing project on the LangSmith Platform UI, clicking the "Compare" button causes the page to become unresponsive. The "Compare" button should be disabled in this scenario.


To Reproduce
Steps to reproduce the behavior:

  1. Create a new tracing project.
  2. Add only one trace to the project.
  3. Click on the created trace to view its details.
  4. Click the "Compare" button.

Expected behavior

  • The "Compare" button should be disabled when there is only one trace for a tracing project.
  • The page should remain responsive.

Actual behavior

  • After clicking the "Compare" button with only one trace, the page becomes stuck/unresponsive.

Environment:

  • Browser: Chrome
  • OS: MacOS
  • LangSmith Platform: Web Console

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions