🎯 Quick Test: Set Default Status
Follow these steps to verify the "Set as Default" functionality works correctly.
Step 1: Navigate to Custom Task Status Manager
- Login to the application as a coordinator or admin
- Navigate to any project
- Click on "Settings" in the sidebar
- Go to the "Tasks" tab
- Scroll to the "Custom Task Statuses" section
Step 2: Create Test Statuses (if needed)
- If you don't have at least 2 custom statuses, click "Add Status"
- Create a status named "In Review" with any color
- Create another status named "Approved" with any color
Expected: You should now have at least 2 custom statuses in the list.
Step 3: Identify Current Default
- Look at the custom statuses list
- Find which status has the "Default" badge with a star icon
- Note which status is currently the default
Expected: One status should have a badge that says "Default" with a star icon. Other statuses should show "Custom" badge.
Step 4: Set a Different Status as Default
- Find a status that is NOT currently the default
- Verify it has a "Set as Default" button (with star icon)
- Click the "Set as Default" button
- Wait for the operation to complete
Expected:
- A success toast message appears: "[Status Name] is now the default status for new tasks"
- The clicked status now shows the "Default" badge
- The previous default status now shows "Custom" badge
- The "Set as Default" button disappears from the new default status
- The "Set as Default" button appears on the previous default status
Step 5: Verify Only One Default
- Count how many statuses have the "Default" badge
- Verify only ONE status is marked as default
Expected: Exactly one status should have the "Default" badge at any time.
Step 6: Test via Edit Dialog
- Click the edit button (pencil icon) on a non-default status
- Verify the "Set as default status for new tasks" checkbox is present
- Check the checkbox
- Click "Update Status"
- Verify the status is now marked as default in the list
Expected: The edit dialog checkbox should also work for setting default status.
Step 7: Verify New Tasks Use Default
- Note which status is currently the default
- Navigate to a shot or asset in the project
- Create a new task (don't specify a status)
- Check what status the new task has
Expected: The new task should automatically have the default status you set.
✅ Test Complete!
If all steps passed, the default status management feature is working correctly.