-
-
Notifications
You must be signed in to change notification settings - Fork 40
Fix feedback form #710
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
Open
AnilKumar3494
wants to merge
5
commits into
develop
Choose a base branch
from
fix-feedback-form
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Fix feedback form #710
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
a3d1263
make feedback from custom and API insert to supbase
AnilKumar3494 5e4eb3d
fix error states
AnilKumar3494 a0d13e8
Merge branch 'develop' into fix-feedback-form
AnilKumar3494 eea5bad
add: zod, schema
AnilKumar3494 74be625
quick fixes,
AnilKumar3494 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,20 @@ | ||
| import type { SVGProps } from 'react'; | ||
|
|
||
| const SvgClearFormIcon = (props: SVGProps<SVGSVGElement>) => ( | ||
| <svg | ||
| xmlns="http://www.w3.org/2000/svg" | ||
| width="0.7em" | ||
| height="0.7em" | ||
| viewBox="0 0 16 16" | ||
| fill="#10b6ff" | ||
| {...props} | ||
| > | ||
| <path | ||
| fillRule="evenodd" | ||
| clipRule="evenodd" | ||
| d="M13.9907 0c.8909 0 1.337.1077 1.337 1.1077L14.6978 1.7071l-.8422.8421c.5654.6073 1.0348 1.301 1.3892 2.0577.558 1.1914.8135 2.502.744 3.8158-.0695 1.3138-.462 2.5902-1.1426 3.7161-.6806 1.1258-1.6284 2.0665-2.7594 2.7385-1.131.6721-2.4103 1.0549-3.7245 1.1145-1.3143.0596-2.623-.2059-3.8101-.7729-1.1872-.5669-2.2162-1.418-2.9959-2.4776C.7766 11.6816.2703 10.446.0822 9.1439c-.079-.5466.3001-1.0537.8467-1.1327s1.0538.3001 1.1327.8467c.1411.9766.5209 1.9033 1.1057 2.6981.5848.7947 1.3565 1.433 2.2469 1.8582.8904.4252 1.8719.6243 2.8576.5797.9857-.0447 1.9452-.3318 2.7934-.8359.8482-.5041 1.5591-1.2095 2.0695-2.0539.5105-.8444.8049-1.8017.857-2.787.0521-.9853-.1395-1.9683-.558-2.8619-.2556-.5457-.591-1.0478-.9934-1.4906l-.7331.7332c-.63 1.263-1.7071.8168-1.7071-.0741V0h3.9907zM1.5 4c.5523 0 1 .4477 1 1s-.4477 1-1 1-1-.4477-1-1 .4477-1 1-1zm2.25-2.75c.5523 0 1 .4477 1 1s-.4477 1-1 1-1-.4477-1-1 .4477-1 1-1zm3.25-1.25c.5523 0 1 .4477 1 1s-.4477 1-1 1-1-.4477-1-1 .4477-1 1-1z" | ||
| /> | ||
| </svg> | ||
| ); | ||
|
|
||
| export default SvgClearFormIcon; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,27 +1,35 @@ | ||
| import type { SVGProps } from 'react'; | ||
|
|
||
| const SvgJoinDataIcon = (props: SVGProps<SVGSVGElement>) => ( | ||
| <svg | ||
| xmlns="http://www.w3.org/2000/svg" | ||
| width="1em" | ||
| height="1em" | ||
| viewBox="0 0 256 256" | ||
| fill="none" | ||
| viewBox="0 0 30 31" | ||
| {...props} | ||
| > | ||
| <path | ||
| stroke="#2D3848" | ||
| <g | ||
| stroke="#000" | ||
| strokeWidth={12} | ||
| strokeLinecap="round" | ||
| strokeLinejoin="round" | ||
| strokeWidth={1.622} | ||
| d="m22.047 4.288 4.174 4.175L7.517 27.167a.22.22 0 0 1-.321 0l-3.853-3.853a.22.22 0 0 1 0-.321zM27.424 2.158l.928.929a2.31 2.31 0 0 1 0 3.257l-2.121 2.121-4.174-4.174 2.121-2.122a2.31 2.31 0 0 1 3.257 0zM9.635 14.102l-7.93-7.93 4.93-4.93 7.395 7.395-2.027 2.01M18.864 19.26l2.886-2.887 7.38 7.363-4.93 4.93-7.931-7.93M7.121 5.766l2.011-2.011M8.679 9.058l2.887-2.886M22.122 20.768l2.011-2.027M23.858 24.24l2.887-2.888" | ||
| /> | ||
| <path | ||
| stroke="#2D3848" | ||
| strokeLinecap="round" | ||
| strokeLinejoin="round" | ||
| strokeWidth={1.622} | ||
| d="m7.43 27.32-6.261 2.027 2.011-6.212" | ||
| /> | ||
| > | ||
| <path | ||
| fill="#000" | ||
| fillRule="evenodd" | ||
| d="M239.985 55.994c0 22.089-50.138 39.994-111.985 39.994S16.015 78.083 16.015 55.994 66.153 16 128 16s111.985 17.905 111.985 39.994z" | ||
| /> | ||
|
|
||
| <path d="M239.985 103.987c-13.998 21.648-55.992 34.637-111.985 34.637s-97.987-12.989-111.985-34.637" /> | ||
|
|
||
| <path d="M239.985 151.981c-13.998 21.647-55.992 34.636-111.985 34.636s-97.987-12.989-111.985-34.636" /> | ||
|
|
||
| <path d="M239.985 199.974c-13.998 21.648-55.992 34.637-111.985 34.637s-97.987-12.989-111.985-34.637" /> | ||
|
|
||
| <path d="M16.015 55.994v143.98M239.985 55.994v143.98" /> | ||
| </g> | ||
| </svg> | ||
| ); | ||
|
|
||
| export default SvgJoinDataIcon; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| import * as z from 'zod'; | ||
|
|
||
| const feedbackFormSchema = z.object({ | ||
| name: z.string().min(1, 'Name is required'), | ||
| email: z.string().min(1, 'Email is required').email('Invalid email'), | ||
| feedback: z.string().optional(), | ||
| interest: z.boolean() | ||
| }); | ||
|
|
||
| export type FeedbackFormValues = z.infer<typeof feedbackFormSchema>; | ||
| export default feedbackFormSchema; |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.