You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
artifact-canvas: show arrow cursor (not I-beam) over markdown content — content is read-only, comments are button-driven #1232
Hovering the rendered markdown content in the artifact canvas (afx open / annotation viewer) shows the browser-default I-beam text cursor. But the surface's interaction model makes that the wrong signal:
Content is read-only — nothing is editable, so the I-beam's insertion/editing connotation misleads.
Comments are not selection-anchored. The mechanic is hover-a-block → the "+" CommentAffordance button appears → click it (onActivate(line), line-anchored — see src/overlays/CommentAffordance.tsx and the activeLine wiring in src/components/ArtifactCanvas.tsx). Text selection plays no role. The right comparison is GitHub's diff view (hover-line-plus-button), not select-to-highlight surfaces like Medium.
Fix
Show the plain arrow uniformly over the content body — including code blocks (decided: uniform, no code-block I-beam exception, for consistency).
One rule in packages/artifact-canvas/src/styles/default-theme.css, targeting the content container (.codev-artifact-canvas-body, ArtifactCanvas.tsx:432):
.codev-artifact-canvas-body{cursor: default;}
This sharpens the affordance contrast: on block hover, the "+" button (already cursor: pointer) becomes the only element advertising interactivity.
Deliberately unchanged
Links inside rendered markdown keep the pointing hand (UA stylesheet on a[href] — more specific than the container rule, no override needed; verify in review).
The five existing pointer/default rules (add-comment button, marker-card actions, composer buttons, disabled submit, minimap dots) stay as-is.
Selection/copy still works — cursor: default is cosmetic; drag-select and copy are unaffected. Accepted trade-off: no visual hint that text is copyable.
Scope
One CSS rule + a check that links still show the hand. AIR-scoped (or fold into any nearby artifact-canvas PR).
Activity
[PIR #1237] Plan draft (batch: #1236, #1232, #1237)
[PIR #1237] #1236 hover grace+pin and 24px affordance sizing; #1232 a…
changelog: annotation-viewer review UX batch (#1232/#1236/#1237, PR #…