From 3b1bd31f94337eb6f197081a6ed156eb5862fe42 Mon Sep 17 00:00:00 2001 From: hujambo-dunia Date: Mon, 13 Jan 2025 09:49:37 -0500 Subject: [PATCH] This change is a refactoring of the email web-form on the Dataset Error Page (for job-submissions) for separation between front/back-end code, easier development QA for reports/system emails, and component reusability. --- .../Collections/common/UserReportingError.vue | 98 +++++++++++++++++++ .../DatasetInformation/DatasetError.vue | 72 +------------- .../templates/mail/error-report-dataset.html | 93 ++++++++++++++++++ .../templates/mail/error-report-dataset.txt | 44 +++++++++ 4 files changed, 239 insertions(+), 68 deletions(-) create mode 100644 client/src/components/Collections/common/UserReportingError.vue create mode 100644 lib/galaxy/config/templates/mail/error-report-dataset.html create mode 100644 lib/galaxy/config/templates/mail/error-report-dataset.txt diff --git a/client/src/components/Collections/common/UserReportingError.vue b/client/src/components/Collections/common/UserReportingError.vue new file mode 100644 index 000000000000..962aa4b221d5 --- /dev/null +++ b/client/src/components/Collections/common/UserReportingError.vue @@ -0,0 +1,98 @@ + + + diff --git a/client/src/components/DatasetInformation/DatasetError.vue b/client/src/components/DatasetInformation/DatasetError.vue index cbe9f3e40189..3ed858154ade 100644 --- a/client/src/components/DatasetInformation/DatasetError.vue +++ b/client/src/components/DatasetInformation/DatasetError.vue @@ -1,21 +1,18 @@