fix: mobile diff comment input placeholder and review comments pill

Use a shorter comment placeholder on mobile (drop the Cmd+Enter hint that has
no touch equivalent) so it no longer clips in the auto-sized textarea.

Add a remove (x) button to the review comments pill, matching the annotation
and dev-server-log pills, and stop the mobile touch-target min-height/width
from inflating the pill close buttons.
This commit is contained in:
Bohdan Triapitsyn
2026-06-02 20:50:08 +03:00
parent d0623705b1
commit f1b57f53d3
10 changed files with 40 additions and 1 deletions
+2
View File
@@ -1206,6 +1206,7 @@ export const dict: Record<I18nKey, string> = {
"rightSidebar.contextNotesTodo.toast.readPlanFileFailed": "Не вдалося прочитати файл плану",
"inlineComment.range.lines": "Рядки {start}-{end}",
"inlineComment.input.placeholder": "Додайте коментар... (Cmd+Enter, щоб зберегти)",
"inlineComment.input.placeholderShort": "Додайте коментар...",
"inlineComment.actions.cancel": "Скасувати",
"inlineComment.actions.save": "Зберегти",
"inlineComment.actions.comment": "Коментар",
@@ -1742,6 +1743,7 @@ export const dict: Record<I18nKey, string> = {
"chat.chatInput.toast.openSessionFirst": "Спочатку відкрийте сесію",
"chat.chatInput.toast.togglePermissionAutoAcceptFailed": "Не вдалося ввімкнути автоматичне прийняття дозволів",
"chat.chatInput.reviewComments": "Коментарі рев’ю:",
"chat.chatInput.reviewCommentsRemove": "Прибрати коментарі рев’ю",
"chat.chatInput.devServerLogs": "Логи Dev Server:",
"chat.chatInput.devServerLogsRemove": "Прибрати логи Dev Server",
"chat.chatInput.previewAnnotations": "Анотації перегляду:",