fix: preserve markdown when saving notes

Change the chat text-selection Add to notes action to use the existing markdown selection payload, matching Add to chat formatting behavior while still falling back to plain text when markdown extraction is unavailable.

Stop distilling or summarizing selected text before saving it to project notes. The action now appends the selected content directly so code, lists, emphasis, and other markdown survive.

Increase the project notes text limit from 1000 to 3000 characters to account for saving raw selected text instead of a short generated summary.

Update user-facing copy across locales from distilled insight language to selected text language.
This commit is contained in:
Bohdan Triapitsyn
2026-05-19 02:07:07 +03:00
parent 174fa4e96d
commit f40110698f
9 changed files with 20 additions and 36 deletions
+2 -2
View File
@@ -1484,7 +1484,7 @@ export const dict: Record<I18nKey, string> = {
'chat.questionCard.copyFailed': '질문 복사에 실패했습니다',
'chat.textSelection.toast.noProject': '이 세션의 프로젝트를 찾을 수 없음',
'chat.textSelection.toast.addToNotesFailed': '메모 추가 실패',
'chat.textSelection.toast.addToNotesSuccess': '정리된 인사이트를 메모에 추가함',
'chat.textSelection.toast.addToNotesSuccess': '선택한 텍스트를 메모에 추가함',
'chat.textSelection.toast.addToNotesSummaryFailed': '선택 영역을 요약할 수 없어 선택한 텍스트를 메모에 추가함',
'chat.textSelection.actions.addToChat': '채팅에 추가',
'chat.textSelection.actions.newSession': '새 세션',
@@ -1492,7 +1492,7 @@ export const dict: Record<I18nKey, string> = {
'chat.textSelection.actions.addToNotes': '메모에 추가',
'chat.textSelection.title.addToCurrentChat': '현재 채팅에 추가',
'chat.textSelection.title.newSessionWithSelection': '선택한 내용으로 새 세션 생성',
'chat.textSelection.title.saveInsightToNotes': '정리된 인사이트를 메모에 저장',
'chat.textSelection.title.saveInsightToNotes': '선택한 텍스트를 메모에 저장',
'chat.messageBody.actions.revertAria': '이 메시지로 되돌리기',
'chat.messageBody.actions.revert': '여기부터 되돌리기',
'chat.messageBody.actions.forkAria': '이 메시지에서 분기',