feat: Implement messaging functionality with conversation and chat screens, and enhance agent detail views.

This commit is contained in:
pradeepkumar
2026-03-08 00:41:44 +05:30
parent bdb7b04fbf
commit bba9cd3936
23 changed files with 4402 additions and 3 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -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(