Rend les liens entre notes visibles et persistants (sync NoteLink au save, auto-save, graphe réseau rafraîchi), ajoute living blocks, Memory Echo, recherche globale, consentement IA explicite et consolide les prototypes design en architectural-grid. Co-authored-by: Cursor <cursoragent@cursor.com>
9 lines
344 B
TypeScript
9 lines
344 B
TypeScript
/** Ouvre une note dans l'éditeur (nouvel onglet). Route réelle : /home?openNote=… */
|
|
export function openNoteInNewTab(noteId: string) {
|
|
window.open(`/home?openNote=${encodeURIComponent(noteId)}`, '_blank', 'noopener,noreferrer')
|
|
}
|
|
|
|
export function openNotePath(noteId: string) {
|
|
return `/home?openNote=${encodeURIComponent(noteId)}`
|
|
}
|