Merge pull request #2 from johndoe6345789/codex/refactor-large-tsx-component-into-smaller-files

Restore example dashboard and add warning headers
This commit is contained in:
2026-01-17 23:58:11 +00:00
committed by GitHub
3 changed files with 7 additions and 2 deletions

View File

@@ -1,3 +1,4 @@
// WARNING: Example file used for refactoring-tool demos. Avoid manual edits.
import React, { useState, useEffect, useCallback } from 'react';
import { User, FormData, ValidationErrors } from "./UserManagementDashboard.types";
import { validateForm, getRoleBadgeColor, getStatusBadgeColor, formatDate } from "./UserManagementDashboard.utils";

View File

@@ -1,4 +1,6 @@
/**
* WARNING: Example file used for refactoring-tool demos. Avoid manual edits.
*
* Extracted types and interfaces
* Auto-generated by ts-morph refactoring script
*/

View File

@@ -1,4 +1,6 @@
/**
* WARNING: Example file used for refactoring-tool demos. Avoid manual edits.
*
* Extracted utility functions
* Auto-generated by ts-morph refactoring script
*/