Skip to content

Restyle Task Workspace UI to match Portal visual system - #37

Merged
sandervonk merged 1 commit into
mainfrom
cursor/task-workspace-ui-restyle-7fd3
Sep 8, 2026
Merged

sandervonk merged 1 commit into
mainfrom
cursor/task-workspace-ui-restyle-7fd3

Conversation

@sandervonk

Copy link
Copy Markdown
Member

Summary

Restyles the Task Workspace panel from #36 so it looks native next to notes/complete controls in ViewTask modals. Reuses existing Portal tokens and patterns — no new design system.

Changes

  • Buttons: Enable, Link, Add file, Connect Drive, and Cancel use primary_styled / secondary_styled sizing and --color-overlay-action tokens via bottom_actions layout (same approach as EditTask scope buttons)
  • Destroy: Danger pill using --color-overlay-link-remove-hover / --color-on-overlay-link-remove-hover
  • Drop zone: Idle state uses --color-overlay-input; drag-over uses translucent action tint and action-colored label text
  • File list: Fixed 22×22 type icons (PDF/IMG/DOC/etc.), ellipsis on long names, size meta line, Portal remove.svg control
  • Layout: min-width: 0 on panel/rows so name + icon + meta don't collapse in the modal

Applies to both student and teacher workspace modes (single TaskWorkspace.vue component).

Screenshots

Workspace UI — idle buttons, active file list, drag-over dropzone

Testing

  • npm run lint — pass
  • npm run build — pass

Deploy note

This repo's CI builds on merge; Pages deploy is via npm run publish (gh-pages) when maintainers choose to ship — not automated in CI.

To show artifacts inline, enable in settings.

Open in Web Open in Cursor 

- 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 <sandervonk@users.noreply.github.com>
@sandervonk
sandervonk marked this pull request as ready for review September 8, 2026 18:54
@sandervonk
sandervonk merged commit c93c542 into main Sep 8, 2026
1 check passed
sandervonk added a commit to cmu-tt/cmu-tt.github.io that referenced this pull request Sep 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants