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

Aperta
#4,511 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
35/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
typescript
Ambito
full-stack

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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!

Lingua principale
TypeScript
Stelle
8.7k
Fork
649
Merge medio
16h 26m
PR unite (30g)
799

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di backnotprop/plannotator

Tutte le issue di backnotprop/plannotator

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.