feat: Implement messaging functionality with conversation and chat screens, and enhance agent detail views.
This commit is contained in:
1505
lib/features/agents/presentation/screens/agent_detail_screen.dart
Normal file
1505
lib/features/agents/presentation/screens/agent_detail_screen.dart
Normal file
File diff suppressed because it is too large
Load Diff
@@ -350,7 +350,10 @@ class _AgentSearchScreenState extends ConsumerState<AgentSearchScreen> {
|
||||
}
|
||||
return Padding(
|
||||
padding: const EdgeInsets.only(bottom: 16),
|
||||
child: _AgentCard(agent: state.agents[index]),
|
||||
child: GestureDetector(
|
||||
onTap: () => context.push('/agents/detail/${state.agents[index].id}'),
|
||||
child: _AgentCard(agent: state.agents[index]),
|
||||
),
|
||||
);
|
||||
},
|
||||
);
|
||||
@@ -397,6 +400,7 @@ class _AgentSearchScreenState extends ConsumerState<AgentSearchScreen> {
|
||||
context.push('/login');
|
||||
return;
|
||||
}
|
||||
context.go('/messages');
|
||||
},
|
||||
),
|
||||
_buildNavItem(
|
||||
|
||||
Reference in New Issue
Block a user