Skip to content
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

Add Support form #9717

Merged
merged 1 commit into from
Sep 12, 2023
Merged

Add Support form #9717

merged 1 commit into from
Sep 12, 2023

Conversation

bvaughn
Copy link
Contributor

@bvaughn bvaughn commented Sep 11, 2023

Dark Light
Editing Screen Shot 2023-09-11 at 3 20 29 PM Screen Shot 2023-09-11 at 5 12 16 PM
Discarding Screen Shot 2023-09-11 at 3 20 37 PM Screen Shot 2023-09-11 at 5 12 23 PM
Success Screen Shot 2023-09-11 at 5 13 16 PM Screen Shot 2023-09-11 at 5 12 42 PM
Failure Screen Shot 2023-09-11 at 5 09 51 PM Screen Shot 2023-09-11 at 5 12 56 PM

@vercel
Copy link

vercel bot commented Sep 11, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
devtools ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 12, 2023 0:20am

@replay-io
Copy link

replay-io bot commented Sep 11, 2023

E2E Tests

79 replays were recorded for 04067aa.

image 0 Failed
image 79 Passed

View test run on Replay ↗︎

Snapshot Tests

100 replays were recorded for 04067aa.

image 0 Failed
image 100 Passed

View test run on Replay ↗︎

console.log("[/api/feedback] posting:\n\n", request.body);

// https://formcarry.com/form/nextjs-contact-form
const apiResponse = await fetch(`https://formcarry.com/s/${FORM_CARRY_TOKEN}`, {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This token is in 1Password (for anyone who wants to test locally)

Comment on lines +76 to +87
// FormCarry does not support nested values
body: JSON.stringify({
date: new Date(),
recordingId,
sessionId,
text,
url: window.location.href,
userAgent: navigator.userAgent,
userEmail: currentUserInfo?.email,
userId: currentUserInfo?.id,
userName: currentUserInfo?.name,
}),
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Is this the right data for us to collet? 🤷🏼 Who knows.

Comment on lines +140 to +148
{/* TODO [FE-1894] Add screenshot function (eventually)
<SecondaryButton
className={styles.ScreenshotButton}
color="gray"
onClick={takeScreenshot}
>
<Icon className={styles.ScreenshotButtonIcon} type="screenshot" />
</SecondaryButton>
*/}
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I decided to cut scope for this feature. I don't think it's worth doing now (if at all) and we can follow up on Linear.

@replay-delta
Copy link

replay-delta bot commented Sep 12, 2023

@bvaughn bvaughn merged commit ce7ea07 into main Sep 12, 2023
34 of 35 checks passed
@bvaughn bvaughn deleted the FE-1894 branch September 12, 2023 13:00
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