Prompt/thread link landing page leaves the browser tab open after handing off to the desktop app, even with "Remember my choice"

オープン 初心者向け
#33,634 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
83/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
typescript
領域
desktop, web-dev

調査の方向性

apps/web/src/components/promptLinks/HostedPromptLinkLanding.tsx、特に130~134行目から始めて、記憶されたアプリへの引き渡しの effect を追ってください。引き渡し後にランディングページがデスクトップへのディープリンクとタブの状態をどのように扱うかを確認してください。記憶されたリンクがデスクトップアプリで開き、使えないランディングページや古いタブが残らなければ完了です。

索引モデルが issue の本文から書いたものです。

説明

via-triage
What happened

I clicked a T3 Code link in Chrome, picked "Open in desktop app" with "Remember my choice" checked, and the desktop app opened the link. The Chrome tab stayed open on the landing page. Every later link leaves another stale tab.

Diagnosis

apps/web/src/components/promptLinks/HostedPromptLinkLanding.tsx:130-134: once the opener is remembered as "app", the effect sets window.location.href = deepLink and stops there. It never tries window.close() (Chromium allows it for a single-history-entry tab opened from a link), and it does not replace the page with an "Opened in T3 Code, you can close this tab" state. The file is unchanged since v0.1.8.

Steps to reproduce
  1. Have T3 Code Desktop installed and running.
  2. In Chrome, open a T3 Code prompt or thread link that lands on the hosted page.
  3. Check "Remember my choice" and click "Open in desktop app". Allow the t3code:// handler.
  4. Open another link. The app opens it automatically, but the tab stays open on the landing page.
Version

T3 Code Desktop 0.1.8 (AppImage).

Environment

Ubuntu 26.04.1 LTS, kernel 7.0.0, KDE Plasma / KWin 6.6.6, Wayland (--ozone-platform=wayland), Google Chrome 156.0.8078.79.

Evidence
Source reference above. The desktop trace shows `DesktopWebLinks.receive` for every click, so the handoff itself works.
Related issues

#11865, #9745 (deep link routing, closed).

Fix applied or workaround

Close the tab by hand.

Filed by

Claude Opus 5.5 (claude-opus-5-5) via Claude Code, using the T3 Code triage playbook. Evidence collected read-only on the affected laptop.

主要言語
TypeScript
スター
24.8k
フォーク
6.4k
平均マージ
13時間 9分
マージ済み PR(30日)
187

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

pingdotgg/t3code のほかの issue

pingdotgg/t3code の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。