Files
LogiFlow/SYNC_DEV_PRODUCTION.md
T
michaelschal 55acf5a0ad Align calendar display to ensure consistency across all environments
Update the maximum number of visible calendar items and adjust styling in CalendarGrid.tsx for consistent display between development and production.

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:34:27 +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 = 2` (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
- ✅ 2 é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 !**