feat: Add CMD+K command palette with ninja-keys integration
Implement a command palette accessible via CMD+K/Ctrl+K using the ninja-keys web component. Features include: - New /api/cmd-k endpoint serving dynamic CV entries (experiences, projects, courses) - Language-aware responses with 1-hour cache headers - Scroll-to-section functionality for quick navigation - Enhanced keyboard shortcuts modal with CMD+K documentation - Comprehensive test coverage for API and UI interactions Also includes cleanup of deprecated debug test files and various UI polish improvements to contact form, themes, and action bar components.
This commit is contained in:
+39
-1
@@ -121,6 +121,10 @@
|
||||
},
|
||||
"actions": {
|
||||
"title": "Acciones",
|
||||
"cmdK": {
|
||||
"key": "⌘/Ctrl K",
|
||||
"description": "Abrir barra de comandos"
|
||||
},
|
||||
"print": {
|
||||
"key": "Ctrl / Cmd + P",
|
||||
"description": "Imprimir o guardar como PDF"
|
||||
@@ -187,6 +191,38 @@
|
||||
"title": "Error"
|
||||
}
|
||||
},
|
||||
"cmdK": {
|
||||
"placeholder": "Escribe un comando o busca...",
|
||||
"noResults": "No se encontraron resultados",
|
||||
"sections": {
|
||||
"navigation": "Navegación",
|
||||
"shortcuts": "Atajos",
|
||||
"downloads": "Descargas"
|
||||
},
|
||||
"actions": {
|
||||
"jumpToExperience": "Ir a Experiencia",
|
||||
"jumpToEducation": "Ir a Educación",
|
||||
"jumpToSkills": "Ir a Habilidades",
|
||||
"jumpToProjects": "Ir a Proyectos",
|
||||
"jumpToCourses": "Ir a Cursos",
|
||||
"jumpToLanguages": "Ir a Idiomas",
|
||||
"jumpToAwards": "Ir a Premios",
|
||||
"toggleLength": "Alternar Longitud del CV",
|
||||
"toggleIcons": "Alternar Iconos",
|
||||
"toggleTheme": "Alternar Tema",
|
||||
"showShortcuts": "Mostrar Atajos de Teclado",
|
||||
"print": "Imprimir CV",
|
||||
"downloadPdfShort": "Descargar PDF (Corto)",
|
||||
"downloadPdfDefault": "Descargar PDF (Por Defecto)",
|
||||
"downloadPdfExtended": "Descargar PDF (Extendido)",
|
||||
"viewTextCv": "Ver CV en Texto",
|
||||
"downloadTextCv": "Descargar CV en Texto"
|
||||
},
|
||||
"button": {
|
||||
"tooltip": "Barra de Comandos",
|
||||
"ariaLabel": "Abrir barra de comandos (Cmd+K)"
|
||||
}
|
||||
},
|
||||
"widgets": {
|
||||
"backToTop": {
|
||||
"ariaLabel": "Volver arriba",
|
||||
@@ -232,7 +268,9 @@
|
||||
"downloadPdf": "Descargar como PDF",
|
||||
"printFriendly": "Imprimir amigable",
|
||||
"plainText": "Texto Plano",
|
||||
"contact": "Contacto"
|
||||
"contact": "Contacto",
|
||||
"search": "Buscar",
|
||||
"searchAriaLabel": "Abrir barra de comandos (Cmd+K)"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user