Skip to content

Feat/magic ai pointer#52

Open
umuteren-byte wants to merge 2 commits into
mainfrom
feat/magic-ai-pointer
Open

Feat/magic ai pointer#52
umuteren-byte wants to merge 2 commits into
mainfrom
feat/magic-ai-pointer

Conversation

@umuteren-byte
Copy link
Copy Markdown
Contributor

Key implementation points:

  • MagicPointerController.tsx: new component — hover ring, all-section labels,
    floating popover with input, SSE stream consumer, patch dispatch
  • store.tsx: magicPointerActive / setMagicPointerActive state
  • ChatPanel.tsx: wand toggle button in header activates the mode
  • PageRoot.tsx: renders at the root
  • sections.ts: SectionStyle schema (background, accent, textColor, borderRadius)
    added to every section type via baseSection
  • Site.tsx: sectionStyleVars() maps style props to CSS custom properties
    (--bg, --surface, --fg, --accent) and inline background on each wrapper div,
    enabling per-section visual theming independent of the global theme
  • route.ts: focusedSectionId/focusedSectionType targeting, SECTION_EDIT_HINTS
    map tells Claude exactly which props each section type accepts + valid values,
    explicit decision rules disambiguate per-section style vs. global update_theme

@umuteren-byte umuteren-byte requested a review from Brakomister May 22, 2026 23:46
@vercel
Copy link
Copy Markdown

vercel Bot commented May 22, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
spr26-team-17 Error Error May 22, 2026 11:46pm

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