-
Notifications
You must be signed in to change notification settings - Fork 143
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Add e-commerce test page to nextjs playground #1725
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PR Summary
Added a new e-commerce test page to the Next.js playground that enables manual testing of various e-commerce events like product additions, searches, wishlists, and order completions.
- Component in
/playground/nextjs/pages/ecommerce.tsx
has mismatched nameSurveyForm
despite handling e-commerce functionality - Added Reddit domains (
*.redditstatic.com
,*.reddit.com
) to CSP directives in/playground/nextjs/pages/_app.tsx
without clear justification - Added
__preview_experimental_cookieless_mode: false
configuration in/playground/nextjs/src/posthog.ts
- Implemented standardized e-commerce event properties following a consistent pattern for product data structure
4 file(s) reviewed, 1 comment(s)
Edit PR Review Bot Settings | Greptile
Size Change: 0 B Total Size: 3.3 MB ℹ️ View Unchanged
|
playground/nextjs/src/Header.tsx
Outdated
@@ -25,6 +25,7 @@ export const PageHeader = () => { | |||
<Link href="/replay-examples/canvas">Canvas</Link> | |||
<Link href="/replay-examples/media">Media</Link> | |||
<Link href="/replay-examples/long">Long</Link> | |||
<Link href="/EcommerceTester">E-commerce</Link> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cursed capitalization of ecommerce
☠️
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah I think my IDE did this when I renamed the react component, yeah agreed that this is cursed
Changes
I wanted to add a page to test out these specific events manually, may as well commit it
Checklist