feat: Add simple dropdown components for project and task statuses
- Created ProjectStatusDropdownSimple component for managing project statuses with a simple dropdown interface. - Updated ProjectTasksDashboard and ProjectTasksSection to use the new ProjectStatusDropdownSimple component. - Refactored TaskStatusDropdown to simplify its structure and added debugging features. - Introduced TaskStatusDropdownDebug for testing purposes with enhanced logging and debugging UI. - Added TaskStatusDropdownSimple for task statuses, mirroring the functionality of the project status dropdown. - Created comprehensive HTML test files for dropdown functionality validation. - Added a batch script to clear Next.js cache and start the development server.
This commit is contained in:
11
debug-dropdown.js
Normal file
11
debug-dropdown.js
Normal file
@@ -0,0 +1,11 @@
|
||||
// Debug file to test dropdown functionality
|
||||
console.log("Testing dropdown components...");
|
||||
|
||||
// Simple test to check if components are rendering
|
||||
const testTask = {
|
||||
id: 1,
|
||||
status: "pending",
|
||||
task_name: "Test Task",
|
||||
};
|
||||
|
||||
console.log("Test task:", testTask);
|
||||
Reference in New Issue
Block a user