-
Notifications
You must be signed in to change notification settings - Fork 147
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #400 from appwrite/refactor-feedback
refactor: feedback dropdown and wizard
- Loading branch information
Showing
18 changed files
with
609 additions
and
209 deletions.
There are no files selected for viewing
File renamed without changes.
This file contains 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 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,19 @@ | ||
<script lang="ts"> | ||
import { FormList, InputTextarea, InputText, InputEmail } from '$lib/elements/forms'; | ||
import { feedbackData } from '$lib/stores/feedback'; | ||
</script> | ||
|
||
<FormList> | ||
<InputText label="Name" id="name" bind:value={$feedbackData.name} placeholder="Enter name" /> | ||
<InputEmail | ||
label="Email" | ||
id="email" | ||
bind:value={$feedbackData.email} | ||
placeholder="Enter email" /> | ||
<InputTextarea | ||
id="feedback" | ||
placeholder="Your message here" | ||
label="Message" | ||
required | ||
bind:value={$feedbackData.message} /> | ||
</FormList> |
This file contains 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,30 @@ | ||
<script lang="ts"> | ||
import { FormList, InputTextarea, InputText, InputEmail } from '$lib/elements/forms'; | ||
import { feedbackData } from '$lib/stores/feedback'; | ||
import Evaluation from './evaluation.svelte'; | ||
</script> | ||
|
||
<Evaluation bind:value={$feedbackData.value}> | ||
How likely are you to recommend Appwrite to a friend or colleague? | ||
</Evaluation> | ||
{#if $feedbackData.value} | ||
<FormList> | ||
<InputTextarea | ||
id="feedback" | ||
placeholder="Your message here" | ||
label="Message" | ||
required | ||
bind:value={$feedbackData.message} | ||
showLabel={false} /> | ||
<InputText | ||
label="Name" | ||
id="name" | ||
bind:value={$feedbackData.name} | ||
placeholder="Enter name" /> | ||
<InputEmail | ||
label="Email" | ||
id="email" | ||
bind:value={$feedbackData.email} | ||
placeholder="Enter email" /> | ||
</FormList> | ||
{/if} |
This file contains 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,3 @@ | ||
export { default as Feedback } from './feedback.svelte'; | ||
export { default as FeedbackGeneral } from './feedbackGeneral.svelte'; | ||
export { default as FeedbackNPS } from './feedbackNPS.svelte'; |
This file was deleted.
Oops, something went wrong.
This file contains 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
Oops, something went wrong.
b84f32b
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.
Successfully deployed to the following URLs:
console-cloud – ./
console-cloud-git-main-appwrite.vercel.app
console-cloud.vercel.app
console-cloud-appwrite.vercel.app
b84f32b
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.
Successfully deployed to the following URLs:
console – ./
console-appwrite.vercel.app
console-git-main-appwrite.vercel.app
demo.appwriters.com
svelte-console.vercel.app
brand-new-console.torsten.appwrite.org