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

Connect 'Contact Us' page using API #604

Closed
maxskewes opened this issue May 22, 2021 · 13 comments · May be fixed by civictechindex/CTI-website-backend#74
Closed

Connect 'Contact Us' page using API #604

maxskewes opened this issue May 22, 2021 · 13 comments · May be fixed by civictechindex/CTI-website-backend#74
Assignees
Labels
p-feature: contact us Everything to do with a contact page question Further information is requested role: back end role: front end size: missing

Comments

@maxskewes
Copy link
Member

maxskewes commented May 22, 2021

Overview

Connect the form on Contact Us page using Google API

Action Items

Using the Google API, connect the form

Resources/Instructions

http://civictechindex.org/about/contact
https://docs.google.com/forms/d/1y4l9vlQuKnoq6Asd4LOpvdBtvHeFXLUrqNoCH_5Aw1s/edit
Figma
Google form API
Our current google form
Civic Tech Index - Communicate With Us
Civic Tech Index - Communicate With Us (Responses)

@maxskewes maxskewes added question Further information is requested role: back end Contact us Issues created from contact form labels May 22, 2021
@BoyanLiuu BoyanLiuu self-assigned this May 22, 2021
@BoyanLiuu BoyanLiuu removed their assignment May 23, 2021
@kevinashworth kevinashworth self-assigned this Jun 6, 2021
@maxskewes maxskewes self-assigned this Jul 3, 2021
@kevinashworth kevinashworth removed their assignment Jul 4, 2021
@DrIffathsultana
Copy link
Contributor

DrIffathsultana commented Jul 10, 2021

@maxskewes is working on Contact Us page. He is trying to connect the form using Google API.
@emecas -Please guide max

  • Do we have an API for the Contact Us page in the backend.
  • If not, do we need to create one.

@DrIffathsultana
Copy link
Contributor

@maxskewes
I have attached the google drive location of the Form and response sheet for reference below:

@emecas
Copy link
Member

emecas commented Jul 13, 2021

@emecas -Please guide max

@maxskewes @DrIffathsultana It seem Google Forms and responses is self-contained, I don't think we need backend functionality here, anyways please let me know how can I help if you think anything else could be required

@maxskewes
Copy link
Member Author

Issues arose with using Google docs as a rest API. Emerson is creating a new spreadsheet and will give me the info. Everything is ready to connect the API using axios.

@emecas
Copy link
Member

emecas commented Jul 15, 2021

Progresses: I am still working in the new API.
Block: some local issues with db container.
Next: I will add a PR with the changes once it is completed, verified, and local problem is fixed.

@maxskewes
Copy link
Member Author

Will communicate with Emerson when he is finished. Also meeting with Akib this weekend for additional clarification.

@maxskewes
Copy link
Member Author

We are waiting for progress on Emerson's API; if the issues remain unresolved we will consider other API options.

@DrIffathsultana
Copy link
Contributor

@emecas Any updates regarding the new API.

@maxskewes
Copy link
Member Author

maxskewes commented Jul 23, 2021

July 22nd - we are waiting on an API. @emecas could you pls update?

@emecas
Copy link
Member

emecas commented Jul 27, 2021

July 22nd - we are waiting on an API. @emecas could you pls update?

@maxskewes @DrIffathsultana I just added a PR adding the required API: civictechindex/CTI-website-backend#74

I am still having issues running the migration maybe @cnk could help me to unblock that part.

@DrIffathsultana
Copy link
Contributor

DrIffathsultana commented Jul 28, 2021

This code will replace the form that is currently appearing on the the contact us page. It cannot not contain a way to upload your logo, we will do that via another method.

Here is a link to the instructions for how we got the imbedded code from the form

Here is our form: HTML for contact form

<iframe src="https://docs.google.com/forms/d/e/1FAIpQLSeTVA3JJdzS1Hftq5CmpGVYcn60KRXqu2ajM85NgF2vxEgghg/viewform?embedded=true" width="640" height="1179" frameborder="0" marginheight="0" marginwidth="0">Loading…</iframe>

@ExperimentsInHonesty
Copy link
Member

ExperimentsInHonesty commented Jul 28, 2021

The uploading of logos should be done via google form. And you cannot imbed those forms via iframe. So the quick solution for launch is to just have a link that appears directing people to the form where they can upload their image. A decision should be made about when we are directing people to this form, so we know what specific information it should collect.

People being directed to form to add logo from the following location (if you think of any other start point, please add):

  • when they are finished using the tag generator
  • if they have added the tags manually without using tag generator

@mariastudnicka
Copy link

@cnk would you be able to support emerson re: his comment "I am still having issues running the migration maybe @cnk could help me to unblock that part."

@ExperimentsInHonesty ExperimentsInHonesty added p-feature: contact us Everything to do with a contact page size: missing and removed Contact us Issues created from contact form feature: missing labels Aug 16, 2021
@github-project-automation github-project-automation bot moved this to New Issue Approval (All new issues should be added to this column) in CTI: Project Board Aug 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
p-feature: contact us Everything to do with a contact page question Further information is requested role: back end role: front end size: missing
Projects
Status: New Issue Approval (All new issues should be added to this column)
Development

Successfully merging a pull request may close this issue.

7 participants