Skip to content

Perform search when search bar is filled and state tab is selected

Resources

FE @ClemMakesApps

Description

This is a use case that was attempted by @connorshea during the testing phase of filtered search (1st iteration) that I think is a great idea. Currently if you typed a search query and wanted to change your search query to search for a different issue state (let's say you wanted to search closed issues instead of open issues), your typed search query would disappear after you clicked the other issue state tab.

The Problem

2017-01-25_16.25.46

Proposal

I have 2 ideas that could be used to solve this:

  1. This is the simplest solution (but maybe confusing to users). I propose we save the search query so that it displays on the other page but does not perform the actual search

2. Clicking on the issue state tab will perform a search with the input provided in the search bar with the new issue state

Design

We will adopt the first proposal above.

Edited by Victor Wu