Commit graph

8 commits

Author SHA1 Message Date
Christopher Willis-Ford
170256c20f style: fix no-prototype-builtins violations 2024-02-26 13:35:15 -08:00
Andy O'Neill
d5bbb96a52 feat: upgrade react-intl 2023-02-21 15:36:27 -05:00
Chris Garrity
d538d5d053 Localize the widget
Note that some of the Freshdesk locales don’t match the ones used by Scratch.
2020-05-01 12:09:19 -04:00
Chris Garrity
2650c44407 hide inappropriate link field
disable and hide functions expect argument to be an array.
2020-05-01 09:23:35 -04:00
Chris Garrity
3111b72117 Move profile or studio link out of description
Prefill a new custom field for the inappropriate link instead of prefilling description.
In the popup make the link field hidden and disabled so that users don’t change it.
2020-05-01 09:23:35 -04:00
Chris Garrity
3f5d34d05f delay loading freshdesk script
Question: should script still have `async defer`
2020-05-01 09:23:35 -04:00
chrisgarrity
21cc1a9780
Update src/components/helpwidget/helpwidget.jsx
initialize widget settings on `window` before adding the script

Co-Authored-By: Ray Schamp <rschamp@users.noreply.github.com>
2020-04-14 15:32:57 -04:00
Chris Garrity
7d9e6ea8b7 Add pop up Help widget
Initial version of contact us with the pop up Freshdesk help widget.
* adding feature flag `?CONTACT_US_POPUP=true` to the URL allows to switch between current contact-us with form, and new contact-us with popup widget.
* new copy for the contact us page (selected based on feature flag)
* handles scratchr2 redirects by pre-opening the popup on the contact us form and handles multiple parameters
2020-04-10 12:16:44 -04:00