From ffff77010be09d1f8914ff1d19c373790afd3e25 Mon Sep 17 00:00:00 2001
From: Cursor Agent
Date: Tue, 8 Sep 2026 18:51:24 +0000
Subject: [PATCH] Restyle Task Workspace UI to match Portal overlay patterns
- Apply Portal action button tokens (primary_styled, secondary_styled) via
bottom_actions layout and scoped overlay-action sizing
- Style Destroy as a danger pill using existing remove-hover color tokens
- Polish dropzone idle/drag-over states with overlay input tokens
- Improve file rows: fixed icon size, ellipsis names, size meta, remove icon
- Shared styling for teacher and student workspace panels in TaskWorkspace
Co-authored-by: Sander Vonk
---
src/components/Portal/TaskWorkspace.vue | 294 +++++++++++++++++++++---
1 file changed, 256 insertions(+), 38 deletions(-)
diff --git a/src/components/Portal/TaskWorkspace.vue b/src/components/Portal/TaskWorkspace.vue
index a92d4509..0b91760e 100644
--- a/src/components/Portal/TaskWorkspace.vue
+++ b/src/components/Portal/TaskWorkspace.vue
@@ -10,7 +10,8 @@
Attach a workspace to collect files for this {{ taskType }}.
{{ isTeacherMode ? "Shared among class teachers." : "Only you can see your workspace." }}
-
+
+
@@ -26,16 +27,18 @@
placeholder="Workspace ID (share across project steps)"
@keydown.enter="linkWorkspace"
/>
-
- Workspace {{ workspace.id }}
+
+ Workspace {{ workspace.id }}
+
Drop files here
-
+
Add file
No files yet.
-