Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UI Bug: Studio button in Agent Inbox opens two windows instead of one. #16

Open
HaohanTsao opened this issue Jan 24, 2025 · 0 comments
Open

Comments

@HaohanTsao
Copy link

Bug Description

When clicking the "Studio" button in the Agent Inbox interface, it opens two identical windows instead of one.

Image

Current Behavior

  • Clicking the Studio button opens two new windows
  • Both windows load the same LangSmith Studio page
  • This happens consistently with every click

Expected Behavior

  • Only one new window should open when clicking the Studio button

Technical Details

The issue appears to be caused by nested HTML elements in the button:

<a target="_blank" rel="noopener noreferrer" href="...">
    <button class="...">Studio</button>
</a>

Both elements might be capturing and processing the click event.

Suggested Fix

Either:

  1. Remove the nested <button> and style the <a> tag as a button
  2. Or use only a <button> with JavaScript to handle the window opening

Environment

  • Browser: Chrome 131.0.6778.265 (Official Build) (x86_64)
  • Operating System: macOS Sonoma 14.6.1
  • Run locally
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant