Add support for chords to mapper tool
- Lenguaje dominante
- JavaScript
- Estrellas
- 3.3k
- Forks
- 99
- Merge medio
- 14 h 22 min
- PR fusionados (30 d)
- 6
Descripción
It would be great if we could also display chords in the mapper tool, similarly to VSCode.
I dug into this a bit and it's more complicated than I expected. If you just have a timer and track keydown events, you get chords like Meta Meta+b because the keydown for Meta is different from the keydown for b. It looks like this is solved in the main code with the 'radix trie' logic, but this seems pretty closely tied to the hotkeys that are configured on the element, and we can't configure _all_ possible hotkeys onto the mapper tool.
Guía de contribución
Línea de trabajo
Start by tracing the mapper tool and the main code's radix trie logic described in the issue, then compare how VSCode displays chords. Determine how modifier and keydown events should be grouped when all possible hotkeys cannot be configured on the mapper; done means the mapper displays chords without duplicate modifier entries.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- javascript
- Área
- frontend, tooling
- Tipo de issue
- Nueva funcionalidad
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Estado de actividad
- Estancado
- Claridad
- Necesita aclaración
- Aptitud para principiantes
- 30/100