TUI Network zoom view renders all request headers on one cropped line

Open Beginner friendly
#3,132 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
1/5
Estimated time
Under an hour
Newbie friendliness
86/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
react, typescript

Research direction

Start in clients/tui/src/App.tsx near line 1592 and inspect the <Box> wrapping the zoom view’s request headers; compare its layout with the headers in RequestsTab.tsx. Reproduce the issue in the TUI Network tab using the steps in the issue, then confirm each header appears on its own line without cropping.

Written by the indexing model from the issue text.

Description

bug v2

Found during the v2.18.0 release smoke (#3127). Pre-existing: the code dates from the original TUI port (#1452).

Problem

In the TUI's Network tab, the + zoom view of a request puts the "Request Headers:" label and every header row on one line, which is then cropped:

Reaccept: application/json, text/event-stream authorization: [REDACTED] content-type: application/json dpop: [REDACTED] ocp-apim-subscription-key: [RE

The <Box> that wraps them, at about clients/tui/src/App.tsx:1592, has no flexDirection="column". The details pane (RequestsTab.tsx) lays the same headers out correctly, one per line.

Repro

  1. Connect the TUI to an HTTP server.
  2. Open the Network tab (n), press Tab twice, then +.

Expected

One header per line, as in the details pane.

Dominant language
TypeScript
Stars
11.4k
Forks
1.6k
Avg merge
2h 27m
Merged PRs (30d)
121

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from modelcontextprotocol/inspector

All issues in modelcontextprotocol/inspector

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.