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": "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",
|
||||
|
||||
Reference in New Issue
Block a user