feat(web): the board works from the keyboard

With a card focused (Tab reaches them): arrows move between cards, also
across swimlanes' columns; Shift+←/→ moves the card to the next column
with the same rules as dragging it (allowed transitions, WIP warning,
reason when the status asks for one) and keeps the focus on it; p, e
and a open its priority, estimate or assignee; Enter opens it. The «?»
help lists them.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-20 20:20:30 +02:00
parent dfb5f973f4
commit 172c53d21d
4 changed files with 134 additions and 3 deletions

View File

@@ -13,6 +13,22 @@ export const SHORTCUTS: { keys: string; what: string; where: string }[] = [
{ keys: 'g s', what: 'Ir a los sprints', where: 'Dentro de un proyecto' },
{ keys: 'g r', what: 'Ir a la hoja de ruta', where: 'Dentro de un proyecto' },
{ keys: 'c', what: 'Crear un ticket', where: 'Tablero' },
{
keys: '← ↑ → ↓',
what: 'Moverse entre tarjetas (Tab entra en el tablero)',
where: 'Tablero',
},
{
keys: 'Shift ← →',
what: 'Pasar la tarjeta a la columna de al lado',
where: 'Tablero',
},
{
keys: 'p · e · a',
what: 'Prioridad, estimación o persona de la tarjeta',
where: 'Tablero',
},
{ keys: 'Enter', what: 'Abrir la tarjeta', where: 'Tablero' },
{ keys: 'e', what: 'Editar el ticket', where: 'Ficha de un ticket' },
{ keys: 'Esc', what: 'Cerrar', where: 'Búsqueda y ayuda' },
];