-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BI-1910 - Allow Breeder to Upload a Genotype Sample File #343
Conversation
89ae69f
to
88db9be
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this affect the display of anything with existing tables?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, I just restructured the scss to be nested
private loading = true; | ||
private germplasm?: Germplasm; | ||
|
||
fetchGermplasm() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is the purpose of this, doesn't seem to be actually loading anything.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nothing anymore. I'll remove that!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sounds good
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What was the reason the file was generated rather than hosted on box like the other imports?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Moved the template to be served from Box
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sounds good
@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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
WorkSheet is never used.
private downloadModalActive: boolean = false; | ||
private paginationController: PaginationController = new PaginationController(); | ||
private submission?: SampleSubmission; | ||
private germNameOptions?: Array<String> = []; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'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_ENABLED
property totrue
for both bi-web and bi-api and restartGeneral testing
Checklist: