feat(composer): context chip previews with inline comment editing
Hovering (or tapping) a context chip opens a stacked preview of its pending items above the composer: numbered entries with a muted header band, the captured selection, and the user's comment, which can be edited in place (save/cancel) or removed before sending. The chips component now subscribes to the draft store itself; the per-kind count plumbing in ChatInput is gone.
This commit is contained in:
@@ -11,6 +11,10 @@ export const dict: Record<I18nKey, string> = {
|
||||
'chat.message.context.chatQuote': 'Цитата з попереднього повідомлення',
|
||||
'chat.chatInput.chatQuoteContext': 'Цитати з чату',
|
||||
'chat.chatInput.chatQuoteContextRemove': 'Прибрати цитати з чату',
|
||||
'chat.chatInput.contextPreview.selectedLabel': 'Виділений текст',
|
||||
'chat.chatInput.contextPreview.commentLabel': 'Коментар користувача',
|
||||
'chat.chatInput.contextPreview.edit': 'Редагувати коментар',
|
||||
'chat.chatInput.contextPreview.remove': 'Прибрати',
|
||||
'chat.message.context.browserAnnotation': 'Анотація браузера ({page})',
|
||||
'chat.message.context.prComment': 'Коментар PR GitHub ({label})',
|
||||
'chat.message.context.prCheck': 'Невдала перевірка PR GitHub ({label})',
|
||||
|
||||
Reference in New Issue
Block a user