diff --git a/src/routes/(console)/supportWizard.svelte b/src/routes/(console)/supportWizard.svelte index 23c1b4de7c..d3e4d7c0bf 100644 --- a/src/routes/(console)/supportWizard.svelte +++ b/src/routes/(console)/supportWizard.svelte @@ -4,7 +4,6 @@ Icon, Input, Layout, - Popover, Tag, Typography, Card, @@ -15,7 +14,6 @@ import { sdk } from '$lib/stores/sdk'; import { Form, - InputSelect, InputText, InputTextarea, Button @@ -33,7 +31,7 @@ import { user } from '$lib/stores/user'; import { wizard } from '$lib/stores/wizard'; import { VARS } from '$lib/system'; - import { IconCheckCircle, IconXCircle, IconInfo } from '@appwrite.io/pink-icons-svelte'; + import { IconCheckCircle, IconXCircle } from '@appwrite.io/pink-icons-svelte'; import { removeFile } from '$lib/helpers/files'; let projectOptions = $state>([]); @@ -79,15 +77,6 @@ ] }; - // Severity options - const severityOptions = [ - { value: 'critical', label: 'Critical' }, - { value: 'high', label: 'High' }, - { value: 'medium', label: 'Medium' }, - { value: 'low', label: 'Low' }, - { value: 'question', label: 'Question' } - ]; - onMount(async () => { // Filter projects by organization ID using server-side queries const projectList = await sdk.forConsole.projects.list({ @@ -108,7 +97,6 @@ subject: null, category: 'technical', topic: undefined, - severity: 'question', file: null }; }); @@ -142,7 +130,6 @@ category: $supportData.category, orgId: $organization?.$id ?? '', projectId: $supportData?.project ?? '', - severity: $supportData?.severity ?? '', billingPlan: $organization?.billingPlanId ?? '' }) ); @@ -179,7 +166,6 @@ subject: null, category: 'technical', topic: undefined, - severity: undefined, file: null, project: null }; @@ -209,35 +195,6 @@ ); -{#snippet severityPopover()} - - -
- - - Critical: System is down or a critical component is non-functional, causing - a complete stoppage of work or significant business impact. - - - High: Major functionality is impaired, but a workaround is available, or a - critical component is significantly degraded. - - - Medium: Minor functionality is impaired without significant business impact. - - - Low: Issue has minor impact on business operations; workaround is not necessary. - - - Question: Requests for information, general guidance, or feature requests. - - -
-
-{/snippet} -
@@ -279,17 +236,6 @@ options={projectOptions ?? []} bind:value={$supportData.project} placeholder="Select project" /> - -
- {@render severityPopover()} -
-
({ message: '', subject: '', category: 'technical', - severity: 'question', file: null });