Preview annotations replace each other after the preview page reloads
メンテナーはふだん 1 日以内に返信
@not-compromised がすでに取り組んでいます。
2026年9月30日 から。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 84/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- typescript
- 領域
- desktop
調査の方向性
apps/desktop/src/preview/PickPreload.ts とその idSequence から始め、次に apps/web/src/composerDraftStore.ts の addPreviewAnnotation を読んでください。preview の reload、Refresh、Back、または webview の remount をまたいで picks を再現してください。アノテーションに異なる id が付与され、draft が先の annotation chip を置き換えずに両方保持すれば完了です。
索引モデルが issue の本文から書いたものです。
説明
What happened
Several annotations picked in the desktop preview for one prompt overwrite each other: a new one replaces the previous one instead of being added.
Diagnosis
apps/desktop/src/preview/PickPreload.ts numbers ids with a module-level counter (idSequence) that restarts on every page load (refresh, HMR, Back, webview remount). The first pick after any load is annotation_2. The composer draft keeps annotations across reloads, and addPreviewAnnotation (apps/web/src/composerDraftStore.ts) drops an entry with the same id before adding the new one, so the older annotation is replaced and its chip now shows the new one.
Steps to reproduce
- Open a page in the desktop preview.
- Pick an element, add a comment, attach.
- Refresh the preview.
- Pick another element, add a comment, attach.
- The draft holds one annotation (the second); the first is gone.
Version
v0.0.44 and main @ 0fcd5f906 (first seen on 0.0.42)
Environment
Linux (Arch, Hyprland), T3 Code desktop app
Evidence
Desktop trace, one evening on 0.0.42: 15 picks, most after a
preview refresh, Back, or webview re-registration.
Two simulated page loads through the same counter both yield
"annotation_2".
Fix: #14360
Investigated and filed by Claude Opus 5.5 in Claude Code.
- 主要言語
- TypeScript
- スター
- 24.8k
- フォーク
- 6.4k
- 平均マージ
- 2時間 31分
- マージ済み PR(30日)
- 475
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
pingdotgg/t3code のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
pingdotgg/t3code#21107 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
[Bug]: ManagedOOMPreference=avoid in t3code.service puts systemd --user into a 100% CPU loop with uresourced (Fedora/GNOME)対応中かも @nateEc が 1 日前に担当しました。 オープンaccepted bug via-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 69/100
pingdotgg/t3code#20931 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
bug via-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
pingdotgg/t3code#20128 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
[Bug]: T3_CODE_ORCHESTRATION_INSTRUCTIONS has no carve-out for user- or repo-mandated CLI review workflows (unlike T3_CODE_BROWSER_TOOL_INSTRUCTIONS)対応中かも @nivethass15102007-tech が 3 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
pingdotgg/t3code#19908 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
accepted bug via-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
pingdotgg/t3code#19536 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
pingdotgg/t3code の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
paperclipai/paperclip#16785 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
code-yeongyu/senpi#3661 ·
メンテナーはふだん 1 日以内に返信
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
難易度 1/5 1時間未満 初心者へのやさしさ 78/100
lingdojo/kana-dojo#32731 · コメント 1 件 · リアクション 5 件 ·
メンテナーはふだん 1 日以内に返信
-
bug status: needs triage
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
mastra-ai/mastra#27538 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
Yeachan-Heo/oh-my-codex#3822 ·
メンテナーはふだん 1 日以内に返信