mirror of
https://github.com/R0m1k3/LogiFlow.git
synced 2026-10-19 21:18:25 +02:00
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
This commit is contained in:
1 parent
e1e6afa103
commit
e35fd806b4
4 files changed
+50
-363
No files matched your search
@@ -0,0 +1,42 @@
|
||||
# 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 !**
|
||||
Reference in new issue
Block a user