Skip to content

Conversation

@steve8708
Copy link

@steve8708 steve8708 commented Jun 24, 2025

This pull request adds comprehensive user management functionality to the CRM customers page.

New Files Added:

  • src/crm/components/UserEditModal.tsx - Modal component for editing user information with form fields for personal details, location, and account information
  • src/crm/hooks/useUsers.ts - Custom hook for managing user data with pagination, search, and update capabilities

Modified Files:

  • src/crm/pages/Customers.tsx - Complete overhaul from basic placeholder to full-featured customer management interface

Key Features Implemented:

  • DataGrid display of customer data with avatar, name, email, phone, location, age, and registration date columns
  • Search functionality with debounced input for filtering customers
  • Server-side pagination with configurable page sizes
  • Edit modal for updating user information including nested fields (name, location, login)
  • Error handling and loading states throughout the interface
  • Responsive design with Material-UI components

Technical Details:

  • Uses MUI DataGrid for efficient data display and pagination
  • Implements proper TypeScript interfaces for User data structure
  • Includes form validation and async error handling in the edit modal
  • Supports nested object updates for complex user data structures

tag @builderio-bot for anything you want the bot to do

To clone this PR locally use the Github CLI with command gh pr checkout 20

🔗 Edit in Builder.io

@builder-io-integration builder-io-integration bot changed the title Builder.io: Update from Visual Editor Add user management features to CRM customers page Jun 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants