Skip to content

fix(review): polish comment composer and thread list - #92

Merged
utpalsinghdev merged 2 commits into
mainfrom
feat/comment-composer
Nov 19, 2026
Merged

utpalsinghdev merged 2 commits into
mainfrom
feat/comment-composer

Conversation

@utpalsinghdev

Copy link
Copy Markdown
Owner

Summary

When adding a comment, the editor highlights the target on the canvas, but the composer itself didn't say what it was attached to. The Review list also put page and status before the comment text and gave its filter a full row. This change makes both easier to scan without changing how comments are saved or opened.

What users will see

  • Choose Add comment in the tool rail, then click a layer or canvas position. The composer still opens ready to type. Its footer now names the target beside Cancel and Save.
  • Open Review in the header (or beside Layers and Properties on narrow screens). The filter sits in the panel header, and each thread starts with its comment preview. Page, comment count, and status appear underneath.

Affected areas

  • Editor UI, navigation, or keyboard controls
  • Contributor tooling or documentation

The conversation and reply views are unchanged. Document data, commands, history, persistence, exports, and MCP contracts are unchanged.

Acceptance criteria

  • Composer keeps its anchor and shows the layer name or canvas position. Empty drafts cannot be saved; Escape retains the draft and Cancel discards it.
  • Review shows comment-first rows and All, Open, and Resolved filters. Opening a conversation and returning keeps the filter. Selecting a thread on another page opens that page.
  • Both views fit a 390 px editor viewport without horizontal overflow.

Screenshots

Captured in the editor with the same introductory artwork and sample comments before and after. Desktop screenshots are cropped from 1440 × 900.

Add comment, before

Before: draft on the Welcome title layer with Cancel and Save but no target label

Add comment, after

After: draft footer shows Welcome title beside Cancel and Save

Review, before

Before: top-right Review button opens a list with the filter on a separate row

Review, after

After: Review list with the filter in the header and comment previews before metadata

Narrow viewport, 390 × 844. Before on the left, after on the right.

Narrow Add comment composer before and after

Narrow Review list before and after

Verification

  • corepack pnpm run check, corepack pnpm run build, and corepack pnpm run changeset:status --since=origin/main passed.
  • Chromium: verified composer focus, Cancel, Escape and draft recovery, Ctrl+Enter, and reopening a posted comment after reload. Exercised Review filters, empty states, keyboard focus, cross-page navigation, and both comment creation actions from the list.
  • Physical touch and other browser engines were not tested. No MCP journey was run because this change only affects the browser UI.

Docs and limits

Updated review controls, design guidance, and verification notes.

@utpalsinghdev
utpalsinghdev merged commit 7d047c9 into main Nov 19, 2026
1 check passed
@utpalsinghdev utpalsinghdev mentioned this pull request Nov 19, 2026
2 tasks done
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.

1 participant