Correctif : commandes BooksLM mortes dans la palette — résidu D5 (2.95.2) #97
+9
-1
@@ -6,7 +6,7 @@ Format basé sur [Keep a Changelog](https://keepachangelog.com/fr/1.1.0/),
|
||||
et [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||
|
||||
> **En cours de développement** : les changements à venir sont listés dans la section
|
||||
> [Unreleased](#unreleased). La dernière version livrée est **2.95.1**.
|
||||
> [Unreleased](#unreleased). La dernière version livrée est **2.95.2**.
|
||||
|
||||
---
|
||||
|
||||
@@ -14,6 +14,14 @@ et [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||
|
||||
---
|
||||
|
||||
## [2.95.2] — 2026-11-28
|
||||
|
||||
### Corrigé
|
||||
|
||||
- **Commandes BooksLM mortes dans la palette (résidu D5)** : la palette de commandes importait encore `bookslm.js`, supprimé en D5 — les deux commandes « BooksLM » échouaient au clic. Remplacées par une commande « ✦ Spark : ouvrir le panneau » (clés `palette.spark_open*`, FR/EN). Au passage, la garde du bouton lecture mobile vise le panneau Spark (`.draco-panneau`) au lieu de l'ancien panneau BooksLM, et ses écouteurs d'événements morts sont retirés. Test de garde `test_aucun_residu_bookslm_frontend`. **Redéploiement Docker requis.**
|
||||
|
||||
---
|
||||
|
||||
## [2.95.1] — 2026-11-28
|
||||
|
||||
### Corrigé
|
||||
|
||||
+3
-3
@@ -4,7 +4,7 @@
|
||||
|
||||
**Porte d'entrée web ultra-léger pour vos vaults Obsidian** — Accédez, naviguez et recherchez dans toutes vos notes Obsidian depuis n'importe quel appareil via une interface web moderne et responsive.
|
||||
|
||||
[]()
|
||||
[]()
|
||||
[](https://opensource.org/licenses/MIT)
|
||||
[](https://www.docker.com/)
|
||||
[](https://www.python.org/)
|
||||
@@ -981,8 +981,8 @@ Ce projet est sous licence **MIT** — voir le fichier [LICENSE](LICENSE) pour l
|
||||
|
||||
## 📝 Changelog
|
||||
|
||||
Consultez le [CHANGELOG.md](./CHANGELOG.md) pour l'historique complet de toutes les versions (v1.0.0 → v2.95.1).
|
||||
Consultez le [CHANGELOG.md](./CHANGELOG.md) pour l'historique complet de toutes les versions (v1.0.0 → v2.95.2).
|
||||
|
||||
---
|
||||
|
||||
*Projet : ObsiGate | Version : 2.95.1 | Dernière mise à jour : Septembre 2026*
|
||||
*Projet : ObsiGate | Version : 2.95.2 | Dernière mise à jour : Septembre 2026*
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
**Ultra-light web gateway for your Obsidian vaults** — Access, browse, and search all your Obsidian notes from any device via a modern, responsive web interface.
|
||||
|
||||
[]()
|
||||
[]()
|
||||
[](https://opensource.org/licenses/MIT)
|
||||
[](https://www.docker.com/)
|
||||
[](https://www.python.org/)
|
||||
@@ -1156,8 +1156,8 @@ This project is licensed under the **MIT License** - see the [LICENSE](LICENSE)
|
||||
|
||||
## 📝 Changelog
|
||||
|
||||
See [CHANGELOG.md](./CHANGELOG.md) for the complete version history (v1.0.0 → v2.95.1).
|
||||
See [CHANGELOG.md](./CHANGELOG.md) for the complete version history (v1.0.0 → v2.95.2).
|
||||
|
||||
---
|
||||
|
||||
*Project: ObsiGate | Version: 2.95.1 | Last updated: September 2026*
|
||||
*Project: ObsiGate | Version: 2.95.2 | Last updated: September 2026*
|
||||
|
||||
Generated
+1
-1
@@ -2626,7 +2626,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "obsigate-desktop"
|
||||
version = "2.95.1"
|
||||
version = "2.95.2"
|
||||
dependencies = [
|
||||
"chrono",
|
||||
"env_logger",
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "obsigate-desktop"
|
||||
version = "2.95.1"
|
||||
version = "2.95.2"
|
||||
description = "ObsiGate Desktop — Porte d'entrée native pour vos vaults Obsidian"
|
||||
authors = ["Bruno Charest"]
|
||||
edition = "2021"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"$schema": "https://raw.githubusercontent.com/nicedoc/obsigate/main/desktop/tauri.conf.schema.json",
|
||||
"productName": "ObsiGate",
|
||||
"version": "2.95.1",
|
||||
"version": "2.95.2",
|
||||
"identifier": "com.obsigate.desktop",
|
||||
"build": {
|
||||
"frontendDist": "../frontend",
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
# ObsiGate — Roadmap
|
||||
|
||||
> **Version :** 2.95.1 | **Dernière mise à jour :** 2026-11-28
|
||||
> **Version :** 2.95.2 | **Dernière mise à jour :** 2026-11-28
|
||||
> **Ce fichier ne contient que le travail à venir** (🔵 En cours + ⚪ Backlog) et un index compact
|
||||
> vers les fonctionnalités livrées.
|
||||
> - **Méthode de livraison à appliquer pour toute tâche : [DELIVERY_WORKFLOW.md](./DELIVERY_WORKFLOW.md)**
|
||||
|
||||
@@ -967,10 +967,13 @@ function buildReadingControls() {
|
||||
document.body.appendChild(exit);
|
||||
}
|
||||
|
||||
/** True when the BooksLM assistant panel is expanded on screen. */
|
||||
/** True when the Spark panel is expanded on screen. */
|
||||
function isAssistantOpen() {
|
||||
const panel = document.querySelector('.bookslm-panel');
|
||||
return !!(panel && panel.classList.contains('open') && !panel.classList.contains('hidden'));
|
||||
const panel = document.querySelector('.draco-panneau');
|
||||
if (!panel) return false;
|
||||
return typeof panel.checkVisibility === 'function'
|
||||
? panel.checkVisibility()
|
||||
: !!panel.offsetParent;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -1047,8 +1050,6 @@ export function initMobileEditor() {
|
||||
// Keep the reading button in sync with the current view: visible only when
|
||||
// a file is open and the assistant is closed.
|
||||
updateReadingButtonVisibility();
|
||||
document.addEventListener('bookslm:opened', updateReadingButtonVisibility);
|
||||
document.addEventListener('bookslm:closed', updateReadingButtonVisibility);
|
||||
const readingArea = document.getElementById('content-area');
|
||||
if (readingArea && typeof MutationObserver !== 'undefined') {
|
||||
new MutationObserver(updateReadingButtonVisibility).observe(readingArea, {
|
||||
|
||||
@@ -67,9 +67,8 @@ function getCMDS() {
|
||||
{ id:'focus-next', label:'→ Panneau suivant', desc:'Active le panneau suivant (Ctrl+Alt+→)', cat:'Panneaux', act:()=>{close();if(window.PaneManager&&window.PaneManager.isSplit()){const n=(window.PaneManager.activePaneId+1)%window.PaneManager.panes.length;window.PaneManager.setActivePane(n);}} },
|
||||
{ id:'focus-prev', label:'← Panneau précédent', desc:'Active le panneau précédent (Ctrl+Alt+←)', cat:'Panneaux', act:()=>{close();if(window.PaneManager&&window.PaneManager.isSplit()){const n=(window.PaneManager.activePaneId-1+window.PaneManager.panes.length)%window.PaneManager.panes.length;window.PaneManager.setActivePane(n);}} },
|
||||
{ id:'reset-panes', label:'🔄 Réinitialiser les panneaux', desc:'Ferme tous les panneaux et revient au mode single-pane', cat:'Panneaux', act:()=>{close();if(window.PaneManager){while(window.PaneManager.isSplit()){window.PaneManager.closePane(window.PaneManager.panes.length-1);}localStorage.removeItem('obsigate-panes');}} },
|
||||
// AI Assistant commands
|
||||
{ id:'bookslm-open', label:t('palette.bookslm_open'), desc:t('palette.bookslm_open_desc'), cat:'AI', act:async()=>{close();const m=await import('./bookslm.js');m.default.openForCurrentContext();} },
|
||||
{ id:'bookslm-new', label:t('palette.bookslm_new'), desc:t('palette.bookslm_new_desc'), cat:'AI', act:async()=>{close();const m=await import('./bookslm.js');m.default.newConversation();m.default.openForCurrentContext();} },
|
||||
// Assistant Spark (l'assistant intégré et BooksLM ont été retirés, D5)
|
||||
{ id:'spark-open', label:t('palette.spark_open'), desc:t('palette.spark_open_desc'), cat:'AI', act:async()=>{close();const m=await import('./spark-panneau.js');m.ouvrirSparkOuMessage();} },
|
||||
];
|
||||
return _cmdsCache;
|
||||
}
|
||||
|
||||
@@ -2249,10 +2249,8 @@
|
||||
"mfa.password_mismatch": "The two passwords do not match.",
|
||||
"mfa.password_changed": "Password updated.",
|
||||
"mfa.challenge_unavailable": "Verification screen unavailable — please reload the page.",
|
||||
"palette.bookslm_open": "BooksLM: Open for current directory",
|
||||
"palette.bookslm_open_desc": "Opens the AI assistant for the current context (open documents or general)",
|
||||
"palette.bookslm_new": "BooksLM: New conversation",
|
||||
"palette.bookslm_new_desc": "Resets the AI assistant conversation",
|
||||
"palette.spark_open": "✦ Spark: open the panel",
|
||||
"palette.spark_open_desc": "Opens the Spark panel for the current context (open document, directory or general)",
|
||||
"mfa.webauthn_title": "Security keys (WebAuthn)",
|
||||
"mfa.webauthn_desc": "Authenticate with a physical key (YubiKey) or your device biometrics (Windows Hello, Touch ID).",
|
||||
"mfa.webauthn_none": "No registered keys.",
|
||||
|
||||
@@ -2249,10 +2249,8 @@
|
||||
"mfa.password_mismatch": "Les deux mots de passe ne correspondent pas.",
|
||||
"mfa.password_changed": "Mot de passe mis à jour.",
|
||||
"mfa.challenge_unavailable": "Écran de vérification indisponible — veuillez recharger la page.",
|
||||
"palette.bookslm_open": "BooksLM: Ouvrir pour le répertoire courant",
|
||||
"palette.bookslm_open_desc": "Ouvre l'assistant AI pour le contexte courant (documents ouverts ou général)",
|
||||
"palette.bookslm_new": "BooksLM: Nouvelle conversation",
|
||||
"palette.bookslm_new_desc": "Réinitialise la conversation de l'assistant AI",
|
||||
"palette.spark_open": "✦ Spark : ouvrir le panneau",
|
||||
"palette.spark_open_desc": "Ouvre le panneau Spark pour le contexte courant (document ouvert, répertoire ou général)",
|
||||
"mfa.webauthn_title": "Clés de sécurité (WebAuthn)",
|
||||
"mfa.webauthn_desc": "Authentifiez-vous avec une clé physique (YubiKey) ou la biométrie de votre appareil (Windows Hello, Touch ID).",
|
||||
"mfa.webauthn_none": "Aucune clé enregistrée.",
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "obsigate",
|
||||
"version": "2.95.1",
|
||||
"version": "2.95.2",
|
||||
"description": "**Porte d'entr\u00e9e web ultra-l\u00e9ger pour vos vaults Obsidian** \u2014 Acc\u00e9dez, naviguez et recherchez dans toutes vos notes Obsidian depuis n'importe quel appareil via une interface web moderne et responsive.",
|
||||
"main": "patch.js",
|
||||
"directories": {
|
||||
|
||||
@@ -545,3 +545,16 @@ def test_aucun_appel_ia_residuel_sync():
|
||||
assert "_renderAIStatusSection" not in sync
|
||||
css = (FRONTEND / "style.css").read_text(encoding="utf-8")
|
||||
assert ".sync-panel__ai" not in css
|
||||
|
||||
|
||||
def test_aucun_residu_bookslm_frontend():
|
||||
"""Correctif 2.95.2 — la palette importait encore bookslm.js
|
||||
(module supprimé en D5) : commandes mortes au clic. Aucun module
|
||||
du frontend ne doit référencer les modules supprimés."""
|
||||
interdits = ("bookslm.js", "./ai.js", "ai-fab.js", "ai-quick-actions.js")
|
||||
for fichier in (FRONTEND / "js").glob("*.js"):
|
||||
contenu = fichier.read_text(encoding="utf-8")
|
||||
for motif in interdits:
|
||||
assert motif not in contenu, f"{fichier.name} référence {motif}"
|
||||
palette = (FRONTEND / "js" / "palette.js").read_text(encoding="utf-8")
|
||||
assert "spark-open" in palette and "ouvrirSparkOuMessage" in palette
|
||||
|
||||
Reference in New Issue
Block a user