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

Add search to the Civic Issue FInder #30

Open
5 tasks
ondrae opened this issue Apr 15, 2015 · 2 comments
Open
5 tasks

Add search to the Civic Issue FInder #30

ondrae opened this issue Apr 15, 2015 · 2 comments

Comments

@ondrae
Copy link
Collaborator

ondrae commented Apr 15, 2015

Description

One of the most requested features is to search for specific types of Issues. This is already possible somewhat through labels and organization attributes, but it leaves out programming language, project status, etc.

We just added search to the CfAPI. Examples are:
http://codeforamerica.org/api/projects?q=Bicycle
http://codeforamerica.org/api/organizations/Code-for-San-Francisco/projects?q=elections

This means we can now add search to the Civic Issue Finder.

To start we'd pass through the search parameter q=bicycles to the call to the CfAPI. Later we'd consider adding in the contents of issues and labels to the values being searched.

One question is should we change the embedded issues to include a search box? They'd all become interactive then. Might be simpler to just have the search term hardcoded in each embed through the embed form.

Files

app.py, templates/index.html, templates/widget.html, templates/embed.html, static/main.js

Tasks

  • Write tests for how we expect search to work
  • Pass the search parameter through on the call to the CfAPI
  • Change the embed ui to have a search field
  • Change the main page to inlcude a search field
  • Test out including the search field on every embed?
@ondrae
Copy link
Collaborator Author

ondrae commented Apr 15, 2015

@tmaybe Having search included in each embed will probably lead to the most use of your recent work on the CfAPI.

@tmaybe tmaybe self-assigned this Apr 16, 2015
@ondrae ondrae added ready and removed in progress labels Nov 13, 2015
@tmaybe tmaybe removed the ready label Dec 21, 2015
@tmaybe tmaybe removed their assignment Dec 29, 2015
@werdnanoslen
Copy link

I just noticed this once had ready tag on it. What's the status on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants