iobio / gene.iobio

Gene.iobio vue
MIT License
56 stars 11 forks source link

When adding genes based on phenolyzer search, previously entered genes are removed even though user specified otherwise #901

Closed tonydisera closed 1 year ago

tonydisera commented 1 year ago
  1. Add a few genes
  2. Now enter phenotype search
  3. Phenolyzer returns genes are n genes added, user is asked whether genes should be replaced or combined with previous genes. Pick 'combine'.
  4. Now change the number of genes in the combobox to the right of the phenotype search input.
  5. User is not asked about adding or replacing genes. Instead app just replaces the current gene list with the number of genes specified, pulling from the gene list from the last phenolyzer search results.
tonydisera commented 1 year ago

Fix by removing 'number of genes' combobox from nav panel. Instead, whenever phenolyzer results are returned, always prompt the user about combining or replacing the gene list. At this time, ask how many genes from the search results should be kept. This will simplify the nav bar interface and allow the user to select how many genes should be kept from the Phenolyzer results on a case by case basis after the results are returned.