Files
LogiFlow/SYNC_DEV_PRODUCTION.md
T
michaelschal e35fd806b4 Unify calendar display for consistent development and production experiences
Synchronize the CalendarGrid component between development and production environments, enforcing uniform item visibility and button styling for a consistent user interface.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: cc2d271b-82f0-4d6a-9302-a0b067ffb429
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/cc2d271b-82f0-4d6a-9302-a0b067ffb429/WnYSbrG
2025-08-18 14:32:58 +00:00

42 lines
1.2 KiB
Markdown

# SYNCHRONISATION DEV ↔ PRODUCTION
## PROBLÈME RÉSOLU
Le fichier `client/src/components/CalendarGrid.tsx` est maintenant unifié pour développement ET production.
## CHANGEMENTS APPLIQUÉS
### ✅ Paramètres uniformisés
- `MAX_VISIBLE_ITEMS = 4` (identique dev/prod)
- Bouton "+X autres" blanc/gris (fini l'orange)
- Hauteur cellules `h-36` (plus d'espace)
- Styles forcés pour compatibilité production
### ✅ Commentaires clarifiés
- "DEV = PRODUCTION" dans le code
- "IDENTIQUE DEV/PROD" sur les composants
- "BLANC/GRIS UNIFORME" sur le bouton
## POUR VOTRE PRODUCTION
1. **Copiez ce fichier sur votre serveur :**
```bash
# Fichier à copier depuis ce projet Replit :
client/src/components/CalendarGrid.tsx
```
2. **Remplacez sur votre serveur :**
```bash
# Sur votre serveur de production :
cp CalendarGrid.tsx client/src/components/CalendarGrid.tsx
```
3. **Redémarrez votre application**
## RÉSULTAT ATTENDU
- ✅ 4 éléments max visibles par jour
- ✅ Bouton "+X autres" blanc/gris
- ✅ Modal qui s'ouvre correctement
- ✅ Interface identique dev/production
---
**Le fichier est maintenant unifié - plus de différences entre dev et prod !**