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

Đang mở
#4,511 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

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
35/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
typescript
Lĩnh vực
full-stack

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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!

Ngôn ngữ chính
TypeScript
Star
8.7k
Fork
649
Merge trung bình
16 giờ 26 phút
Pull request đã merge (30 ngày)
799

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của backnotprop/plannotator

Tất cả issue của backnotprop/plannotator

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.