mitodl / ocw-hugo-themes

A Hugo theme for building OCW websites
BSD 3-Clause "New" or "Revised" License
5 stars 4 forks source link

Contact Us page #340

Closed pdpinch closed 2 years ago

pdpinch commented 2 years ago

As a user, I'd like a way to contact the OCW team for questions that aren't covered in the Help & FAQ section (ZenDesk Help Center)

As a OCW team member, I'd like to discourage repetitive questions over email.

Designs and Mockups

https://projects.invisionapp.com/d/main?origin=v7#/console/21537330/462875131/comments?scrollOffset=901.5

Acceptance Criteria:

Out of Scope

MAbdurrehman12 commented 2 years ago

@pdpinch "Use the same form back-end service": By this, initially I thought that we have to use wufoo API for form submission only and I created a custom form with google captcha from scratch but then I found out, from the code snippet you provided, that form will also be rendered by wufoo. However, I have a few things in mind regarding the wufoo form:

1- In order to customize the form, i.e: changing input fields name, sizes, error, success messages, I believe I will need access to https://mitocw.wufoo.com/ in order to make changes to the form but I'm not sure as I haven't worked with wufoo, though I had a quick look into its documentation.

2- Wufoo form takes a few seconds to render so an empty space is shown till then. (This is also there in the legacy site), I think we can improve this somehow.

3- Wufoo API also takes some time to give response, and in the meantime, we don't have any particular loader etc, maybe this can also be handled by form customization.

Do you have any thoughts on this?

MAbdurrehman12 commented 2 years ago

@pdpinch I was also thinking of form submissions consistency among contact page and newsletter page, as both pages have different 3rd parties so, for now, their error handling and form submission is different from each other. Personally I liked mailchimp more as it has more flexibility for customization.

Do you have any thoughts on this too?

pdpinch commented 2 years ago

Thanks. I'll see about getting access to the service.

pdpinch commented 2 years ago

The contact form needs to forward the email to another inbox where it’s processed and stored in a database (not managed by our team).

I don’t know if mailchimp can do simple forwarding like that, but I guess it’s worth some investigation.

MAbdurrehman12 commented 2 years ago

The contact form needs to forward the email to another inbox where it’s processed and stored in a database (not managed by our team). I don’t know if mailchimp can do simple forwarding like that, but I guess it’s worth some investigation.

I believe Mailchimp can also be integrated here and it can forward the contact form data to another email (to your admin or support team), but not sure what you meant by "stored in database"?

pdpinch commented 2 years ago

I sent you an invite to wufoo forms, so you can edit the form. Or, even better, create a new form, since this is already in use on ocw.mit.edu.

I looked around mailchimp a bit, but couldn't figure out 1) how to invite you to the account or 2) how to forward the form results to a single email address.

pdpinch commented 2 years ago

After doing some more testing, it seems like everything is functional, it just doesn't look great.

I think we should merge this as is, and come back to it later to improve the styling, so we can focus on more important MVP features.

MAbdurrehman12 commented 2 years ago

After doing some more testing, it seems like everything is functional, it just doesn't look great.

I think we should merge this as is, and come back to it later to improve the styling, so we can focus on more important MVP features.

Okay, sure. Have you reviewed the code too? If not then I guess we can get the code reviewed and merge it!

pdpinch commented 2 years ago

I have not reviewed it. @Wassaf-Shahzad can you review?