Skip to content

fix(comic): keep clips, tails, balloons, and SFX presets intact - #205

Merged
K-Arthur merged 10 commits into
masterfrom
cursor/comic-dogfood-fixes-ba33
Oct 31, 2026
Merged

K-Arthur merged 10 commits into
masterfrom
cursor/comic-dogfood-fixes-ba33

Conversation

@K-Arthur

@K-Arthur K-Arthur commented Oct 29, 2026 •

Copy link
Copy Markdown
Collaborator

Lane

  • Library
  • Testing
  • App

What and why

Comic dogfood blockers and visible balloon/export defects from the 2026-10-31 report:

  • 1: Groups clipped by a legacy path node survive save/reload. canBeClipMaskSource accepts closed path clips.
  • 2: Pointed tails keep their outline after reload (stroke ids remapped).
  • 3: Burst/cloud body no longer paints over the outline.
  • 4: SVG export includes balloon tails (path case).
  • 6: Boolean ops catch Unable to complete output ring and refuse degraded subtract/intersect.
  • 16: Sound effect preset is thick dark outline, bright fill, shadow, angled (not a white 3px outline).

Review nits (this update):

Does not include remaining comic 5/7–12/15/17–20 (those are #217, coordinating with #85 and #155).

Check command

pnpm exec vitest run packages/editor/src/context/__tests__/openFileUnreadable.test.tsx

Website unit tests 321/321 after the #215 merge.

Checklist

  • My commits are signed off (git commit -s)
  • I could not fix a CI failure (explain above)
Open in Web Open in Cursor 

cursoragent and others added 8 commits October 29, 2026 18:00
Preserve closed legacy path clips on encode, keep pointed-tail union
outlines after save, hide shaped-balloon rect fills, export balloon
tails to SVG, fall back when polygon-clipping fails, and restyle the
sfx-impact preset with a bright fill, heavy dark outline, and offset
shadow.
Review follow-up for the comic dogfood PR: retry clipper failures before
falling back, refuse to expand degraded or empty Booleans, preserve custom
balloon fills across kind switches, upsert SFX effects without wiping
author stacks, and surface encode warnings from save and archive.
Inspector recolors live on fills; kind switch now moves that paint.
Shaped-balloon fill migration runs only on decode and keeps strokes.
Lettering restore data lives on textEffect, not leaked effect keys.
Degraded boolean apply/expand keeps operands; clipper retries skip
during preview. Encode warnings surface on autosave and package export.
Kind-switch now prefers a custom body fill on legacy shaped callouts, and
falls back to default white when a shaped balloon has no outline. Shape
Builder previews skip clipper retries; commits refuse degraded unions and
subtracts and toast the failure. restoreFills is restricted to solid paints,
and encode warnings are logged once then cleared when a document opens.
openFile now clears encode-warning memory after a successful decode.
Warnings raised before a toast handler exists stay queued until one
registers, then toast once. Shape Builder commit also refuses a
degraded source-filled union, matching the subtract guard.
…d-fixes-ba33

Co-authored-by: Kevin Arthur <K-Arthur@users.noreply.github.com>
A save warning from the previous document can now fire again after
starting a blank canvas, matching the open-file path.

Signed-off-by: Cursor Agent <cursoragent@cursor.com>
@K-Arthur
K-Arthur merged commit eac16c2 into master Oct 31, 2026
56 checks passed
@K-Arthur
K-Arthur deleted the cursor/comic-dogfood-fixes-ba33 branch October 31, 2026 16:03
cursor Bot pushed a commit that referenced this pull request Oct 31, 2026
…remaining-0b4d

Resolve callout.ts against #205: keep CLEAR shaped bodies, generic
outline paint on kind switch, and outlineAnchorHeight for the tail
anchor. Cloud outlines stay scalloped paths.

Signed-off-by: Cursor Agent <cursoragent@cursor.com>
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.

2 participants