feat(fillbar): Fill bar settings... au clic droit, ouvre l'onglet par-dessus l'entree en cours

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
r-zakarya
2026-09-18 11:08:52 +01:00
parent af6e8a2d9a
commit 9947ce5718
3 changed files with 29 additions and 1 deletions
+11
View File
@@ -6709,6 +6709,17 @@ Bridge.onFillBar = function (st) {
$('#fbStyle').value = st.icons ? 'icons' : 'text';
$('#fbAlpha').value = String(parseInt(st.alpha, 10) || 60);
};
// Clic droit sur la barrette -> "Fill bar settings..." : l'exe a deja ramene la
// fenetre. Les reglages s'ouvrent PAR-DESSUS une entree en cours d'edition,
// qui reste intacte dessous (Echap ferme d'abord les reglages).
Bridge.onOpenFillBarSettings = function () {
if (!state.cryptoKey) {
toast('Unlock the vault to open its settings', 'warning');
return;
}
openSettings();
applySettingsTab('fillbar');
};
function fillBarPush() {
const keys = Array.from($$('.fb-btn')).filter(c => c.checked).map(c => c.dataset.key);
window.location.href = 'cmd://fillbar/set'