feat(notes): commandes masquees avec l'oeil des notes

Partage d'ecran : premier mot et 3 derniers caracteres visibles
(ssh ••••.11), dans le panneau et la recherche rapide. Filtre, copie et
remplissage gardent le vrai texte. Aide de la recherche rapide adaptee aux
commandes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
r-zakarya
2026-10-10 18:35:37 +01:00
parent bbd4e2ef06
commit 6ca1e4b2cf
5 changed files with 37 additions and 3 deletions
+2 -1
View File
@@ -99,7 +99,8 @@ function qsRenderCommands(box, q) {
'data-cmd': String(x.i),
});
const main = el('div', { class: 'quick-search-main' });
main.appendChild(el('div', { class: 'quick-search-name qs-cmd' }, x.c.cmd));
main.appendChild(el('div', { class: 'quick-search-name qs-cmd' },
state.maskNotes ? maskCommand(x.c.cmd) : x.c.cmd));
if (x.c.group) main.appendChild(el('div', { class: 'quick-search-sub' }, x.c.group));
row.appendChild(main);
const acts = el('div', { class: 'quick-search-acts' });