BI-1910 - Allow Breeder to Upload a Genotype Sample File#343
BI-1910 - Allow Breeder to Upload a Genotype Sample File#343timparsons merged 12 commits intodevelopfrom
Conversation
89ae69f to
88db9be
Compare
nickpalladino
left a comment
There was a problem hiding this comment.
Did you figure out that issue from the demo where the table didn't display after a certain sequence of menu item selections?
| z-index: 1; | ||
| pointer-events: none; | ||
| } | ||
| .th-wrap { |
There was a problem hiding this comment.
Does this affect the display of anything with existing tables?
There was a problem hiding this comment.
No, I just restructured the scss to be nested
| private loading = true; | ||
| private germplasm?: Germplasm; | ||
|
|
||
| fetchGermplasm() { |
There was a problem hiding this comment.
What is the purpose of this, doesn't seem to be actually loading anything.
There was a problem hiding this comment.
Nothing anymore. I'll remove that!
src/views/import/ImportSample.vue
Outdated
| </div> | ||
| <div class="column is-narrow"> | ||
| <div class="has-text-dark has-text-centered is-size-7"> | ||
| <button class="button is-outlined is-primary" :id="'download-sample-template'" v-on:click="generateTemplate()">Download the Sample Import Template</button> |
There was a problem hiding this comment.
What was the reason the file was generated rather than hosted on box like the other imports?
There was a problem hiding this comment.
Speed of development primarily. Doing this allowed me to quickly make changes to the template as I was receiving feedback from others. I can make a file and put it on Box like the others. It may be worth talking about a static template vs generated template looking to the future.
There was a problem hiding this comment.
Moved the template to be served from Box
@nickpalladino I did! It was a data loading workflow issue. Once I fixed that workflow, it is now working as expected |
7681cd7 to
c647841
Compare
|
Testing. I found a bug.
|
Good catch @davedrp!! I've fixed this by forcing the |
…eractive Able to interact with the DeltaBreed backend to fetch data. Able to submit submission via BrAPI. Able to manual update a submission's status.
Added feature flag for BrAPI vendor submission
…y to parent DataForm
6f917ec to
0a04076
Compare
|
developer test PASSED |
davedrp
left a comment
There was a problem hiding this comment.
I have left some recommendations in the comments, but they are not essential.
| private activeTab = 'details'; | ||
| private submissionLoading: boolean = true; | ||
| private submissionDetailsLoading: boolean = true; | ||
| private downloadModalActive: boolean = false; |
There was a problem hiding this comment.
downloadModalActive is never used
| import StatusEnum = VendorOrderStatusResponseResult.StatusEnum; | ||
| import {Plate} from "@/breeding-insight/brapi/model/geno/plate"; | ||
| import * as XLSX from "xlsx"; | ||
| import {WorkBook, WorkSheet} from "xlsx"; |
| private downloadModalActive: boolean = false; | ||
| private paginationController: PaginationController = new PaginationController(); | ||
| private submission?: SampleSubmission; | ||
| private germNameOptions?: Array<String> = []; |
There was a problem hiding this comment.
Contents of collection 'germNameOptions' are updated, but never queried
|
|
||
| import * as api from '@/util/api'; | ||
| import { BiResponse, Response } from '@/breeding-insight/model/BiResponse'; | ||
| import { BreedingMethod } from '@/breeding-insight/model/BreedingMethod'; |
There was a problem hiding this comment.
'BreedingMethod' imported but not used
| import {Result, ResultGenerator} from "@/breeding-insight/model/Result"; | ||
| import {SampleSubmission} from "@/breeding-insight/model/SampleSubmission"; | ||
| import {VendorOrderSubmission} from "@/breeding-insight/brapi/model/geno/vendorOrderSubmission"; | ||
| import {BrAPIDAOUtil} from "@/breeding-insight/dao/BrAPIDAOUtil"; |
There was a problem hiding this comment.
'BrAPIDAOUtil' imported but not used
Description
Story: https://breedinginsight.atlassian.net/browse/BI-1910
Created a new UI component named "Sample Management"
Dependencies
Testing
Testing with germplasm
Testing with ObsUnitIDs
Manual Submission
Automated Submission
BRAPI_VENDOR_SUBMISSION_ENABLEDproperty totruefor both bi-web and bi-api and restartGeneral testing
Checklist: