Skip to content

feat(composer): v3.4.1 — inline edit on stats / pin / languages (closes #29)#30

Merged
heznpc merged 1 commit into
mainfrom
feat/v3.4.1-cards-inline-edit
Apr 30, 2026
Merged

feat(composer): v3.4.1 — inline edit on stats / pin / languages (closes #29)#30
heznpc merged 1 commit into
mainfrom
feat/v3.4.1-cards-inline-edit

Conversation

@heznpc
Copy link
Copy Markdown
Member

@heznpc heznpc commented Apr 30, 2026

Adds data-cas-target hooks to stats, languages (via new titleTarget arg in renderCard), and pin (repo + description). Playground generalizes to INLINE_EDIT_CARDS set. Click-to-jump-to-slot-input pattern. See #29.

#29)

Extends the inline-edit pattern from hero (v3.4) to three more cards.
ProfileKit-side: data-cas-target hooks added to the title text in cards
that go through renderCard (stats, languages — via a new optional
titleTarget arg), and to the repo name + description groups in pin.js.
Visual output unchanged.

Playground-side: introduces INLINE_EDIT_CARDS set; cards in the set
render as inline <svg> (with click handlers) instead of <img>. Hero
still gets the bg-popover; everything else routes data-cas-target
clicks to focusSlotInput in the right pane.

Snake intentionally skipped — no obvious editable text.

Out of v3.4.1: color-slot type (v3.4.2), keyboard / a11y (v3.5).
@heznpc heznpc merged commit 545eec4 into main Apr 30, 2026
@heznpc heznpc deleted the feat/v3.4.1-cards-inline-edit branch April 30, 2026 23:07
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.

1 participant