keepassxreboot/keepassxc

Color/hint placeholders when editing an entry

Aberta

#5.900 aberto em 7 de jan. de 2021

 (15 comentários) (1 reação) (0 responsável)C++ (1.797 forks)batch import
feature: Reference/Placeholdershelp wanted

Métricas do repositório

Stars
 (27.139 estrelas)
Métricas de merge de PR
 (Mesclagem média 19d 12h) (17 fundiu PRs em 30d)

Description

Summary

GUI improvements on the placeholders

  1. Add colours to recognized placeholders, allowing to ensure we have written a correct placeholder and help ) reading the full sequence.
  2. Hint the user when he starts typing { with something like a dropdown suggesting frequent placeholders that match what he has already typed.
  3. Hint when a valid reference placeholder links to nothing or to an empty field.
  4. For the REF placeholder, a helper to select another entry to avoid the necessity to copy the target's uuid manually, and show what valid REF placeholders link to using a tooltip or by making them clickable.
  5. Provide a small button at the end of any text area containing placeholders to previsualize the result.
  6. To the drop down that suggests frequently used usernames, add buttons to link to the selected username instead of simply copying it.

Examples

Some example in context with random colors keepassxc-placeholder-mockup keepassxc-placeholder-mockup-3

And the button to generate reference instead of copying usernames: keepassxc-placeholder-mockup-2

Context

I think placeholders are a really powerful feature, especially the {REF:...} that allow linking entries that depeend on the same thing. But I often found them hard to write and hard to read when the sequence becomes longer.

Note

I know Qt, so if you want I can work on a PR for that.

Guia do colaborador