1. **Sistema de Hipervínculos (`m-notes-hyperlinks.lua`):**
* *Cómo funciona:* Permite Shift-Click en items, hechizos o misiones para insertarlos en la nota. Al hacer clic en el enlace dentro de la nota, abre el tooltip oficial del juego.
* *Implementación para AN:* Podemos interceptar el evento `OnHyperlinkEnter` en tus tarjetas de notas. Esto es vital para notas de estrategia (ej: "Usar [Poción de sanación] aquí").

2. **Integración con Mapas y Coordenadas (`m-notes-pins.lua`):**
* *Cómo funciona:* Utiliza la librería `HereBeDragons` para traducir coordenadas (x, y) a pines en el mapa del mundo y minimapa.
* *Mejora para AN:* Podemos permitir que si el usuario escribe `<45.2, 50.1>` en una nota, el addon dibuje un pin en el mapa automáticamente. O añadir un botón "Add Player Location" a la nota actual.

3. **Listas de Tareas / Checklists (`m-notes-todos.lua`):**
* *Cómo funciona:* Renderiza líneas de texto con un checkbox interactivo al lado.
* *Adaptación Minimalista:* En lugar de una UI compleja, podemos parsear Markdown simple. Si una línea empieza con `[ ]`, renderizamos un checkbox clicable.

5. **Alt Tracking (`t-alttracker.lua`):**
* WoWNotes guarda qué personaje tiene qué item. Esto es excesivo para AN, pero podemos adoptar la lógica de **"Scope" (Alcance)**.
* *Idea:* Un dropdown en la nota: "Global", "Solo este personaje", "Solo esta clase".


Sugerencias de Mejoras menu contextual:
"Vaciar Categoría" (Limpieza):


Here are several ways to improve the AscensionNotes editor, ranging from user experience to code maintainability:

1. Keyboard Shortcuts & Accessibility
Add global hotkeys (e.g., Ctrl+S to save, Ctrl+W to close, Ctrl+Shift+T to open templates) using SetBinding or GameMenuFrame hooks.

Improve tab navigation – ensure TAB cycles through title → body → tag input → save button, etc.

Allow Ctrl+Enter to save and close directly from the body.

Make the category dropdown keyboard‑accessible – use arrow keys and Enter to select.

2. Auto‑Save Refinements
Show a more explicit “Saved” indicator that fades out after a moment.

Debounce auto‑save more aggressively – 2 seconds is fine, but consider resetting the timer on every keystroke (you already do this).

Add a “Saving…” spinner or progress bar for better visual feedback.

Prevent auto‑save when the note is empty (already done, but check edge cases).

3. Tag & Category Enhancements
Tag auto‑completion – suggest existing tags as the user types.

Clickable tags inside the editor – clicking a tag could filter the main note list.

Category management – allow creating/deleting categories directly from the dropdown (maybe a small “+” icon).

Color‑coded categories – let the user assign a color to each category and reflect that in the editor button.

4. Templates Menu Improvements
Make the template menu searchable – if you have many templates, add a search box.

Allow user‑defined templates – let users save the current note as a new template.

Insert templates at cursor position, not just append to the end.

5. Rich Text / Markdown Support
Even a simple markdown preview (bold, italic, lists) would greatly enhance notes.

Use GameFont variations or a library like LibMarkdown to render a preview pane.

6. Code Cleanup & Performance
Avoid AN:CopyTable on every save – if noteData.tags is a table, you can just assign a new reference; be careful not to share references if tags are modified elsewhere.

Cache font strings and textures – don’t create new ones repeatedly in dropdown logic.

Use self instead of AN inside closures where possible to avoid upvalue overhead.

Break OpenEditor into smaller functions (e.g., CreateEditorFrame, PopulateEditor, SetupAutoSave).

7. Resizing & Layout
Save the editor size/position per character (via SavedVariables) so it reopens where you left it.

Allow the user to collapse the tag/category area for more body space.

Add a minimum height for the body – currently it’s fixed; let it grow with content.

8. Integration with Main Window
Double‑click a note in the grid to open it in the editor (already likely implemented, but ensure it’s smooth).

Show a preview of tags/categories in the note list.

Sync selection – when you open a note, highlight it in the list.

9. Import/Export Polish
Support dragging and dropping text files into the import window.

Auto‑detect format (plain text, markdown, maybe JSON) and parse accordingly.

Export as .txt file instead of just copy‑paste (use StaticPopup_Show to get a filename).

10. Miscellaneous UX
Undo/Redo support – WoW’s EditBox has limited undo; you could implement a simple stack.

Word/character count – display in the status bar.

Spell check – not really possible, but you could integrate with a simple dictionary addon.

Confirmation dialog when closing a dirty note with unsaved changes (though auto‑save mitigates this).

11. Bug Fixes & Edge Cases
If AscensionNotesDB.categories is nil, the dropdown shows only “Uncategorized” – fine, but consider initializing it.

When deleting the current note, ensure the editor closes and doesn’t try to save again.

If the editor is open while the game client is closed, the auto‑save timer may fire after logout – cancel it in OnHide (already done).

12. Mobile / Controller Support
For Steam Deck or console‑like play, ensure all buttons are focusable and can be activated with a controller (use GamePad bindings).




Changelog:
