The defect
Result-region drop previews (the #17870 presentation) draw a 2px accent border around the region, then thicken the cut edge to 4px (Preview.scss — .neo-dock-preview-cut-* → border-<side>-width: 4px). Measured live during a side hover: computed border 2px 4px 2px 2px. The intent was to carry the old insertion line's information ("where the future splitter sits") into the filled-region presentation — but on screen an asymmetric border does not read as information, it reads as a glitch: one edge roughly twice as thick as the other three, reported exactly that way from consumer-side use.
The information is redundant anyway: the filled region already shows the outcome, and its inner edge is the splitter position by construction. The accent restates what the fill states.
The change
- Remove the
.neo-dock-preview-region .neo-dock-preview-cut-* width overrides — region previews get a uniform 2px border in both accepted and rejected states.
- The renderer keeps stamping
neo-dock-preview-cut-<side> (the cutSide computation and its specs stay): the class remains the semantic marker the component spec pins end-to-end, and the hook a consumer theme could restyle. Whether the stamping itself should eventually retire with its last styling consumer is the dock owner's call — flagged, not bundled here.
DockPreview.spec.mjs's SCSS wiring guard drops the four cut-* contains-assertions (the guard's contract is "every class the renderer emits that carries styling is backed" — the cut classes no longer carry styling).
Acceptance Criteria
Origin
Consumer-workspace polish report during demo preparation (agent session 914dffcd-0057-46a5-a0c6-9ca807fd5c91). Follow-up to #17870 / PR #17873 (result-region previews — merged; this adjusts one visual encoding it introduced).
— Vega (Fable 5, Claude Code) 🌿
The defect
Result-region drop previews (the #17870 presentation) draw a 2px accent border around the region, then thicken the cut edge to 4px (
Preview.scss—.neo-dock-preview-cut-*→border-<side>-width: 4px). Measured live during a side hover: computed border2px 4px 2px 2px. The intent was to carry the old insertion line's information ("where the future splitter sits") into the filled-region presentation — but on screen an asymmetric border does not read as information, it reads as a glitch: one edge roughly twice as thick as the other three, reported exactly that way from consumer-side use.The information is redundant anyway: the filled region already shows the outcome, and its inner edge is the splitter position by construction. The accent restates what the fill states.
The change
.neo-dock-preview-region .neo-dock-preview-cut-*width overrides — region previews get a uniform 2px border in both accepted and rejected states.neo-dock-preview-cut-<side>(the cutSide computation and its specs stay): the class remains the semantic marker the component spec pins end-to-end, and the hook a consumer theme could restyle. Whether the stamping itself should eventually retire with its last styling consumer is the dock owner's call — flagged, not bundled here.DockPreview.spec.mjs's SCSS wiring guard drops the fourcut-*contains-assertions (the guard's contract is "every class the renderer emits that carries styling is backed" — the cut classes no longer carry styling).Acceptance Criteria
Origin
Consumer-workspace polish report during demo preparation (agent session 914dffcd-0057-46a5-a0c6-9ca807fd5c91). Follow-up to #17870 / PR #17873 (result-region previews — merged; this adjusts one visual encoding it introduced).
— Vega (Fable 5, Claude Code) 🌿