+
+
+));
+
+ContactUs.propTypes = {
+ intl: intlShape
+};
+
+render(, document.getElementById('app'));
diff --git a/src/views/contact-us/l10n.json b/src/views/contact-us/l10n.json
new file mode 100644
index 00000000000..00a9c37b673
--- /dev/null
+++ b/src/views/contact-us/l10n.json
@@ -0,0 +1,16 @@
+{
+ "contactUs.title":"Contact Us",
+ "contactUs.intro":"You can find answers to most questions about Scratch on our {faqLink} page.",
+ "contactUs.faqLinkText":"Frequently Asked Questions",
+ "contactUs.forumsInfo":"You can also look through the Scratch {forumsLink}.",
+ "contactUs.forumsLinkText":"Discussion forums",
+ "contactUs.forumsAsk":"If you can't find an answer, post a new topic on the {forumsLink} (see links below). There are many experienced Scratchers who can help with the topics below and more:",
+ "contactUs.questionsForum":"Questions About Scratch",
+ "contactUs.scriptsForum":"Help with Scripts",
+ "contactUs.bugsForum":"Bugs and Glitches",
+ "contactUs.formIntro":"If you still need to contact us, please fill out the form below with as much detail as you can. If you have any screenshots, attachments or links that help to explain your problem, please include them. We get a lot of mail, so we may not be able to respond to your message.",
+ "contactUs.feedbackForm":"Feedback Form",
+ "contactUs.findHelp":"Where to find help:",
+ "contactUs.knowledgeBase":"Knowledge Base",
+ "contactUs.contactScratch":"Contact the Scratch Team"
+}
From 3dc5155c381e14ed100381988f691d167bb531db Mon Sep 17 00:00:00 2001
From: Chris Garrity
Date: Tue, 3 Mar 2020 10:10:20 -0500
Subject: [PATCH 2/5] Revised wording
---
src/views/contact-us/contact-us.jsx | 34 ++++++++++++++++-------------
src/views/contact-us/l10n.json | 15 +++++++------
2 files changed, 27 insertions(+), 22 deletions(-)
diff --git a/src/views/contact-us/contact-us.jsx b/src/views/contact-us/contact-us.jsx
index 0f55db87c1b..5024050a177 100644
--- a/src/views/contact-us/contact-us.jsx
+++ b/src/views/contact-us/contact-us.jsx
@@ -21,22 +21,26 @@ const ContactUs = injectIntl(props => (
)}}
/>
-
- )}}
- />
-
- )}}
- />
+
-
-
-
+
+ )}}
+ />
+
+ )}}
+ />
+
+ )}}
+ />
diff --git a/src/views/contact-us/l10n.json b/src/views/contact-us/l10n.json
index 00a9c37b673..8b54932ea67 100644
--- a/src/views/contact-us/l10n.json
+++ b/src/views/contact-us/l10n.json
@@ -2,14 +2,15 @@
"contactUs.title":"Contact Us",
"contactUs.intro":"You can find answers to most questions about Scratch on our {faqLink} page.",
"contactUs.faqLinkText":"Frequently Asked Questions",
- "contactUs.forumsInfo":"You can also look through the Scratch {forumsLink}.",
- "contactUs.forumsLinkText":"Discussion forums",
- "contactUs.forumsAsk":"If you can't find an answer, post a new topic on the {forumsLink} (see links below). There are many experienced Scratchers who can help with the topics below and more:",
- "contactUs.questionsForum":"Questions About Scratch",
- "contactUs.scriptsForum":"Help with Scripts",
- "contactUs.bugsForum":"Bugs and Glitches",
+ "contactUs.forumsInfo":"If you cannot find an answer in the FAQ, there are many experienced Scratchers in the Discussion Forums who are happy to help.",
+ "contactUs.forumsLinkText":"Discussion Forums",
+ "contactUs.questionsForum":"You can ask general questions about how to do stuff in the {questionsLink} forum.",
+ "contactUs.questionsLinkText":"Questions About Scratch",
+ "contactUs.scriptsForum":"If you need help with a specific project, try posting in the {scriptsLink} forum.",
+ "contactUs.scriptsLinkText":"Help with Scripts",
+ "contactUs.bugsForum":"If you want to report a bug in Scratch, check the {bugsLink} forum. It's the best place to report bugs and see if others are experiencing similar difficulties.",
+ "contactUs.bugsLinkText":"Bugs and Glitches",
"contactUs.formIntro":"If you still need to contact us, please fill out the form below with as much detail as you can. If you have any screenshots, attachments or links that help to explain your problem, please include them. We get a lot of mail, so we may not be able to respond to your message.",
- "contactUs.feedbackForm":"Feedback Form",
"contactUs.findHelp":"Where to find help:",
"contactUs.knowledgeBase":"Knowledge Base",
"contactUs.contactScratch":"Contact the Scratch Team"
From f0bcd9f574d628a9daeebc101736ab6468374332 Mon Sep 17 00:00:00 2001
From: Chris Garrity
Date: Tue, 3 Mar 2020 11:17:07 -0500
Subject: [PATCH 3/5] Remove the nav section and make the form full width
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Decided that there is no need for the Nav sidebar since we don’t want the link to the Discussions right now. It could come back if we add the knowledge base.
---
src/views/contact-us/contact-us.jsx | 10 +---------
src/views/contact-us/l10n.json | 2 --
2 files changed, 1 insertion(+), 11 deletions(-)
diff --git a/src/views/contact-us/contact-us.jsx b/src/views/contact-us/contact-us.jsx
index 5024050a177..39283c6d408 100644
--- a/src/views/contact-us/contact-us.jsx
+++ b/src/views/contact-us/contact-us.jsx
@@ -43,17 +43,9 @@ const ContactUs = injectIntl(props => (
/>
-
-
-
+
));
diff --git a/src/views/contact-us/l10n.json b/src/views/contact-us/l10n.json
index 8b54932ea67..735955a3c31 100644
--- a/src/views/contact-us/l10n.json
+++ b/src/views/contact-us/l10n.json
@@ -11,7 +11,5 @@
"contactUs.bugsForum":"If you want to report a bug in Scratch, check the {bugsLink} forum. It's the best place to report bugs and see if others are experiencing similar difficulties.",
"contactUs.bugsLinkText":"Bugs and Glitches",
"contactUs.formIntro":"If you still need to contact us, please fill out the form below with as much detail as you can. If you have any screenshots, attachments or links that help to explain your problem, please include them. We get a lot of mail, so we may not be able to respond to your message.",
- "contactUs.findHelp":"Where to find help:",
- "contactUs.knowledgeBase":"Knowledge Base",
"contactUs.contactScratch":"Contact the Scratch Team"
}
From ee09ba59a481567c60b34c72058af1576c0b6d00 Mon Sep 17 00:00:00 2001
From: Chris Garrity
Date: Thu, 5 Mar 2020 08:45:33 -0500
Subject: [PATCH 4/5] Add handling for parameters passed in the query from
scratchr2
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Scratchr2 has links to contact us from the report (profile|studio) dialogs. Looking at the scratchr2 source, there’s also one for confirmations, so this change handles the additional details in the same way - in the subject and description. In the future we could consider pre-filling specific form fields that we define.
---
src/components/helpform/helpform.jsx | 8 +++++++-
src/views/contact-us/contact-us.jsx | 21 ++++++++++++++++++++-
2 files changed, 27 insertions(+), 2 deletions(-)
diff --git a/src/components/helpform/helpform.jsx b/src/components/helpform/helpform.jsx
index 3f5deb79e07..1cf44a38fa2 100644
--- a/src/components/helpform/helpform.jsx
+++ b/src/components/helpform/helpform.jsx
@@ -9,6 +9,8 @@ const HelpForm = props => {
const username = `helpdesk_ticket[custom_field][cf_scratch_name_40167]=${props.user.username || ''}`;
const agentText = encodeURI(window.navigator.userAgent.replace(';', ' -'));
const browser = `helpdesk_ticket[custom_field][cf_browser_40167]=${agentText}`;
+ const formSubject = `helpdesk_ticket[subject]=${props.subject}`;
+ const formDescription = `helpdesk_ticket[description]=${props.body}`;
return (