feat: section Profil (langue) + ghost text lie a la langue
CI / lint (push) Failing after 10s
CI / test (push) Has been skipped
CI / build (push) Has been skipped
CI / e2e (push) Has been skipped
CI / security (push) Failing after -4s

- Section Profil dans Configuration: langue (fr/en/es/de), nom
- Persistance localStorage (obsigate-lang, obsigate-name)
- Ghost text adapte le prompt a la langue du profil
- CSS profile-form, config-select stylise
This commit is contained in:
2026-06-16 12:14:05 -04:00
parent 2d03586ae0
commit 0a0cecf178
4 changed files with 86 additions and 4 deletions
+35
View File
@@ -1348,6 +1348,11 @@
>🤖 IA</a
>
</li>
<li>
<a href="#cfg-profile" class="help-nav-link"
>👤 Profil</a
>
</li>
<li>
<a href="#cfg-about" class="help-nav-link"
>📦 A propos</a
@@ -1962,6 +1967,36 @@
</div>
</section>
<!-- Profil -->
<section
class="config-section help-section"
id="cfg-profile"
>
<h2>👤 Profil utilisateur</h2>
<p class="config-description">
Preferences personnelles pour personnaliser
l'experience ObsiGate.
</p>
<div class="profile-form" id="profile-form">
<div class="profile-field">
<label for="profile-lang">Langue preferee</label>
<select id="profile-lang" class="config-select">
<option value="fr">Francais</option>
<option value="en">English</option>
<option value="es">Espanol</option>
<option value="de">Deutsch</option>
</select>
<span class="profile-hint">Utilisee par l'autocompletion et le ghost text.</span>
</div>
<div class="profile-field">
<label for="profile-name">Nom d'affichage</label>
<input type="text" id="profile-name" class="config-input" placeholder="Votre nom" maxlength="60">
</div>
<button class="config-save-btn" id="profile-save">Enregistrer</button>
<span class="profile-saved" id="profile-saved" style="display:none">✓ Sauvegarde</span>
</div>
</section>
<!-- À propos -->
<section
class="config-section help-section"