镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content
This repository was archived by the owner on Aug 5, 2021. It is now read-only.
This repository was 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

Description

@jlow81

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/#/

Activity

  1. showell215 commented on Oct 23, 2018

    @showell215

    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?

  2. DanielJDufour commented on Oct 23, 2018

    @DanielJDufour
    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 join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions