Preview docx on fixed paper instead of the theme background #196

Merged
weichen merged 9 commits from feature/docx-paper-preview into main 2026-10-05 04:06:18 +00:00
Owner

Summary

Test plan

  • make test in the task worktree on 2026-10-05 (boundaries, pins, libs, core, backend, frontend 81, ui 84, agent-command)
  • make task-sync against origin/main eaae87e635 (already up to date)
  • Owner merges the UI and frontend PRs before or with this gitlink
## Summary - Document `--paper` / `--paper-ink` in DESIGN.md (before: page background `var(--bg)`; after: `var(--paper)` / `var(--paper-ink)`). - Advance the UI and frontend gitlinks for the paper preview. - UI PR: https://git-home.u1680832.nyat.app:30319/weichen/Agent-System-UI/pulls/35 - Frontend PR: https://git-home.u1680832.nyat.app:30319/weichen/Agent-System-Frontend/pulls/44 ## Test plan - [x] `make test` in the task worktree on 2026-10-05 (boundaries, pins, libs, core, backend, frontend 81, ui 84, agent-command) - [x] `make task-sync` against origin/main `eaae87e635` (already up to date) - [ ] Owner merges the UI and frontend PRs before or with this gitlink
weichen added 6 commits 2026-10-05 04:04:35 +00:00
Why: The preview painted docx pages with the theme background, so black document text was unreadable in dark mode and the page overflowed the narrow column.
Evidence: UI vitest 84 passed and tsc clean at b14c9c0; frontend vitest 81 passed and tsc -b clean at cf6f24e.
Impact: DESIGN.md documents --paper and --paper-ink. Gitlinks pick up the UI and frontend paper-preview commits. Mammoth and fake-docx text fallbacks stay theme-styled.
Refs: feature/docx-paper-preview
Co-authored-by: Cursor <cursoragent@cursor.com>
Why: The frontend branch gained two follow-up commits that stop a typecheck artifact from dirtying the submodule.
Evidence: modules/frontend HEAD is 9badbb1 and git status in that repo is clean.
Impact: The Dev branch records the frontend tip that includes page scaling and the tsbuildinfo ignore. No other gitlinks move.
Refs: feature/docx-paper-preview
Co-authored-by: Cursor <cursoragent@cursor.com>
Why: The card still named the frontend commit from before the tsbuildinfo follow-ups.
Evidence: modules/frontend HEAD is 9badbb1.
Impact: Task record only. No code or gitlink change.
Refs: feature/docx-paper-preview
Co-authored-by: Cursor <cursoragent@cursor.com>
Why: The card still said browser checks and the combined test were pending after both had passed.
Evidence: make test exited 0 in this worktree. The harness measured white paper, black ink, preserved document colors, scale 0.496 at 420px, and transform none at 998px.
Impact: Task record only. No code or gitlink change.
Refs: feature/docx-paper-preview
Co-authored-by: Cursor <cursoragent@cursor.com>
Record the sync checkpoint
ci / test (pull_request) Successful in 1m54s
be844bedd2
weichen added 1 commit 2026-10-05 04:04:49 +00:00
Record the paper-preview pull requests on the task card
ci / test (pull_request) Successful in 1m57s
f2c4041247
Why: The task card is the main record and still had a placeholder where the pull request link belongs.
Evidence: Dev pull request 196, UI pull request 35, frontend pull request 44.
Impact: Task record only. No code or gitlink change.
Refs: feature/docx-paper-preview
Co-authored-by: Cursor <cursoragent@cursor.com>
weichen added 1 commit 2026-10-05 04:04:58 +00:00
Link the submodule pull requests from the task card
ci / test (pull_request) Successful in 1m56s
e6852872fe
Why: The card named the UI and frontend commits but not the pull requests that carry them.
Evidence: UI pull request 35 and frontend pull request 44 are open.
Impact: Task record only. No code or gitlink change.
Refs: feature/docx-paper-preview
Co-authored-by: Cursor <cursoragent@cursor.com>
weichen added 1 commit 2026-10-05 04:05:15 +00:00
Put the sync checkpoint back in the task table
ci / test (pull_request) Failing after 1m26s
2723c73bae
Why: task-sync appends the checkpoint after the results section, so the row rendered as a loose line.
Evidence: the checkpoint values are unchanged and now sit under the sync table header.
Impact: Task record formatting only.
Refs: feature/docx-paper-preview
Co-authored-by: Cursor <cursoragent@cursor.com>
weichen merged commit 7e59377f1e into main 2026-10-05 04:06:18 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: weichen/Agent-System-Dev#196