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
@@ -1029,6 +1029,7 @@ export const dict: Record<I18nKey, string> = {
'chat.chatInput.previewContextRemove': 'Usuń kontekst podglądu',
'chat.chatInput.projectRoot': 'Katalog główny projektu',
'chat.chatInput.reviewComments': 'Komentarze do przeglądu:',
'chat.chatInput.reviewCommentsRemove': 'Usuń komentarze do przeglądu',
'chat.chatInput.toast.addedFileMentions': 'Dodano {count} wzmianek o plikach',
'chat.chatInput.toast.attachFileFailed': 'Nie udało się dołączyć pliku',
'chat.chatInput.toast.attachNamedFailed': 'Nie udało się dołączyć {name}',
@@ -1993,6 +1994,7 @@ export const dict: Record<I18nKey, string> = {
'inlineComment.actions.showLess': 'Show less',
'inlineComment.actions.showMore': 'Show more',
'inlineComment.input.placeholder': 'Add a comment... (Cmd+Enter to save)',
'inlineComment.input.placeholderShort': 'Dodaj komentarz...',
'inlineComment.range.lines': 'Lines {start}-{end}',
'inlineComment.toast.selectSessionToSave': 'Select a session to save comment',
'mainLayout.mobile.closeDrawerAria': 'Zamknij szufladę',