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
@@ -1448,7 +1448,7 @@ export const dict: Record<I18nKey, string> = {
"chat.questionCard.copyFailed": "No se pudo copiar la pregunta",
"chat.textSelection.toast.noProject": "No se encontró proyecto para esta sesión",
"chat.textSelection.toast.addToNotesFailed": "No se pudo añadir a las notas",
"chat.textSelection.toast.addToNotesSuccess": "Se añadió la información destilada a notas",
"chat.textSelection.toast.addToNotesSuccess": "Texto seleccionado añadido a notas",
"chat.textSelection.toast.addToNotesSummaryFailed": "No se pudo resumir la selección; se añadió el texto seleccionado a las notas",
"chat.textSelection.actions.addToChat": "Añadir al chat",
"chat.textSelection.actions.newSession": "Nueva sesión",
@@ -1456,7 +1456,7 @@ export const dict: Record<I18nKey, string> = {
"chat.textSelection.actions.addToNotes": "Añadir a las notas",
"chat.textSelection.title.addToCurrentChat": "Añadir al chat actual",
"chat.textSelection.title.newSessionWithSelection": "Crear nueva sesión con selección",
"chat.textSelection.title.saveInsightToNotes": "Guardar información destilada en notas",
"chat.textSelection.title.saveInsightToNotes": "Guardar texto seleccionado en notas",
"chat.messageBody.actions.revertAria": "Volver a este mensaje",
"chat.messageBody.actions.revert": "Volver desde aquí",
"chat.messageBody.actions.forkAria": "Bifurcar desde este mensaje",