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

Open
#4,511 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
typescript
Domain
full-stack

Research direction

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.

Written by the indexing model from the issue text.

Description

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!

Dominant language
TypeScript
Stars
8.7k
Forks
649
Avg merge
16h 26m
Merged PRs (30d)
799

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from backnotprop/plannotator

All issues in backnotprop/plannotator

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.