Feature request: add separators and key shortcuts to dropdown menu

Abierto
#582 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
22/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Estancado
Stack tecnológico
javascript
Área
desktop

Línea de trabajo

The payload names no files or entry points. Start by locating where the extension builds its template dropdown menu and where template names and shortcuts are stored. The issue asks for two things: visual separators for templates whose names begin with special characters, and showing each item's keyboard shortcut in the menu. Settle the separator naming rule with a maintainer before coding. Done means both behaviours appear in the menu and existing templates still work.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

With lots of dropdown menus I've recently implemented a few upgrades to my templates, first being the group separators within a group:

Image

This leads to a suggestion that some templates could be treated as separators for visual clarity: eg. the ones starting with double hyphen or some other special character/combination - looking cleaner, not enabled for click.

Also, I've added keyboard shortcuts to a few items but then I realized I do not even remember previously added ones. To remember those, I've had to look them up in settings.

It would be a huge upgrade to have the keyboard shortcut added to menu items that have keyboard shortcuts.

Thing with templates is some are used everyday, some are used depending on the situational context for a while and then they are left just sitting there for a long time. Keyboard shortcuts would be easier to memorize with just being there in the menu for when you don't remember them.
I'd add them in a template name but, besides the risk of making a mistake, forgetting to edit the name while editing the shortcut, I'd rather not use [] chars in templates' names, as [[]] are special chars for QuickText.

Lenguaje dominante
JavaScript
Estrellas
283
Forks
62
Merge medio
1 min
PR fusionados (30 d)
1

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de jobisoft/quicktext

Todos los issues de jobisoft/quicktext

Issues similares

Más issues de JavaScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.