Files
Momento/memento-note/lib/note-peek-sync.ts
Antigravity f46654f574 feat: editor improvements and architectural grid prototype
Multiple feature additions and improvements across the application:

- NextGen Editor: drag handles, smart paste, block actions
- Structured views: Kanban and table layouts for notes
- Architectural Grid: new brainstorming/agent interface prototype
- Flashcards: SM-2 revision algorithm with AI generation
- MCP server: robustness improvements
- Graph/PDF chat: fix click propagation and copy behavior
- Various UI/UX enhancements and bug fixes

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-27 19:45:15 +00:00

19 lines
609 B
TypeScript
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
/** Ouvre la note source en aperçu split (panneau gauche) sans changer donglet. */
export const NOTE_PEEK_OPEN_EVENT = 'memento-note-peek-open'
export const NOTE_PEEK_CLOSE_EVENT = 'memento-note-peek-close'
export type NotePeekOpenDetail = {
noteId: string
blockId?: string
}
export function openNotePeek(detail: NotePeekOpenDetail) {
if (typeof window === 'undefined') return
window.dispatchEvent(new CustomEvent(NOTE_PEEK_OPEN_EVENT, { detail }))
}
export function closeNotePeek() {
if (typeof window === 'undefined') return
window.dispatchEvent(new CustomEvent(NOTE_PEEK_CLOSE_EVENT))
}