Inbox: 6 and 8-digit issue refs render as colour swatches instead of links
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 72/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- typescript
- 領域
- frontend
調査の方向性
バグは packages/ui/components/InlineMarkdown.tsx の InlineMarkdown にあります。16進数カラーのスウォッチを処理する分岐が、Issue参照を処理する #(\d+) の分岐より先に実行されています。まず2つの分岐とその順序を読み、次に #186379 と #123 をレンダリングして現在の出力を確認してください。すべて数字の6桁と8桁の参照がリンクになり、#a1b2c3 のような実際の16進数スウォッチと、既存の #123 参照の動作が引き続き機能すれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Since #1840, issue refs in Inbox messages link to the project's repo. Refs with 6 or 8 digits don't, though: #186379 shows a colour swatch and a code pill, because it's also a valid hex colour. That's every current PR in big repos like home-assistant/core.
In InlineMarkdown, the hex swatch branch runs before the issue-ref branch. 3 and 4-digit hex needs an a-f letter so #123 stays a ref, but the 6 and 8-digit forms have no such check, so all-digit values never reach the ref branch.
- https://github.com/backnotprop/plannotator/blob/4992653/packages/ui/components/InlineMarkdown.tsx (hex swatch and
#(\d+)branches)
Suggested fix: use the same letter rule for the 6 and 8-digit forms, or let an all-digit #n be an issue ref whenever a repo is known.
Seen on plannotator 0.28.20, Linux, OpenCode.
- 主要言語
- TypeScript
- スター
- 8.7k
- フォーク
- 649
- 平均マージ
- 4時間 11分
- マージ済み PR(30日)
- 335
環境構築
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
backnotprop/plannotator のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
backnotprop/plannotator#1867 ·
メンテナーはふだん 1 日以内に返信
-
Clicking a `file.ts:42` code reference opens the file at the top, not at line 42対応中かも @Totopo27 が 3 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
backnotprop/plannotator#1784 ·
メンテナーはふだん 1 日以内に返信
-
Claude Code: plan annotations are silently dropped when the plan is approved (approve path never sends feedback to the agent)対応中かも @mangxy が 46 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
backnotprop/plannotator#1359 ·
メンテナーはふだん 1 日以内に返信
-
Annotate documentation omits per-file version history and privacy controls再び着手できるかも このイシューのプルリクエストはマージされずにクローズされました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
backnotprop/plannotator#1086 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
backnotprop/plannotator#1069 ·
メンテナーはふだん 1 日以内に返信
backnotprop/plannotator の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
TomerAberbach/profiler-md#733 ·
メンテナーはふだん 1 日以内に返信
-
bug priority: medium
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
brentspine/brents-toasts#143 ·
-
🐛 bug 🗺️ DB Models & Ops
難易度 2/5 1〜3時間 初心者へのやさしさ 83/100
LibreChat-AI/LibreChat#17214 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 67/100
Wavvon/Wavvon-clients#136 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
umami-software/umami#4637 ·
メンテナーはふだん 3 日以内に返信