diff --git a/web/frontend/src/views/Dashboard.vue b/web/frontend/src/views/Dashboard.vue index 9fe26ad..ef9d54b 100644 --- a/web/frontend/src/views/Dashboard.vue +++ b/web/frontend/src/views/Dashboard.vue @@ -11,16 +11,6 @@ const projects = ref([]) const costs = ref([]) const loading = ref(true) const error = ref('') -const projectSearch = ref('') -const showNewMenu = ref(false) - -const filteredProjects = computed(() => { - const q = projectSearch.value.trim().toLowerCase() - if (!q) return projects.value - return projects.value.filter(p => - p.id.toLowerCase().includes(q) || p.name.toLowerCase().includes(q) - ) -}) // Add project modal const showAdd = ref(false) @@ -204,39 +194,27 @@ async function createNewProject() {

{{ t('dashboard.title') }}

{{ t('dashboard.cost_this_week') }}: ${{ totalCost.toFixed(2) }}

-
- + + -
- - - -
-
- -
-

{{ t('dashboard.loading') }}

{{ error }}

-
+
@@ -294,13 +272,6 @@ async function createNewProject() { {{ p.total_tasks - p.done_tasks - p.active_tasks - p.blocked_tasks - (p.review_tasks || 0) }} pending
-
-
-
-
- {{ Math.round((p.done_tasks || 0) / p.total_tasks * 100) }}% -
diff --git a/web/frontend/src/views/ProjectView.vue b/web/frontend/src/views/ProjectView.vue index cbb1e99..143bc98 100644 --- a/web/frontend/src/views/ProjectView.vue +++ b/web/frontend/src/views/ProjectView.vue @@ -646,18 +646,6 @@ const taskCategories = computed(() => { return Array.from(cats).sort() }) -const taskStats = computed(() => { - const tasks = project.value?.tasks || [] - const total = tasks.length - if (!total) return null - const done = tasks.filter(t => t.status === 'done').length - const running = tasks.filter(t => t.status === 'in_progress').length - const review = tasks.filter(t => t.status === 'review').length - const blocked = tasks.filter(t => t.status === 'blocked').length - const pending = tasks.filter(t => t.status === 'pending').length - return { total, done, running, review, blocked, pending, pct: Math.round(done / total * 100) } -}) - const searchFilteredTasks = computed(() => { if (!project.value) return [] const q = taskSearch.value.trim().toLowerCase() @@ -1091,24 +1079,6 @@ async function addDecision() {
- -
-
-
-
-
-
- {{ taskStats.done }}/{{ taskStats.total }} ({{ taskStats.pct }}%) -
-
- ● {{ taskStats.running }} running - ⚠ {{ taskStats.review }} review - ✕ {{ taskStats.blocked }} blocked - ○ {{ taskStats.pending }} pending -
-
diff --git a/web/frontend/src/views/TaskDetail.vue b/web/frontend/src/views/TaskDetail.vue index 1fd783f..359d9ad 100644 --- a/web/frontend/src/views/TaskDetail.vue +++ b/web/frontend/src/views/TaskDetail.vue @@ -461,14 +461,8 @@ async function saveEdit() {
-
- Brief: - {{ (task.brief as Record).text }} - {{ (task.brief as Record).description }} -
- raw -
{{ JSON.stringify(task.brief, null, 2) }}
-
+
+ Brief: {{ JSON.stringify(task.brief) }}
{{ t('taskDetail.acceptance_criteria') }}