Skip to content

Make the marketing site a usable in-page app preview - #86

Merged
mohabbis merged 2 commits into
mainfrom
cursor/demo-first-calm-preview-beb9
Aug 31, 2026
Merged

Make the marketing site a usable in-page app preview#86
mohabbis merged 2 commits into
mainfrom
cursor/demo-first-calm-preview-beb9

Conversation

@mohabbis

@mohabbis mohabbis commented Aug 31, 2026

Copy link
Copy Markdown
Owner

The marketing site was a waitlist page with a nested ~264px phone mock (6.5px tab labels). That is not a live demo.

This turns the hero into a playable in-page preview of Lumen:

  • One AppShell at usable size (~390px on desktop; viewport-height, no nested bezel on mobile)
  • Optional Expand preview portals that same AppShell to focus mode (page chrome hidden) instead of mounting a second tree
  • Sensory Profile is wired: Quiet hides the suggestion card; Reduced motion / Calm Mode mute springs and page tint; Soft contrast actually changes the stage
  • No #flow auto-cycle; guided step 5 completes Apply → toast
  • Copy says Interactive preview, not “live interactive demo” / “real beta flow”
  • Public copy stays calm and unnamed (no autism / ADHD / neurodivergent claims)

Web tests: Vitest covers Quiet cadence and unnamed copy; Playwright covers the in-page consent loop, guided execution, focus-mode add-device, and a mobile viewport pass.

Open in Web Open in Cursor 

Replace the nested 264px phone mock with a single AppShell stage at
readable size, wire Sensory Profile so Quiet/motion/contrast actually
change the preview, and drop autoplay plus overselling copy.

Co-authored-by: Muhammad Rafiq <mohabbis@users.noreply.github.com>
@vercel

vercel Bot commented Aug 31, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
lumen-idpz Ready Ready Preview Aug 31, 2026 6:00pm

Request Review

Portal focus mode to document.body so the sticky nav cannot cover Close,
put the in-page stage first on small screens, and tighten Playwright
locators for the consent loop.

Co-authored-by: Muhammad Rafiq <mohabbis@users.noreply.github.com>
@mohabbis
mohabbis marked this pull request as ready for review August 31, 2026 18:02
@mohabbis
mohabbis merged commit 5c43873 into main Aug 31, 2026
3 of 5 checks passed
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Aug 31, 2026

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review Completed 2026-08-31T18:10:39.141782Z c1e4656 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: c1e465670a

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/InteractivePhone.jsx
setSheet(null);
setApprovalScene(null);
setActiveScene(eveningScene.name);
applyScenePreset(eveningScene.name);

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Keep guided execution behind confirmation

When a user taps the fourth guided “Runs” step or the corresponding “Execution” flow card, this branch immediately applies the Evening preset and reports the scene as applied, bypassing both reasoning and Action confirmation. That makes the public preview demonstrate a one-tap action despite its advertised consent flow; route this step through the confirmation sheet instead of mutating device state directly.

AGENTS.md reference: AGENTS.md:L9-L11

Useful? React with 👍 / 👎.

Comment thread src/InteractivePhone.jsx
</div>
);
})}
{ids.map(id => <DeviceRow key={id} id={id} />)}

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Preserve room labels in the Intel list

In the Intel screen, replacing the inline rows with DeviceRow changes each device’s subtitle from d.room to d.category. Because the list is already grouped by category, users now see redundant labels such as “Lighting” under every item and lose the room information needed to distinguish similarly named devices; pass the room as the Intel-row subtitle or let DeviceRow select the appropriate metadata for this context.

Useful? React with 👍 / 👎.

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