oss-slu / esp

MIT License
0 stars 5 forks source link

UI: Implement "Same Criteria for All" Checkbox for Multi-Term Search and single input file #51

Closed SiriChandanaGarimella closed 5 months ago

SiriChandanaGarimella commented 6 months ago

Is your feature request related to a problem? Please describe. Currently, there is no option provided to the user to choose a search criteria specific to a search term. It would be good if an option is provided to the user to select if the same search criteria are applicable for all the search terms or not.

Describe the solution you'd like

  1. When no input is provided in the search input field, the 'Download Output' button should be disabled.
  2. Once a search term is entered in the search input field and the user clicks on Enter or comma, a tag has to be created for the search term.
  3. When the user inputs more than one search term, a checkbox has to be displayed below the search input field with the text - 'Is the search criteria same for all search terms'.
  4. If the user checks the checkbox and enters the data in the input fields 'Cycles', 'Data to be Extracted', and 'Lines' and clicks on Submit a card has to be created for the search query.
  5. The 'Download Output' button should be enabled.

Refer to flow1 in the below Figma link for the design flow:

https://www.figma.com/file/sc8xWUocAHDkeJXiaV1hZq/prototypeorca?type=design&node-id=1%3A8603&mode=design&t=UVMp4EawpVwkCL1D-1

image

image