Description:
Create interactive tables for users and workflows with full CRUD operations.
Tasks:
Table Features:
- Sortable columns (name, created date)
- Action dropdown for each row (edit, delete, duplicate)
- Modal forms for editing users (future workflows)
- Confirmation dialogs for destructive actions
- Loading states for table operations
- Empty states with call-to-action buttons
Dialog Components:
- EditUserDialog: Form to update user details
- DeleteConfirmationDialog: Confirmation for delete operations
Acceptance Criteria:
- Tables display data from authenticated API endpoints
- Users can edit records through modal forms
- Delete operations show confirmation dialogs
- Tables refresh automatically after operations
- Loading states provide clear user feedback
- Empty states guide users to create content
Description:
Create interactive tables for users and workflows with full CRUD operations.
Tasks:
components/users/UserList.tsxwith edit/delete functionalitynpx shadcn-ui@latest add dialog alert-dialogservices/workflowService.tsfor workflow API callsTable Features:
Dialog Components:
Acceptance Criteria: