Comments (49)
@Abhishek-AC yes,I was able to get the topics tags.No need for authentication
from cti-website-frontend.
1.Progress: working on mobile screens of tag generator and need to contact GitHub support team
2.Blockers: none
3.Availability: medium
4.ETA: 1 week
from cti-website-frontend.
Need to discuss with team: Adding a stepper for the wizard for better UX and progress indication.
from cti-website-frontend.
@Gio @emecas - it looks like a ui decision was made that affects the technical working of the tag generator and the user experience to make it less flexible. Let's talk about the motivation for changing it and how we can adress your concerns without changing flexibility of the application.
What is this UI decision?
from cti-website-frontend.
@nrrao will share code with @Abhishek-AC for component hiding.
from cti-website-frontend.
@nrrao shared the code and was able to fix the code for on state change visibility of components.
from cti-website-frontend.
@nrrao
GitHub API to list the existing repository tags. No Authentication Required.
Method-Type GET
URL: https://api.github.com/repos/:owner/:repo/topics
Fetch the owner and repository from the user-entered GitHub URL.
Set the path variable as the following example:
KEY: owner VALUE: civictechindex
KEY: repo VALUE: website
Here is the implementation in Postman Window
Let me know if you face any issues.
from cti-website-frontend.
@chalimar, need clarification when a project is not affiliated to the organization and has tags.
from cti-website-frontend.
- Progress: got api working and figured out returning to add more tags function
- Blocks: none
- Availability: Very
- ETA: automated process will be done by next week.
from cti-website-frontend.
- Progress: was able to add topics to the repository, now need to refactor the components
2.Blocks: none
3.Availability: Medium
4.ETA: need one more week to complete the automated process
from cti-website-frontend.
- Progress: Was able to get access token and generate secret code
- Blocks: After logging in to GitHub, when it gets redirected the react page is not holding the same state.
- Availability: Medium
4 ETA: Need help to move forward
from cti-website-frontend.
@ExperimentsInHonesty will connect to Tyler
from cti-website-frontend.
I also posted this in slack
Nandana please check out: #54 (comment). I still think it might be possible to give a redirect link made up of a link + parameters and have it deliver back the url+ the new argument that is the authorization code.
from cti-website-frontend.
1:Progress: I was able to update topics by sending repo, owner, and topics as query parameters along with redirect URL
2:Blocks: Need to check if it works for org repo with different scopes./permission levels
3:Availability: Medium
4 ETA: 1 week
from cti-website-frontend.
1.Progress: I have opened a Github ticket regarding users with admin and maintain rights not being able to update topics.
Need to make success and manual pages.
2.Blocks: Waiting for GitHub to reply.
3.Availability: medium
4.ETA: About a week
from cti-website-frontend.
First step is Owner must approve 3rd access app for the github org
tags can be added.
@ExperimentsInHonesty denied access to the oath app tag generator
@nrrao is going to try it again, and see if it will queue up a user request for owner to install
if it doesn't work, try modeling travisCI install on sandbox
@Abhishek-AC has setup the oath app on civic tech index
https://github.com/organizations/civictechindex/settings/applications/1308050
from cti-website-frontend.
@ExperimentsInHonesty I have requested for permission for adding topic tags. It will be by the civic tech index.
from cti-website-frontend.
Clicking on the link took me to this page
Clicking on the accept link changes the page's status to
from cti-website-frontend.
When I clicked Login it takes me to the permission request page.
I requested for Organization access and also clicked on Authorize civictechindex.
The user can see the request pending in the settings/applications/Authrized Oauth Apps in the github account
from cti-website-frontend.
@nrrao can you post an update
- Progress
- Blockers
- Availability
- ETA
from cti-website-frontend.
Screenshots of the response I got from GitHub support
I tried using the scope with space the recommended way, still getting the same kind of errors will write to the support team for further suggestions.
from cti-website-frontend.
1.Progress: working on mobile screens of tag generator and need to contact GitHub support team
2.Blockers: none
3.Availability: medium
4.ETA: 1 to 2 weeks
from cti-website-frontend.
@ExperimentsInHonesty As discussed the data we need to keep track is
existing tags, new tags, project name( for social media),URL of the repository, manual/automated process.
We also discussed a separate database for wizard user results.
from cti-website-frontend.
@Abhishek-AC can you get the current version of this branch running in development when you have time? Thanks!
from cti-website-frontend.
I have deployed the taggenerator-nandana branch
Link: https://cti-dev.herokuapp.com/
from cti-website-frontend.
@chalimar
Currently it says:
Do you want to add additional topic tags to increase your project visibility?
It should say
Do you want to add more tags specific to your project's subject area to increase visibility?
from cti-website-frontend.
A few notes in no particular order:
When you are requested to add the Repository URL, we need a better description there and the text box should have a default which suggests what a correctly formatted repository URL looks like.
Errors also need to match whether user has a blank entry here versus whether it was inaccurate
@chalimar please add a visual for this showing a 'chart' for a correctly formatted URL
The flow for the Tag Generator needs to be reflected by parameters in the URL so users can pick back up when they lose the thread. This is a new requirement so I'll outline it here subject to @ExperimentsInHonesty's revisions:
- As the user makes choices, the URL should add parameters which match those choices
- If the user uses the 'back' button it should pull them back one choice
- Copying and pasting a URL with parameters and going directly to that screen should put a user in the correct 'state' (so you can leave the process and come back)
from cti-website-frontend.
@chalimar is currently updating the Figma with the updated versions for the Tag Generator screens.
Please look there to see how this needs to be updated for the MVP, including a new flow which goes directly to a 'Manual Entry' screen at the end.
from cti-website-frontend.
WIP -
Anything on this list that is unchecked in not live yet or needs reworking.
- design
- Yes organization/step 2 (without project repository url field)
- Error state for Project Repository URL
- development
Wizard
Questions and buttons that only show up after each answer is given - Is your project affiliated with an organization? (yes/no)
- Which Organization? (input box with type ahead to our db) - _conditional on above _ & allows you to add a new org if the type ahead does not apply
- Project Repository URL: (input box)
- That does not seem to be a valid repository URL (error state)
- Find Project (button)
- These are your repository’s current topic tags: (lists tags) OR There are currently no topic tags in your project's repository.
- Add tags to increase your project's visibility - conditional on project being found through github api call
- What topic(s), cause(s), or civic issues(s) does your project address? (input bar with + for adding)
- Reset Tags (button) - deletes the tags you have inputted from state
- Reset Form (button) - takes you back to beginning of tag generator
- Generate Tags (button)
- Add these topic tags to your repository: (shows tags with copy paste icon)
- Opps! I need to add another tag (button) - returns you to the state after you inputted your tags but before you hit Generate Tags
- Reset Tags (button) - returns you to state before you hit Generate Tags and removes the tags you have inputted.
- Reset Form (button) - takes you back to beginning of tag generator
- Add these tags to your repo (button)
Tutorial
Once the Generate Tags button has been pushed
Is your organization affiliated with an Organization (yes)
Organization
Project Repository URL:
Add these topic tags to your repository:
[a list of the topic tags you added and the ones we know you need (civictechindex, code-for-all possibly, etc.)]
How to add your tags to your project's repository
We recommend having your project's repository open in another browser for ease of convenience.
- Navigate to your project's repository in another browser to add your generated tags.
- Under your project's repository, click [image of gear] to paste your tags.
- screenshot
- Under "Topics", paste the topic you want to add to your repository.
- screenshot
- Repeat until you have finished adding all of your tags, then Save Changes.
- screenshot
This project is so new, we are celebrating every win!
Let us know when you've added #civictechindex (button)
Add another project
Tag Generator (button) - takes you back to the beginning
Collaborate with us
Learn More (button) - takes you to the Radical Collaboration page
- screenshot
from cti-website-frontend.
This is the library to use when we are ready to have them add tags via the clipboard feature on the tag generator wizard https://webdesign.tutsplus.com/tutorials/copy-to-clipboard-made-easy-with-clipboardjs--cms-25086
from cti-website-frontend.
Discussion to have with design team:
- What happens when an organization is not in our database.
- Need to add drop-down to select project language (post MVP).
from cti-website-frontend.
-
Step#0: Error state:
Tag Generator
page is not available (404 page). -
Step#1: We should show the tag generator page without any radio button being selected.
-
Step#2: User selects radio button
No
.-
Select Organization
drop-down should not appear. - Rest of the steps/cases are same when user selects radio button
Yes
(Step#3 to Step#5).
-
-
Step#2: User selects radio button
Yes
. -
Step#3:
Which organization
drop-down andProject Repository URL
text-box should appear.- Question: Should we show
Select Organization
as default item selected? - What happens if user is affiliated with multiple organizations?
- We should show empty
Project Repository URL
text-box - Need to add: error state if user hits
Find Project
button without selecting organization. - Need to add: error state if user hits
Find Project
button, butProject Repository URL
text-box is empty. - Need to add drop-down to select project language (post MVP).
- Need to add: the project URL user used is incorrect.
- Question: Should we show
-
Step#4: Project was found in GitHub
- Need to add: error state when there is no current topic tag available for the project.
- User should be given option to add tag for the project.
- ‘Generate Tags’ buttons should not appear until at least one tag is added for the project.
- Current topic tags for the projects are shown under
These are your current topic tags
message. - Radio buttons (Yes/No) should not be by default selected for
Do you want to add more tags to your project’s subject area to increase visibility?
message. - If there is at least one existing tag for the project and user selects
No
radio button: onlyReset Form
buttons should appear.-
Reset Form
button takes you back to beginning of tag generator.
-
- User selects
Yes
radio button:What topic(s), cause(s), or civic issues(s) does your project address?
(input bar with + for adding). [No button should appear yet].- After selecting/adding a topic(s)/cause(s) suggested tags should appear under
Add these topic tags to your repository
message. -
Opps! I need to add another tag
,Reset Tags
andReset Tags
buttons should appear.-
Opps! I need to add another tag
button should take user to the state right after user inputted tags but didn't hitGenerate Tags
. Also user should be able to add new tags. -
Reset Tags
button should take the user to state before user hit Generate Tags and removes all the tags user has added. -
Reset Form
button should take the user back to beginning of tag generator. -
Add these tags to your repo
button should take the user summary page.
-
- After selecting/adding a topic(s)/cause(s) suggested tags should appear under
-
Step#5: Summary of all the selected/added info should be shown in this page.
- List of all added tags should be shown here (with copy/paste icon).
- Tutorial of
How add tags to your project's repository
should be shown.
from cti-website-frontend.
-
No
workflow -
Step#1: User selects radio button
No
in questionIs your project affiliated with an organization?
-
Step#2:
Project Repository URL
text-box should appear.- We should show empty
Project Repository URL
textbox - Need to add: error state if user
Project repository URL
is invalid - Need to add: error state if
Project Repository URL
text-box is empty and user clicks onFind Project
button, - Question: Should we add button to
Add organization
in this use case?
- We should show empty
-
Step#3: Project was found in GitHub
- User is given the option to
Add topic tag
,Reset tags
andReset forms
for the project, and every button is enabled -
Generate Tags
button should not be enabled until at least one tag is added for the project. - Step#3.1: Topic tags present in project
- Current topic tags for the projects are shown under "What topic(s) does your project address?” message.
- Step#3.2: Topic tags not present in project
- Need to add: error state when there is no topic tag available for the project.
- User is given the option to
-
Step#4:
Add tags
- Allows the user to enter a tag
- Allows the user to remove a tag by selecting the
x
button - Question: Is there a limit to the maximum number of tags that can be added?
- Need to add: Warning state if maximum tags reached
-
Step#5:
Reset tags
- Resets all the tags and restores to default state
-
Step#6:
Reset forms
- Resets form
- No option is selected in the
Is project affiliated button
radio button
-
Step#7: Click
Generate Tags
- ‘Oops! I need to add another tag’ option appears
- Step#7.1: Click
Oops! I need to add another tag
- Takes user to the edit tag page, where
Add Topic tag
is available
- Takes user to the edit tag page, where
-
Add these tags to your repo
button appears
-
Step#8: Click
Add these tags to your repo
- Message confirming "Tags added to the repository"
-
Tag Generator
home page appears
from cti-website-frontend.
@ExperimentsInHonesty suggested for the entire flow chart
from cti-website-frontend.
Also, we'll add one document for the whole user flow.
from cti-website-frontend.
Accumulated @anirbank91's and my work on the ticket in one document (see my comment above). Will meet @anirbank91 again and create a flow chart for the workflow.
from cti-website-frontend.
Added the Tag generator flowchart.
from cti-website-frontend.
Comments on pdf:
I think the second step should be "Select Organization" instead of "Add Organization".
If user clicks "Find Project" without typing in anything, error message
If user clicks "Find Project" after typing something there are 2 paths, project found and project not found.
If project not found, error message
If project found, retrieve it from Github and there are 2 paths. Project has tags or it doesn't.
There are also 2 paths if the user says that the project is affiliated to an Organization: Either select an existing Organization (from our DB) or if Organization is not listed, add it.
I think that whether there are existing tags or not, it can go to the same step "add tags".
But there is also the addition of the TagGenerator generating some tags automatically (that the user can accept or remove).
It doesn't seem clear what happens after the "Reset Tags" step.
from cti-website-frontend.
@giosce to connect with Thad for Mural account to create team collaborated visual workflow.
Updates expected Thursday.
from cti-website-frontend.
This is the Miro board https://miro.com/app/board/o9J_la6PMkY=/
I think we can use it for more than one feature if useful.
from cti-website-frontend.
Draft of the flowchart is available at https://miro.com/app/board/o9J_la6PMkY=/
from cti-website-frontend.
Reviewed and made adjustments with @captain-nimo.
CTI Tag GEnerator Workflow.pdf
from cti-website-frontend.
From the flowchart we have a couple of questions:
Are some tags of a new project generated by the system (like food-insecurity and food-pantry in the wireframe)?
Can they be removed by the user?
How does the system generate them? Involving the back-end or is it a front-end functionality? By a (sophisticate) parsing of the name of the project or for example reading something out of github? Or reading from a taxonomy?
From 12/27 meeting: The system doesn't generate any tag, food-insecurity and food-pantry are generated by the user (and so they can also be removed).
Wireframes will be updated to convey the functionality.
from cti-website-frontend.
Design
Please create mock ups for following pages
YES path
- step 3 on tag generator should have NO tags
- step 4 on tag generator should have "food-insecurity" and "food pantry" tags
NO path
- step 2 on tag generator should have "Please fill in the URL" in the URL box
- step 3 on tag generator should be the current Step 2 (Sample error message)
Example error messages depending on conditions
from cti-website-frontend.
@Gio @emecas - it looks like a ui decision was made that affects the technical working of the tag generator and the user experience to make it less flexible. Let's talk about the motivation for changing it and how we can adress your concerns without changing flexibility of the application.
from cti-website-frontend.
@meismith your assignment has been moved to #216
from cti-website-frontend.
I think this is now complete, let's review it one last time on Sunday.
from cti-website-frontend.
Please add radio buttons to change organization affiliation status (Yes / No) in the wizard if the user needs to revise.
See screens that need to be edited below for reference:
from cti-website-frontend.
Tag generator work flow has been completed. This issue is closed. We will open a new issue for the development part of this so as not to confuse the engineers.
from cti-website-frontend.
Related Issues (20)
- 'Civic Tech Organizations' Page Audit - Web
- 'Collaborate with us' Page Audit - Web
- 'Donate' Page Audit - Web
- 'Share the CTI' Page Audit - Web
- Civic Tech Organization Search - Open to lowest level when only 1 Organization shows HOT 1
- Github Rate Limitations
- Fix "removed in Django41Warning" HOT 3
- Most Recently Updated on Organizations Page
- Store state changes for searches HOT 2
- Org list box size responsiveness HOT 2
- "has github" checkbox on Organizations page HOT 1
- Re-parent orgs to siblings of Code for All
- Update link for CTI assets HOT 1
- Add Link type for commonly used social media
- Fix or replace use-query-params for org search HOT 1
- Back button incorrectly redirecting HOT 2
- Civic Tech Organizations Page currently includes "%20" in query when back button is used HOT 1
- Update NavBar lower padding HOT 1
- Org Icons on site, but not on local
- Update FAQ: How do I add my organization to Civic Tech Index?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cti-website-frontend.