diff --git a/docs/changelog.md b/docs/changelog.md index 7d8327e..f4d626c 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -1,5 +1,24 @@ # Changelog - SimpleConnect Electron +## [1.2.5] - 2025-09-04 + +### Corrigé +- **Écran blanc à la connexion** : Sélection automatique du premier onglet + - Plus d'écran vide après connexion + - Le premier planning s'affiche automatiquement + - L'onglet correspondant est marqué comme actif + +### Modifié +- **Expérience de connexion** : Accès direct au premier planning + - Ajout de `selectCenter(currentCentres[0].id)` dans showMainPage() + - Suppression du message "Sélectionnez un centre ou attendez un appel entrant" + - Transition immédiate vers le contenu utile + +### Technique +- Appel automatique de selectCenter() après initializeCenters() +- Suppression du div .no-center-selected du HTML +- Amélioration du flux utilisateur post-connexion + ## [1.2.4] - 2025-09-04 ### Corrigé diff --git a/index.html b/index.html index 81980cc..f1e2765 100644 --- a/index.html +++ b/index.html @@ -100,9 +100,6 @@
-
-

Sélectionnez un centre ou attendez un appel entrant

-
diff --git a/renderer.js b/renderer.js index 2d2bd41..d49cfac 100644 --- a/renderer.js +++ b/renderer.js @@ -285,6 +285,11 @@ function showMainPage() { // Initialiser l'interface initializeCenters(); updateStatus('available'); + + // Sélectionner automatiquement le premier centre/onglet + if (currentCentres.length > 0) { + selectCenter(currentCentres[0].id); + } } // === GESTION DES CENTRES ===