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 forms plugin to issue report component #2302

Merged
merged 10 commits into from
Jan 21, 2025
67 changes: 67 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@
"@atlaskit/pragmatic-drag-and-drop": "^1.3.1",
"@comfyorg/comfyui-electron-types": "^0.4.11",
"@comfyorg/litegraph": "^0.8.60",
"@primevue/forms": "^4.2.5",
"@primevue/themes": "^4.0.5",
"@sentry/vue": "^8.48.0",
"@tiptap/core": "^2.10.4",
Expand Down
40 changes: 0 additions & 40 deletions src/components/common/CheckboxGroup.vue

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -90,10 +90,10 @@ const stackTraceField = computed<ReportField>(() => {
label: t('issueReport.stackTrace'),
value: 'StackTrace',
optIn: true,
data: {
getData: () => ({
nodeType: props.error.node_type,
stackTrace: props.error.traceback?.join('\n')
}
})
}
})

Expand Down
7 changes: 3 additions & 4 deletions src/components/dialog/content/IssueReportDialogContent.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
}"
>
<template #header>
<header class="flex flex-col items-center">
<header class="flex flex-col items-center w-full">
<h2 id="issue-report-title" class="text-4xl">{{ title }}</h2>
<span v-if="subtitle" class="text-muted mt-2">{{ subtitle }}</span>
<span v-if="subtitle" class="text-muted mt-0">{{ subtitle }}</span>
</header>
</template>
<ReportIssuePanel v-bind="panelProps" :pt="{ root: 'border-none' }" />
Expand All @@ -20,10 +20,9 @@
<script setup lang="ts">
import Panel from 'primevue/panel'

import ReportIssuePanel from '@/components/dialog/content/error/ReportIssuePanel.vue'
import type { IssueReportPanelProps } from '@/types/issueReportTypes'

import ReportIssuePanel from './error/ReportIssuePanel.vue'

defineProps<{
title: string
subtitle?: string
Expand Down
Loading
Loading