[Feature Request] Inbox: type `#` to mention a thread, with a dropdown that fuzzy matches thread titles
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 48/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- typescript
- Lĩnh vực
- frontend
Hướng nghiên cứu
Start with useMentionAutocomplete and mentionTrigger / MENTION_QUERY_RE in packages/ui/utils/mentions.ts, then read the thread mention implementation in threadMentions.ts and replyMentions.tsx and the guide section docs/agent-guides/inbox-compose.md. Trace how the @ picker works across reply and new-message composers. Done means the # picker follows the specified matching, grouping, row display, keyboard, and mention insertion behavior on the listed composer surfaces.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
What
When you type # and then a letter in an Inbox reply box, a dropdown opens with the threads whose titles fuzzy match what you typed. Picking one puts the same thread mention chip into the reply that you get today by dragging a thread row onto the reply box or by choosing "Mention in reply".
Why
Thread mentions already exist (see "Mention a thread in a reply" in docs/agent-guides/inbox-compose.md). But every way to add one needs the mouse or the thread's id. You can drag a row, open a row's menu, or paste a #thread=msg_… link. So pointing at an earlier thread in the middle of a sentence means leaving the keyboard. The reply box already completes /, $ and @ at the caret, and # is the one that's missing.
Spec
Where it works
- A thread's reply box, including its floating draft and full-screen versions.
- New message, when you start a thread with an agent. A new thread's first message would then need to carry the "Threads the person mentioned" list that replies carry today.
- It works wherever the
@picker works, phones included.
What opens it
#must start a word, meaning it is at the start of a line or follows whitespace. It must be followed by a letter in any script (\p{L}), so#a,#Üand#жall open the dropdown.- A digit or a space right after
#opens nothing, so#123issue and PR references and# Headingbehave as they do today. - The text you type after
#can contain spaces. The dropdown closes by itself as soon as no thread matches, and Escape closes it. - The keyboard works as it does in the
@picker. No row is highlighted until you press an arrow key, so Enter, Tab and Mod+Enter keep their normal meaning, and a dropdown opened by accident (#fff,#L42) costs nothing. No new keyboard shortcut is added.
Which threads it offers
- Open threads of every project. That includes threads whose agent session has ended: those are still open threads, and a reply in one can start a new session.
- Archived threads.
- Threads on linked machines, offered exactly like threads on this machine.
- It never offers the thread you are replying in, or a thread you have already mentioned in the same draft.
How matches are found and ordered
- A thread matches when the letters you typed appear in its title in the same order, not necessarily next to each other.
- The results come in three groups, in this order:
- open threads of the project you are in
- open threads of other projects
- archived threads, from any project
- Inside each group, the best match comes first. Equal matches go by most recent activity.
What each row shows
- The thread's title.
- The same mark the thread list draws for that thread, as set in Settings → Rows (agent icons, the tile made from the project name, or letter marks). If the list hides agent icons, the dropdown shows no mark either.
- The project name, only for a thread outside the project you are in.
- The machine name, only for a thread on a linked machine.
- "Archived", only for an archived thread.
- When the thread last had activity, short and muted (for example "2 h"), on the right side of the row. On a narrow row this is the first thing to go, before the title gets cut.
What picking a row does
Picking a row inserts the same thread mention (InboxReplyMention) that dragging a row or the row menu inserts. Everything that already applies to a thread mention stays the same: the grey chip for an archived thread, the draft keeping its mentions, undo, what the agent is told, and whether an agent on a linked machine can read the thread.
Not part of this request
- Comments on attached files and guides.
- Matching on message text. Search (⌘K) already does that.
Pointers
- Existing thread mentions:
docs/agent-guides/inbox-compose.md, the section "Mention a thread in a reply" (threadMentions.ts,replyMentions.tsx,@plannotator/core/inbox-thread-mention). - The
@picker:useMentionAutocomplete, andmentionTrigger/MENTION_QUERY_REinpackages/ui/utils/mentions.ts. Its pattern\wmatches only the letters a to z, so#needs\p{L}instead.
- Ngôn ngữ chính
- TypeScript
- Star
- 8.7k
- Fork
- 649
- Merge trung bình
- 16 giờ 1 phút
- Pull request đã merge (30 ngày)
- 756
Chuẩn bị môi trường
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của backnotprop/plannotator
-
Inbox: numbered choices in a :::question become free text, and context bullets become the choicesĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
backnotprop/plannotator#4132 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Claude Code: "classic.PermissionRequest hook was skipped" notice is back on Bash permission promptsĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
backnotprop/plannotator#4051 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
backnotprop/plannotator#4000 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
PR description is hidden when a PR review opens on a phoneCó thể đã có người làm @flipcyde101 đã nhận 8 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
backnotprop/plannotator#3667 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
backnotprop/plannotator#2643 · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của backnotprop/plannotator
Issue tương tự
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 75/100
-
review-followup
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
griffinwork40/agent-afk#5387 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug needs-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
CodeManufactoryLLC/Code60#358 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
android:plan ios:plan main:plan packages:learn
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
Maintainer thường phản hồi trong vòng 1 ngày