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:
@@ -1448,7 +1448,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": "Нова сесія",
|
||||
@@ -1456,7 +1456,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": "Відгалузити від цього повідомлення",
|
||||
|
||||
Reference in New Issue
Block a user