1.4 KiB
1.4 KiB
STUDENT MANAGEMENT GUIDELINES
Core Components
_constants.ts
- Contains essential constants for:- Default values (defaultValue)
- Empty/placeholder values (emptyValue)
- Student status options (active/inactive)
- Grade level options
Student Data Table System
students-table.tsx
- Main student listing tableconfirm-delete-modal.tsx
- Confirmation dialog for student deletionstudents-selection-context.tsx
- Context for selected student records
Table Features
students-filters.tsx
- Filter controls for the student tableemail-filter-popover.tsx
- Email-specific filteringphone-filter-popover.tsx
- Phone number filtering
students-pagination.tsx
- Pagination controls
Student Forms
student-create-form.tsx
- Form for adding new students with:- Personal information fields
- Contact details
- Enrollment information
student-edit-form.tsx
- Form for modifying existing student records
Supporting Components
type.d.tsx
- Type definitions for student datanotifications.tsx
- Student notification preferencespayments.tsx
- Student payment recordsshipping-address.tsx
- Student address information
Best Practices
- Always validate student data before submission
- Use the provided constants for default/empty values
- Maintain consistent field naming across all components
- Follow accessibility guidelines for all form inputs