Tools screen: Results panel shows a double vertical scrollbar on long results
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 82/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- typescript
- Lĩnh vực
- frontend
Hướng nghiên cứu
Bắt đầu tại clients/web/src/components/groups/ToolResultPanel/ToolResultPanel.tsx, nơi ResultScroll bao bọc ContentViewer và các kết quả JSON sử dụng chế độ xem mã Ace. Tái hiện vấn đề với một kết quả công cụ JSON dài, sau đó kiểm tra ScrollArea bên ngoài và các vùng chứa cuộn của Ace. Hoàn tất khi các kết quả dài được Ace kết xuất hiển thị một thanh cuộn dọc duy nhất, trong khi các kết quả văn bản thuần túy vẫn không bị ảnh hưởng.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Problem
When a tool result is long enough to scroll, the Results panel on the Tools screen shows two vertical scrollbars side by side. It only happens when the result renders in the Ace code view (e.g. a JSON result); plain text results are unaffected. One scrollbar belongs to the Ace editor and the other to the panel's outer ScrollArea. They scroll the same content at different levels, which looks broken and makes it unclear which one to drag.
Steps to reproduce
- Connect to a server and open the Tools tab.
- Call a tool whose result renders in the Ace code view (e.g. JSON) and is long enough to scroll, a few hundred lines.
- Look at the right edge of the Results panel: there are two stacked vertical scrollbars.
Seen in v2.8.0.
Expected
A single vertical scrollbar. Either the Ace editor fills the panel and owns scrolling, or the outer scroll area does and the viewer grows to its content height. Not both.
Pointers
clients/web/src/components/groups/ToolResultPanel/ToolResultPanel.tsx: ResultScroll (a ScrollArea) wraps ContentViewer, which renders JSON through Ace, and Ace has its own scroll container.
- Ngôn ngữ chính
- TypeScript
- Star
- 11k
- Fork
- 1.5k
- Merge trung bình
- 5 giờ 13 phút
- Pull request đã merge (30 ngày)
- 132
Chuẩn bị môi trường
- Có Dockerfile hoặc tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của modelcontextprotocol/inspector
-
enhancement v2
Độ khó 2/5 Nửa ngày Mức phù hợp với người mới 76/100
modelcontextprotocol/inspector#2524 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 92/100
modelcontextprotocol/inspector#2523 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Plain HTTP 403 without `WWW-Authenticate` starts OAuth discovery in the Inspector web clientĐang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
modelcontextprotocol/inspector#2515 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement v2
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
modelcontextprotocol/inspector#2438 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
TUI and web launcher crash with an unhandled 'error' event when the browser opener cannot be spawnedĐang mởbug v2
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 74/100
modelcontextprotocol/inspector#2533 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của modelcontextprotocol/inspector
Issue tương tự
-
area/frontend good first issue kind/cooldown
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
voidzero-dev/oxc-angular-compiler#511 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
langchain-ai/deepagentsjs#898 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 92/100
anomalyco/models.dev#8509 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug documentation P2 UI/UX
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
Maintainer thường phản hồi trong vòng 1 ngày