Skip to content

fix(pi): show trace links in a single status line - #261

Open
Abhijeet Prasad (AbhiPrasad) wants to merge 1 commit into
mainfrom
clickable-braintrust-link-20f1ef31
Open

Abhijeet Prasad (AbhiPrasad) wants to merge 1 commit into
mainfrom
clickable-braintrust-link-20f1ef31

Conversation

@AbhiPrasad

@AbhiPrasad Abhijeet Prasad (AbhiPrasad) commented Nov 6, 2026 •

Copy link
Copy Markdown
Member

resolves https://linear.app/braintrustdata/issue/SDK-800/ui-layout-occupies-excessive-vertical-space-after-0290-update-omp-tern

🤖 This text was AI-generated.

The trace widget showed a full URL alongside a separate tracing status, adding clutter below the editor:

Braintrust trace
https://www.braintrust.dev/...
Braintrust: tracing

Replace both with one status that becomes clickable when a trace is available and Pi reports hyperlink support:

Braintrust: connected
         ↓
Braintrust trace ↗

Use Pi TUI's getCapabilities() and hyperlink() helpers to respect terminal support and PI_HYPERLINKS=0. When hyperlinks are disabled or unsupported, keep Braintrust: connected without a URL or a misleading link icon.

> 🤖 **This text was AI-generated.**

The trace widget showed a full URL alongside a separate tracing status,
adding clutter below the editor:

```text
Braintrust trace
https://www.braintrust.dev/...
Braintrust: tracing
```

Replace both with one status that becomes clickable when a trace is
available and Pi reports hyperlink support:

```text
Braintrust: connected
         ↓
Braintrust trace ↗
```

Use Pi TUI's getCapabilities() and hyperlink() helpers to respect terminal
support and PI_HYPERLINKS=0. When hyperlinks are disabled or unsupported,
keep Braintrust: connected without a URL or a misleading link icon.
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 6, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-06T21:25:57.495333Z 3387ede PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@Iron-Ham

Copy link
Copy Markdown

Is this in addition to the plugin status that already shows? Note the status (next to ponytail)

Image

@AbhiPrasad

Copy link
Copy Markdown
Member Author

Is this in addition to the plugin status that already shows? Note the status (next to ponytail)

So now this just leverages plugin status instead of using that + the full URL below. So you'll see the status look something like Braintrust trace ↗ if there is an active trace.

This branch has not been deployed

No deployments
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

Successfully merging this pull request may close these issues.

2 participants