diff --git a/ccw/src/templates/dashboard-js/views/session-detail.js b/ccw/src/templates/dashboard-js/views/session-detail.js index 053e0a01..5b69a542 100644 --- a/ccw/src/templates/dashboard-js/views/session-detail.js +++ b/ccw/src/templates/dashboard-js/views/session-detail.js @@ -178,21 +178,21 @@ function renderTasksTab(session, tasks, completed, inProgress, pending) {
- ✓ ${completed} completed - ⟳ ${inProgress} in progress - ○ ${pending} pending + ${completed} completed + ${inProgress} in progress + ${pending} pending
Quick Actions:
@@ -271,9 +271,9 @@ function renderDetailTaskItem(task) { function formatStatusLabel(status) { const labels = { - 'pending': '○ Pending', - 'in_progress': '⟳ In Progress', - 'completed': '✓ Completed' + 'pending': 'Pending', + 'in_progress': 'In Progress', + 'completed': 'Completed' }; return labels[status] || status; } @@ -582,7 +582,7 @@ async function updateSingleTaskStatus(taskId, newStatus) { // Update UI updateTaskItemUI(taskId, newStatus); updateTaskStatsBar(); - showToast(`Task ${taskId} → ${formatStatusLabel(newStatus)}`, 'success'); + showToast(`Task ${taskId} status updated`, 'success'); } else { showToast(result.error || 'Failed to update status', 'error'); // Revert select @@ -624,7 +624,7 @@ async function bulkSetAllStatus(newStatus) { // Update all task UIs taskIds.forEach(id => updateTaskItemUI(id, newStatus)); updateTaskStatsBar(); - showToast(`All ${taskIds.length} tasks → ${formatStatusLabel(newStatus)}`, 'success'); + showToast(`All ${taskIds.length} tasks updated`, 'success'); } else { showToast(result.error || 'Failed to bulk update', 'error'); } @@ -664,7 +664,7 @@ async function bulkSetPendingToInProgress() { if (result.success) { pendingTaskIds.forEach(id => updateTaskItemUI(id, 'in_progress')); updateTaskStatsBar(); - showToast(`${pendingTaskIds.length} tasks: Pending → In Progress`, 'success'); + showToast(`${pendingTaskIds.length} tasks moved to In Progress`, 'success'); } else { showToast(result.error || 'Failed to update', 'error'); } @@ -704,7 +704,7 @@ async function bulkSetInProgressToCompleted() { if (result.success) { inProgressTaskIds.forEach(id => updateTaskItemUI(id, 'completed')); updateTaskStatsBar(); - showToast(`${inProgressTaskIds.length} tasks: In Progress → Completed`, 'success'); + showToast(`${inProgressTaskIds.length} tasks completed`, 'success'); } else { showToast(result.error || 'Failed to update', 'error'); } @@ -743,10 +743,12 @@ function updateTaskStatsBar() { const statsBar = document.querySelector('.task-stats-bar'); if (statsBar) { statsBar.innerHTML = ` - ✓ ${completed} completed - ⟳ ${inProgress} in progress - ○ ${pending} pending + ${completed} completed + ${inProgress} in progress + ${pending} pending `; + // Reinitialize Lucide icons + if (typeof lucide !== 'undefined') lucide.createIcons(); } }