Skip to content

Add preview annotations to desks UI#3484

Merged
youknowriad merged 6 commits into
trunkfrom
codex/add-preview-annotations
May 14, 2026
Merged

Add preview annotations to desks UI#3484
youknowriad merged 6 commits into
trunkfrom
codex/add-preview-annotations

Conversation

@youknowriad
Copy link
Copy Markdown
Contributor

Summary

  • Add the preview annotation flow to desks UI with zoom-in annotate mode, element picking, comment entry, and temporary note connectors
  • Reuse the shared annotation prompt format across desks and classic UI so submitted notes arrive in chat consistently
  • Update the site preview surface for Electron/webview annotation injection and align the widget controls with the reference flow
  • Render annotation-styled notes with preview metadata and a dedicated annotate toolbar for submit, cancel, and removal actions

Testing

  • Lint and formatting passed on the modified files
  • Type checking passed
  • Focused unit tests passed for the desks selection toolbar, connector utils, and classic annotation formatting

@wpmobilebot
Copy link
Copy Markdown
Collaborator

wpmobilebot commented May 14, 2026

📊 Performance Test Results

Comparing cbf575c vs trunk

app-size

Metric trunk cbf575c Diff Change
App Size (Mac) 1409.62 MB 1409.62 MB +0.00 MB ⚪ 0.0%

site-editor

Metric trunk cbf575c Diff Change
load 1489 ms 1488 ms 1 ms ⚪ 0.0%

site-startup

Metric trunk cbf575c Diff Change
siteCreation 8610 ms 8575 ms 35 ms ⚪ 0.0%
siteStartup 4927 ms 4927 ms 0 ms ⚪ 0.0%

Results are median values from multiple test runs.

Legend: 🟢 Improvement (faster) | 🔴 Regression (slower) | ⚪ No change (<50ms diff)

Comment thread apps/ui/src/ui-desks/widgets/site-preview/annotations/notes.ts Fixed
Comment thread apps/ui/src/ui-desks/widgets/site-preview/annotations/notes.ts Fixed
Comment thread apps/ui/src/ui-desks/widgets/site-preview/annotations/notes.ts Fixed
Comment thread apps/ui/src/ui-desks/widgets/site-preview/annotations/notes.ts Fixed
@youknowriad youknowriad merged commit f60bb57 into trunk May 14, 2026
8 of 10 checks passed
@youknowriad youknowriad deleted the codex/add-preview-annotations branch May 14, 2026 12:56
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.

3 participants