Repository navigation
Conversation
Co-Authored-By: Codex (gpt-6.1-sol) via omp <noreply@openai.com>
Co-Authored-By: Codex (gpt-6.1-sol) via omp <noreply@openai.com>
- Add a host icon slot and persistent click-only pins with surface footprints and separated markers. Co-Authored-By: Codex (gpt-6.1-sol) via omp <noreply@openai.com>
…right spatial pins
…-20261120 Compiled en and en-XA catalogs merged key by key (3,979 ids, equal to the merged PO files). plugin-dispatch.test.tsx keeps this branch's descriptor-based document fixture and main's new stripped-plugin geometry test.
The i18n literal guard rejects new untranslated copy and the literal baseline may only shrink. Both strings now go through i18n._ with fr/es/ja/zh-CN drafts (fuzzy, Review: required). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Aymericr
left a comment
There was a problem hiding this comment.
Thanks @AxiomeCG. The Comment tool with enriched captures and spatial pins is a nice step, and CI is green at 8316266. I went through Bugbot's three findings on this head:
- "Session ignores Comment tool flags" (High): I think this one is a false positive.
startPointAskSessioncopiesoptions.enrichedRegions/options.freeClickinto the module flags (session.ts~L1520), and the layer restarts the session when they change. One edge worth a look: theif (stopSession) return stopSessionearly return happens before the flags are assigned, so a second caller with different options would silently keep the first caller's flags. If only one layer ever mounts, a short comment saying so would settle it. - "Send drops in-flight ordinary crops" (Medium): this looks real.
sendBubbleonly retains thedownCropspromise for enriched regions and free-click, andcloseBubbledeletes the entry, so an ordinary click sent while its crop is still pending goes out withoutimage. Retaining the pending crop for every send, not just enriched ones, would fix it. - "HUD shortcuts do not match compose" (Medium): the HUD advertises
Enter= save andCmd/Ctrl+Enter= ask Architect, but the bubble has a singleonSubmit. Either wire the two paths or adjust the HUD copy so it doesn't promise something the bubble doesn't do.
Also, since this is a big visible change (new tool name, pins, HUD) and the checklist says no editor session was run, please add a short screen recording: pinning a comment, a drag capture, the HUD in both states, and two pins at the same point. Happy to re-review once those are in.
… noteComposer hints
|
Pushed
|
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using high effort and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Want reviews to match your repository better? Bugbot Learning can learn team-specific rules from PR activity. A team admin can enable Learning in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 590724c. Configure here.
| .pa-pa{stroke-width:2;stroke-linecap:round} | ||
| .pa-pk{fill:none;stroke:var(--pa-ok);stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:14;stroke-dashoffset:14;transition:stroke-dashoffset 240ms var(--pa-ease) 80ms} | ||
| .pa-sg{fill:none;stroke:var(--pa-accent);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;opacity:0;transition:opacity 160ms ease} | ||
| .pa-sg,.pa-ic{fill:none;stroke:var(--pa-accent);stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;opacity:0;transition:opacity 160ms ease} |
There was a problem hiding this comment.
Comment pin glyphs stay hidden
Medium Severity
New pin artwork adds comment lines and ask/change/error glyphs, but those groups stay at opacity 0. No pin state rule reveals .pa-cm or .pa-ic, so idle comment pins and error/ask/change states never show the icons this redesign introduced.
Additional Locations (1)
Reviewed by Cursor Bugbot for commit 590724c. Configure here.


What does this PR do?
Point and ask becomes the Comment tool (key
C), and it can capture an enriched region. This is the editor side of the zone comments work inpascalorg/private-editor(branchcut/zone-comments-enriched-20261120). This PR needs to land before the private pin bump (D-006).id-buffer.ts,id-pass.ts). A pass that reads which node owns each visible pixel of a region, with the opening glass and frame told apart.lib/enriched-capture/*). A dragged area carries its colour map, its visible-pixel shares, world points and rooms, alongside the ordinary crop./icons/comment.webpicon:Clickpin a comment,Dragsmart capture (with the colour map when enriched),Alttarget a deeper surface,Escexit.Entersave comment,Cmd/Ctrl + Enterask Architect,Shift + Clickadd or remove an element,Escdismiss.pinnedflag onContextualShortcutHintkeeps the primary gestures visible when shortcuts are collapsed, without highlighting their keys.How to test
bun test packages/editor/src/components/ui/helpers/helper-manager.test.tsxand the*point-ask*/*enriched*/ viewerid-buffer/id-passtests.tsgo --noEmitinpackages/core,packages/viewerandpackages/editor.C, check the Comment HUD on the right, click a surface, drag an area, open a pin.Results on
2c44754fe:*enriched*/*point-ask*test file): 276 pass / 0 fail.tsgo --noEmit: core and viewer pass. Editor reports only the two knownceiling-bracket-batch.test.tserrors, and that file is identical onmain.bun run check: warnings only.Warning
The branch is based on
abd6eee9fandmainhas moved 7 commits since. A merge withmainconflicts in the compiled catalogspackages/editor/src/i18n/locales/{en,en-XA}/messages.ts(regenerate them withbun run i18n:extract) and inpackages/viewer/src/components/viewer/plugin-dispatch.test.tsx.Screenshots / screen recording
Not attached yet.
Checklist
bun dev(through the private host on :3640)bun checkto verify)mainbranchNote
Medium Risk
Touches agent-facing
PointContextcontracts, async capture timing on send, and substantial point-ask interaction/rendering paths; regressions could affect AI context quality or comment placement UX.Overview
Rebrands Point and ask to Comment (
C) and wires host-facing props:EditorProps.pointAsk(enrichedRegions,freeClick,noteComposer), custompointAskIcon, and new host helpers (sendPointAskBubble,closePointAskBubble,lookAtPointAsk).Agent payload (
PointContext/PointImage) grows optional region enrichment—pixelvisibleshares,worldcorners,rooms, segmented colour map, and legend—while legacyinRegionids remain; ordinary clicks/regions without enrichment keep the old key shape.Enriched capture hooks the snapshot pipeline with an ID-buffer pass (
takeIdPass/captureEnrichedRegion) so dragged areas can ship authoritative pixel evidence plus a colour-map crop. The ask bubble shows a map badge when that data is present.Persistent comment pins get footprint overlays, collision-spread markers with anchor connectors, toggled cards (no auto-retire/hover-compare like ephemeral pins), and updated pin chrome. Session options flow through
PointAskLayerandstartPointAskSession.UX: Comment helper HUD (
commentToolHints,COMMENT_HUD_TITLE,pinnedhints), i18n/tooltip updates, and mode pill copy for free-click/drag commenting.Reviewed by Cursor Bugbot for commit 590724c. Bugbot is set up for automated code reviews on this repo. Configure here.