Skip to content

Interactive Data Tables #9

Description

@mohit-nagaraj

Description:
Create interactive tables for users and workflows with full CRUD operations.

Tasks:

  • Update components/users/UserList.tsx with edit/delete functionality
  • Add dialog components: npx shadcn-ui@latest add dialog alert-dialog
  • Implement inline editing with form dialogs
  • Add delete confirmation dialogs
  • Create services/workflowService.ts for workflow API calls
  • Add real-time table updates after CRUD operations
  • Implement optimistic updates for better UX

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/apiREST endpointsarea/layoutUI layout/navigationarea/uiNext.js frontend (components, pages, styling)kind/crudUser CRUD functionality

    Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions