| Name |
Last commit
|
Last Update |
|---|---|---|
| .. | ||
| channels | ||
| mj-logs | ||
| redemptions | ||
| task-logs | ||
| tokens | ||
| usage-logs | ||
| users | ||
| ChannelsTable.js | ||
| MjLogsTable.js | ||
| ModelPricing.js | ||
| RedemptionsTable.js | ||
| TaskLogsTable.js | ||
| TokensTable.js | ||
| UsageLogsTable.js |
BREAKING CHANGE: Removed standalone user edit routes (/console/user/edit, /console/user/edit/:id) - Decompose 673-line monolithic UsersTable.js into 8 specialized components - Extract column definitions to UsersColumnDefs.js with render functions - Create dedicated UsersActions.jsx for action buttons - Create UsersFilters.jsx for search and filtering logic - Create UsersDescription.jsx for description area - Extract all data management logic to useUsersData.js hook - Move AddUser.js and EditUser.js to users/modals/ folder as modal components - Create 4 new confirmation modal components (Promote, Demote, EnableDisable, Delete) - Implement pure UsersTable.jsx component for table rendering only - Create main container component users/index.jsx to compose all subcomponents - Update import paths in pages/User/index.js to use new modular structure - Remove obsolete EditUser imports and routes from App.js - Delete original monolithic files: UsersTable.js, AddUser.js, EditUser.js The new architecture follows the same modular pattern as tokens and redemptions modules: - Consistent file organization across all table modules - Better separation of concerns and maintainability - Enhanced reusability and testability - Unified modal management approach All existing functionality preserved with improved code organization.
| Name |
Last commit
|
Last Update |
|---|---|---|
| .. | ||
| channels | Loading commit data... | |
| mj-logs | Loading commit data... | |
| redemptions | Loading commit data... | |
| task-logs | Loading commit data... | |
| tokens | Loading commit data... | |
| usage-logs | Loading commit data... | |
| users | Loading commit data... | |
| ChannelsTable.js | Loading commit data... | |
| MjLogsTable.js | Loading commit data... | |
| ModelPricing.js | Loading commit data... | |
| RedemptionsTable.js | Loading commit data... | |
| TaskLogsTable.js | Loading commit data... | |
| TokensTable.js | Loading commit data... | |
| UsageLogsTable.js | Loading commit data... |