Open
Description
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:
- Create a new tracing project.
- Add only one trace to the project.
- Click on the created trace to view its details.
- 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