-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1705 from alliance-genome/release/v0.35.0-rc2
Release/v0.35.0 rc2
- Loading branch information
Showing
506 changed files
with
19,765 additions
and
3,865 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
docker run -d --net curation -p 9200:9200 -p 9600:9600 -e "discovery.type=single-node" -e "DISABLE_SECURITY_PLUGIN=true" --name opensearch opensearchproject/opensearch:1.2.4 | ||
docker run -d --net curation -p 9200:9200 -p 9600:9600 -e "discovery.type=single-node" -e "DISABLE_SECURITY_PLUGIN=true" --name opensearch opensearchproject/opensearch:2.16.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 14 additions & 0 deletions
14
src/main/cliapp/src/components/FieldData/GeneticModifierAgmsAdditionalFieldData.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
import React from 'react'; | ||
import { getIdentifier } from '../../utils/utils'; | ||
|
||
export function GeneticModifierAgmsAdditionalFieldData({ fieldData }) { | ||
let ret = []; | ||
if (fieldData && fieldData.length > 0) { | ||
for (let i = 0; i < fieldData.length; i++) { | ||
if (getIdentifier(fieldData[i]) !== '') { | ||
ret.push(<div key={i} className="p-info" dangerouslySetInnerHTML={{ __html: fieldData[i]['name'] }}></div>); | ||
} | ||
} | ||
} | ||
return ret; | ||
} |
20 changes: 20 additions & 0 deletions
20
src/main/cliapp/src/components/FieldData/GeneticModifierAllelesAdditionalFieldData.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
import React from 'react'; | ||
import { getIdentifier } from '../../utils/utils'; | ||
|
||
export function GeneticModifierAllelesAdditionalFieldData({ fieldData }) { | ||
let ret = []; | ||
if (fieldData && fieldData.length > 0) { | ||
for (let i = 0; i < fieldData.length; i++) { | ||
if (getIdentifier(fieldData[i]) !== '') { | ||
ret.push( | ||
<div | ||
key={i} | ||
className="p-info" | ||
dangerouslySetInnerHTML={{ __html: fieldData[i]['alleleSymbol']['displayText'] }} | ||
></div> | ||
); | ||
} | ||
} | ||
} | ||
return ret; | ||
} |
20 changes: 20 additions & 0 deletions
20
src/main/cliapp/src/components/FieldData/GeneticModifierGenesAdditionalFieldData.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
import React from 'react'; | ||
import { getIdentifier } from '../../utils/utils'; | ||
|
||
export function GeneticModifierGenesAdditionalFieldData({ fieldData }) { | ||
let ret = []; | ||
if (fieldData && fieldData.length > 0) { | ||
for (let i = 0; i < fieldData.length; i++) { | ||
if (getIdentifier(fieldData[i]) !== '') { | ||
ret.push( | ||
<div | ||
key={i} | ||
className="p-info" | ||
dangerouslySetInnerHTML={{ __html: fieldData[i]['geneSymbol']['displayText'] }} | ||
></div> | ||
); | ||
} | ||
} | ||
} | ||
return ret; | ||
} |
33 changes: 0 additions & 33 deletions
33
src/main/cliapp/src/components/FieldData/GeneticModifiersAdditionalFieldData.js
This file was deleted.
Oops, something went wrong.
40 changes: 40 additions & 0 deletions
40
src/main/cliapp/src/components/GenericDataTable/DataTableFooter.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
import React from 'react'; | ||
import { Paginator } from 'primereact/paginator'; | ||
import { NumberTemplate } from '../Templates/NumberTemplate'; | ||
|
||
export const DataTableFooter = ({ first, rows, totalRecords, onLazyLoad, isInEditMode }) => { | ||
return ( | ||
!isInEditMode && ( | ||
<Paginator | ||
data-testid="datatable-footer" | ||
first={first} | ||
rows={rows} | ||
totalRecords={totalRecords} | ||
rowsPerPageOptions={[10, 20, 50, 100, 250, 1000]} | ||
onPageChange={onLazyLoad} | ||
template={{ | ||
layout: | ||
'CurrentPageReport FirstPageLink PrevPageLink PageLinks NextPageLink LastPageLink RowsPerPageDropdown', | ||
CurrentPageReport: (options) => { | ||
const totalRecordsDisplay = <NumberTemplate number={options.totalRecords} />; | ||
const firstDisplay = <NumberTemplate number={options.first} />; | ||
const lastDisplay = <NumberTemplate number={options.last} />; | ||
return ( | ||
<> | ||
Showing {firstDisplay} to {lastDisplay} of {totalRecordsDisplay} | ||
</> | ||
); | ||
}, | ||
PageLinks: (options) => { | ||
const pageDisplay = <NumberTemplate number={options.page + 1} />; | ||
return ( | ||
<button type="button" className={options.className} onClick={options.onClick}> | ||
{pageDisplay} | ||
</button> | ||
); | ||
}, | ||
}} | ||
/> | ||
) | ||
); | ||
}; |
Oops, something went wrong.