feat(shared): add ExtensionShowcase onboarding component - #6189
feat(shared): add ExtensionShowcase onboarding component#6189tsahimatsliah wants to merge 14 commits into
Conversation
Sider-style feature walkthrough for the daily.dev extension: a vertical feature dock on desktop that collapses to a horizontal scrollable tab strip on mobile, with a prop-driven media (video/image) + title + description detail panel. Ships with the default daily.dev feature set and a Storybook story. Reusable across onboarding, modals, and pages. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Reorder the default features for conversion and rewrite to benefit-led copy grounded in real extension capabilities: - add "Read it here" (in-app reader) to highlight reduced tab clutter - reframe companion around context/comments/related articles - sharpen AI search around community-vetted dev content - tie shortcuts and reading streak to the new-tab takeover Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Drop webapp-also features (AI search, Squads, bookmarks) that don't motivate installing the extension. Keep only browser-level powers the website can't replicate, with clever benefit-led framing: - new tab takeover, companion on any site, read-it-here embedded reading - top-sites shortcuts, ambient streak habit - add "Focus mode" (pause the new tab) — control + install objection-handling Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Lead with "Read it here" as the top value, keep the new-tab feed high, and split shortcuts into two distinct items: - Most visited: auto-pulled from the browser's top sites - Shortcuts: custom pinned apps/tools Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Lead with the personalized daily brief (the AI "presidential briefing" delivered as a morning ritual on your first tab). Mention one-click bookmarks-bar import in the shortcuts copy. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Lean into the "brief on wake" concept — the personalized brief opens itself on the first new tab of the day, no inbox or app to open. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
New order: new tab feed, read it here, daily brief, most visited, shortcuts, companion, reading streak, focus mode. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Match the Sider-grade structure: a soft pastel field that funnels the eye inward, a contained white card holding the dock + preview, a sharp accented title (sparkle + brand eyebrow) that changes per feature, and an oversized, product-specific primary CTA. Drop the static title/description props in favor of the dynamic per-feature headline. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
…e bg - Revert the per-tab dynamic title; the header is static again and the per-feature headline lives back in the detail panel. - CTA copy now adapts to the active feature (e.g. "Get your daily brief"), falling back to ctaLabel when a feature defines none. - Soften the background to a faint cabbage tint fading to the page color so it stops competing with the reading area. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
The previous "subtlest" accent maps to the raw vivid hue, so it read bold. Switch to the alpha-based overlay-float-cabbage tint (~8%) for a soft, clean pastel wash. Shorten the default title and drop the default subtitle to cut text noise at the top. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
- The primary CTA now lives inside the white card, full-width below the dock + preview row (matching the reference). - Collapse the detail panel to one message: drop the per-feature title and show a single value sentence per feature. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Move the primary CTA inside the detail column, under the message, so it sits only on the right side rather than spanning the full card width. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
New tab feed -> NewTab, Read it here -> Sites (globe), Daily brief -> TLDR, Most visited -> Star, Companion -> SidebarArrowLeft (expand sidebar), Reading streak -> Hot (flame), Focus mode -> Moon. Shortcuts unchanged. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
capJavert
left a comment
There was a problem hiding this comment.
There is a hooks-order issue in ExtensionShowcase: it throws on !features.length before useState, so changing features between empty and non-empty across renders conditionally changes the number of hooks. Please move the hook above the guard or enforce non-empty input at the type/API boundary. Also, the default feature media are explicitly placeholders and the component has no production consumer yet; please confirm whether this should ship as dead shared code before approval.
@capJavert this one is not ready for review since we don't published the layout v2 yet. So we decided to place it on hold. |
What
A reusable, Sider-style feature walkthrough that explains the value of the daily.dev browser extension.
features,defaultFeatureId, CTA, andonFeatureChange/onCtaClickhandlers. Ships with the default daily.dev feature set (new tab feed, AI search, bookmarks, companion, reading streaks, Squads, shortcuts).mediaprop — current assets reuse the existing onboarding screenshot/video as placeholders.Decoupled shared component so it can be reused in onboarding, modals, and pages. A Storybook story (
Components/Onboarding/ExtensionShowcase) is included as the live preview.Files
packages/shared/src/components/onboarding/ExtensionShowcase/— component, media renderer, default features, types, testspackages/storybook/stories/components/ExtensionShowcase.stories.tsxVerification
defaultFeatureId, CTA toggle)🤖 Generated with Claude Code
Preview domain
https://claude-sharp-chebyshev-cf08f4.preview.app.daily.dev