Skip to content
This repository has been archived by the owner on Aug 5, 2021. It is now read-only.

Search Bar: Pressing down/up arrow on keyboard should move through suggested search options #492

Open
jlow81 opened this issue Mar 7, 2018 · 2 comments

Comments

@jlow81
Copy link
Contributor

jlow81 commented Mar 7, 2018

Expected Behavior

When I press the down/up arrow keys I should be able to select the available suggested search options

Current Behavior

Pressing arrow keys does nothing

Possible Solution

Not sure

Steps to Reproduce (for bugs)

  1. Search for 'water'
  2. Try to use down/up arrow keys

screen shot 2018-03-07 at 2 57 49 pm

Context

Make it easier for users to select suggested search options

Your Environment

  • Browser Name and version: Chrome
  • Operating System and version (desktop or mobile): Macbook
  • Link to your project: https://code.gov/#/
@showell215
Copy link

Hi @jlow81 - I was interested in picking this up as a first issue (just heard about code.gov, very cool!) but the search bar requires API access to fetch agencies. I'm getting a 403 using when running the app using the provided instructions, so I assume the API key in the config is not valid. Any way around this?

@DanielJDufour
Copy link
Contributor

Hi, @showell215 . You can get an API key for local development here: https://developers.code.gov/key.html

You'll also run something like this to run it locally:

CODE_GOV_API_KEY=asidfjluwehbfwgabfsdaifjbweuhfbywegbaf run start

or if you are developing on a server like a Cloud 9 environment

sudo CODE_GOV_API_KEY=asidfjluwehbfwgabfsdaifjbweuhfbywegbaf HOST=0.0.0.0 PORT=80 npm run start

Lemme know if you have any more questions! :-)

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

No branches or pull requests

3 participants