feat: Gestion des secteurs et migration v3.0.4+304
- Ajout système complet de gestion des secteurs avec contours géographiques - Import des contours départementaux depuis GeoJSON - API REST pour la gestion des secteurs (/api/sectors) - Service de géolocalisation pour déterminer les secteurs - Migration base de données avec tables x_departements_contours et sectors_adresses - Interface Flutter pour visualisation et gestion des secteurs - Ajout thème sombre dans l'application - Corrections diverses et optimisations 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
0
app/lib/chat/widgets/chat_input.dart
Normal file → Executable file
0
app/lib/chat/widgets/chat_input.dart
Normal file → Executable file
0
app/lib/chat/widgets/chat_screen.dart
Normal file → Executable file
0
app/lib/chat/widgets/chat_screen.dart
Normal file → Executable file
0
app/lib/chat/widgets/conversations_list.dart
Normal file → Executable file
0
app/lib/chat/widgets/conversations_list.dart
Normal file → Executable file
15
app/lib/chat/widgets/message_bubble.dart
Normal file → Executable file
15
app/lib/chat/widgets/message_bubble.dart
Normal file → Executable file
@@ -30,32 +30,35 @@ class MessageBubble extends StatelessWidget {
|
||||
child: Row(
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
children: [
|
||||
if (showSenderInfo) CircleAvatar(child: Text('S')),
|
||||
if (showSenderInfo) const CircleAvatar(child: Text('S')),
|
||||
Expanded(
|
||||
child: Container(
|
||||
constraints: BoxConstraints(maxWidth: maxWidth),
|
||||
margin: const EdgeInsets.only(left: 8),
|
||||
padding: const EdgeInsets.all(12),
|
||||
decoration: BoxDecoration(
|
||||
color: isAnnouncement ? Colors.orange.shade100 : Colors.blue.shade100,
|
||||
color: isAnnouncement
|
||||
? Colors.orange.shade100
|
||||
: Colors.blue.shade100,
|
||||
borderRadius: BorderRadius.circular(16),
|
||||
),
|
||||
child: Column(
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
children: [
|
||||
if (showSenderInfo)
|
||||
Text(
|
||||
const Text(
|
||||
'Expéditeur',
|
||||
style: TextStyle(fontWeight: FontWeight.bold),
|
||||
),
|
||||
Text('Contenu du message...'),
|
||||
const Text('Contenu du message...'),
|
||||
if (showTimestamp || showStatus)
|
||||
Row(
|
||||
mainAxisAlignment: MainAxisAlignment.end,
|
||||
children: [
|
||||
if (showTimestamp) Text('12:34', style: TextStyle(fontSize: 12)),
|
||||
if (showTimestamp)
|
||||
const Text('12:34', style: TextStyle(fontSize: 12)),
|
||||
if (showStatus) const SizedBox(width: 4),
|
||||
if (showStatus) Icon(Icons.check, size: 16),
|
||||
if (showStatus) const Icon(Icons.check, size: 16),
|
||||
],
|
||||
),
|
||||
],
|
||||
|
||||
0
app/lib/chat/widgets/notification_settings_widget.dart
Normal file → Executable file
0
app/lib/chat/widgets/notification_settings_widget.dart
Normal file → Executable file
Reference in New Issue
Block a user