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

Decide what happens at the end of using the tag generator. #746

Closed
4 tasks
DrIffathsultana opened this issue Jul 28, 2021 · 13 comments
Closed
4 tasks

Decide what happens at the end of using the tag generator. #746

DrIffathsultana opened this issue Jul 28, 2021 · 13 comments
Assignees
Labels
Priority: High High Priority issues are critical and have to be fixed with immediate effect role: back end role: front end role: UI/UX size: missing

Comments

@DrIffathsultana
Copy link
Contributor

DrIffathsultana commented Jul 28, 2021

Overview

What is the functionality of the button - a user clicks the button 'Added to Civic Tech Index' at the end of using the tag generator

Action Items

  • Change the button to say
    I added my project to Civic Tech Index/Add my logo to your homepage.

  • What clicking the button will do:

  1. Record the URL string to a database
  2. Send them to the form for uploading their logo( we need to create a google form for uploading logo)
  • Backend will write the endpoint -- to check if a specific tag exists in a GitHub Projects
    Track Activities: Generated Suggested Tags (Yes or No)
    If yes or no, go to GitHub and tag your project
  1. Add to the GItHub- If no, we have a record of the session of the suggested tags and project.
  • The front end will make the button hit the endpoint with the URL and send the user to the new google form to upload a logo

EX:
http://civictechindex.org/join-index?changeValue=CopyPasteTags&displayState=CopyPasteTags&orgName=&repositoryName=guides&repositoryUrl=https%3A%2F%2Fgithub.com%2Fhackforla%2Fguides&tagsToAdd=civictechindex&tagsToAdd=structure&tagsToAdd=diiivic&topicSearchError=&userTags=structure&userTags=diiivic&value=no

Resources/Instructions

Screen Shot 2021-07-28 at 2 42 25 PM

@mariastudnicka
Copy link

mariastudnicka commented Aug 3, 2021

@nagas018-ken See form as https://docs.google.com/forms/d/1i4CPsCe7NgGmr9GxO5t0sDZo-jO0o0OLscl9RMwHmSY/edit

The only field needed is upload logo. Form name: "Upload your Logo : >"

@mariastudnicka
Copy link

@emecas Can we detect when an admin has tagged a repo from CTI?

@emecas
Copy link
Member

emecas commented Aug 3, 2021

@emecas Can we detect when an admin has tagged a repo from CTI?

@mariastudnicka I am not sure what you mean. Can you elaborate a little better the use case, thanks

I am not sure an admin of what?

  1. an admin of a particular GitHub Repository?
  2. an admin of CTI project?

@DrIffathsultana DrIffathsultana added the Priority: High High Priority issues are critical and have to be fixed with immediate effect label Aug 6, 2021
@mariastudnicka
Copy link

mariastudnicka commented Aug 6, 2021

@emecas We're trying to understand if it's either any one with privileges at GitHub to make a change to a tag. Is there a way for us to be aware of that change?

@mariastudnicka
Copy link

mariastudnicka commented Aug 6, 2021

@emecas will check if a endpoint exists in GitHub. Verify if task is done. He will reach out to CNK for support.

Post MVP: if user abandons process, we will create a means to contact to complete the tagging in CTI and GitHub or Force the user to complete the entire process. TBD.

@nagas018-ken
Copy link

nagas018-ken commented Aug 9, 2021

Screen Shot 2021-08-10 at 7 55 39 AM

I need to be outside during the meeting today. Here is the update for the issue. It's in 🟨 2.0 🕰️ Tag Generator - Finalized Flow - CP & BW - 2.25.21 in figma.
@emecas you can reference to embed a google form. https://paperform.co/blog/embed-google-form/

@mariastudnicka
Copy link

@cnk and @emecas to coordinate --
We're currently not tagging activity in our database.

  1. Track the URL activity of the repo the user selects
  2. Using the URL of repo the user selects, a script needs to be created to check GitHub API for tagging that was created in the CTI.

@mariastudnicka
Copy link

mariastudnicka commented Aug 10, 2021

Thanks @nagas018-ken!
Could you you at change behavior on click “I submitted my project” Create a version of “I voted,” but instead says "I submitted my project to the Civic Tech Index" Please reach out to me if you have any questions.

@emecas
Copy link
Member

emecas commented Aug 10, 2021

@mariastudnicka @nagas018-ken @DrIffathsultana

This is the documentation for the API call to get the tags (topics) for any repository, https://docs.github.com/en/rest/reference/repos#get-all-repository-topics

Sample for this repo: civictechindex/CTI-website-frontend

URL: https://api.github.com/repos/civictechindex/CTI-website-frontend/topics
Method: GET
Header (required) :  Accept: application/vnd.github.mercy-preview+json
Response:
{
  "names": [
    "civictechindex",
    "hack-for-la",
    "code-for-america",
    "code-for-all",
    "civic-tech",
    "open-source",
    "opensource"
  ]
}

Screenshot

image

@ExperimentsInHonesty
Copy link
Member

ExperimentsInHonesty commented Aug 11, 2021

Bonnie and Iffath review of the tag generator on the hackforla/internship project
meeting_saved_closed_caption.txt
Video recording will be uploaded here: https://drive.google.com/drive/folders/10I70ck4p_-B-rvULFs6kThVy-_pq1gID

@mariastudnicka
Copy link

mariastudnicka commented Aug 17, 2021

@chalimar Create new screen grabs to be more legible.

@mariastudnicka
Copy link

@nrrao Please add text ("separate with spaces") for directions for submitting tags.

@chalimar
Copy link
Member

@chalimar Create new screen grabs to be more legible.

Instruction images can be found here.

@ladissi ladissi closed this as completed Aug 24, 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
@github-project-automation github-project-automation bot moved this from New Issue Approval (All new issues should be added to this column) to Done 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
Priority: High High Priority issues are critical and have to be fixed with immediate effect role: back end role: front end role: UI/UX size: missing
Projects
Development

No branches or pull requests

8 participants