Wire dashboard action cards to real actions

- Create Project: opens the CreateTabloModal
- Create Task: navigates to /tasks
- Send Message: navigates to /chat
- Invite Team: shows "Bientôt disponible" info toast

Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Arthur Belleville 2026-02-23 16:08:54 +01:00
parent d9eec11d00
commit 26816ff12d
No known key found for this signature in database

View file

@ -647,7 +647,17 @@ export const TabloPage = () => {
</div>
)}
<DashboardActionCards />
<DashboardActionCards
onCreateProject={openCreateModal}
onCreateTask={() => navigate("/tasks")}
onSendMessage={() => navigate("/chat")}
onInviteTeam={() =>
toast.add(
{ title: "Bientôt disponible", description: "L'invitation d'équipe sera disponible prochainement", type: "info" },
{ timeout: 3000 }
)
}
/>
<div className="container mx-auto px-4 py-8">
{filteredTablos && filteredTablos.length > 0 ? (