CI / Build & test (Node 20) (push) Canceled after 0s
CI / Build & test (Node 24) (push) Canceled after 0s
CI / Build & test (push) Canceled after 0s
CodeQL / Analyze (javascript-typescript) (push) Canceled after 0s
Security / Secret scan (gitleaks) (push) Canceled after 0s
Security / Dependency scan (OSV-Scanner) (push) Canceled after 0s
Security / IaC/config scan (Trivy) (push) Canceled after 0s
Security / License compliance scan (Trivy) (push) Canceled after 0s
OpenSSF Scorecard / Scorecard analysis (push) Canceled after 0s
Three complaints, three causes. Decorations sat off-centre. <Avatar>'s box is `size + 2 × ringWidth`, but the overlay was positioned with a percentage inset of that box — so it drifted by exactly the ring whenever one was present. That is why the crown floated above the head on the profile card while looking fine on the editor tiles, which have no ring. DecoratedAvatar now takes `size` and `ringWidth` and computes the inset in pixels, so the picture's edge always lands at a known radius in the SVG viewBox and every decoration is drawn against it. The ugly ones were ugly. Flames were a blob with a black circle punched out of it; they are now fourteen tongues of alternating height on a gradient. The crown's band sits ON the picture's top edge instead of hovering above it. Frost, stars and hearts were placed by eye and are now on a computed ring. Nine more: holo disc (a conic gradient — the honest way to draw one, and CSS has it where SVG does not), chain, cyber brackets, lightning, spikes, butterflies, sakura, bubbles, flower. Twenty in total. Name effects were thin. Gradient was a two-stop ramp; it now has a lit middle. Neon was one shadow, now five layered with a buzz. Glitch was a keyframed text-shadow, now a real RGB split duplicated through ::before/::after from data-text. Added chrome and gold (banded metal with a specular line — the y2k look the reference is after), holo, rainbow, ice, 3D extrude, and outline. Sixteen effects, thirteen fonts with Audiowide, Bungee and Monoton added. The editor tiles now sample the user's own name rather than "Gg" or the effect label: an effect reads differently on a short word than on the name it will carry. Two per row instead of three, and section rows gained an icon. One test failed on the catalog growth and was right to: it used 'rainbow' as an example of an unknown id, and rainbow is now a real effect. It uses an absurd id instead, and a new test walks every catalog id through the normaliser so a catalog and the normaliser can never drift apart silently. Verified: shared build, web build, server typecheck, 518 web tests (1 new). Not verified: pixels — no browser here; the geometry is now computed rather than guessed, but a screenshot decides. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
7.6 KiB
7.6 KiB