Inbox: quick labels on a selected passage, editable and synced like the reaction tray

オープン
#4,511 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

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

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

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
typescript
領域
full-stack

調査の方向性

Start by tracing the Inbox selection toolbar and Comment box, then compare them with plan review’s quick-label picker and its localStorage key plannotator-quick-labels. Read how inboxReactions are stored in config.json and how the INBOX_SAVED_REACTIONS_MAX limit is applied. The requested outcome includes synced, editable labels that can be applied to selected text and the two tray behavior changes.

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

説明

Version: 0.29.18 (macOS, desktop browser)

The Inbox reaction tray is great: a saved emoji with a name, or bound to a skill, lets me answer a whole message in one click, and the name reaches the agent word for word. I'd like the same one-click answers for part of a message, plus a way to configure them.

What happens today
  • Selecting text in an agent's message shows: Copy, Delete, Comment, 👍, Side chat, Cancel. The Comment box has a text field, attach and expand, but no quick-label picker.
  • Plan review's selection toolbar does have quick labels (⚡, keys 1–9 / 0), but they live only in the browser's localStorage (plannotator-quick-labels) and there is no UI to edit them. Writing a custom label there does not make it appear in the Inbox.
Requests
  1. Quick labels on a selection in the Inbox. Same picker as plan review, in the selection toolbar or the Comment box, so a label can be applied with or without a comment (close to what #2626 asks for). The label's tip should reach the agent along with the quoted text.
  2. Edit quick labels in Settings, stored on the server. Emoji, short text and tip, kept in config.json like inboxReactions, so the same set shows on every browser and on the phone.
  3. Tray details:
    • The tray is capped at 5 saved emoji (INBOX_SAVED_REACTIONS_MAX). An option to raise it would help people who use reactions as short commands; 6–8 would cover most cases.
    • Hovering a skill-bound emoji opens a large description card that covers the other emoji in the tray, so it looks like the tray has only one option. A smaller card, or showing it above the row instead of beside it, would keep the rest visible.

Thanks!

主要言語
TypeScript
スター
8.7k
フォーク
649
平均マージ
16時間 26分
マージ済み PR(30日)
799

環境構築

はじめの一歩

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

backnotprop/plannotator のほかの issue

backnotprop/plannotator の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

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

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