Skip to content
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

Release/v0.35.0 rc2 #1705

Merged
merged 355 commits into from
Nov 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
355 commits
Select commit Hold shift + click to select a range
a1800fe
Updated UI
oblodgett Aug 30, 2024
54f90c5
Merge pull request #1654 from alliance-genome/restructure_filehistory
oblodgett Aug 30, 2024
7b14a71
Pretty
oblodgett Aug 30, 2024
da0e2fa
Fix for missing DP
oblodgett Aug 30, 2024
31e0923
Revert DP DAO
oblodgett Aug 30, 2024
2a78f2e
Another attempt to fix DP's
oblodgett Aug 30, 2024
e234093
Added fix for null cross references
oblodgett Aug 30, 2024
09c7fa9
Cache only when it comes from the DB
oblodgett Aug 30, 2024
ebaf68f
Update IT's
oblodgett Aug 30, 2024
09b8de9
Fix IT's
oblodgett Aug 30, 2024
d9cb049
Fix IT's
oblodgett Aug 30, 2024
0917172
Fix IT's
oblodgett Aug 30, 2024
a34f939
More fixes for GFF
oblodgett Aug 30, 2024
7ad4d9e
Removed exceptions
oblodgett Aug 30, 2024
17f7dbe
Merge pull request #1652 from alliance-genome/remove_dataprovider_dups
oblodgett Sep 3, 2024
74dfc72
SCRUM-3952: fix to save exceptions in DB
abecerra Aug 30, 2024
f388c5f
SCRUM-3952: change to errorMessagesString
abecerra Sep 3, 2024
5130a0f
SCRUM-3952: change to errorMessagesString
abecerra Sep 3, 2024
e8ef140
Remove and add back FK's
oblodgett Sep 3, 2024
0b0bdf0
Updated constraints
oblodgett Sep 3, 2024
bf823a1
Turned off the loads by default
oblodgett Sep 3, 2024
ea89bcc
Split out data for smaller memory footprint
oblodgett Sep 4, 2024
bcca90c
Removed assembly id as its not needed for the associations
oblodgett Sep 4, 2024
684e69b
Fixed IT's
oblodgett Sep 4, 2024
032e375
Fix IT's
oblodgett Sep 4, 2024
73f1cd3
Fix IT's
oblodgett Sep 4, 2024
ac033ae
Fix transcript endpoint
oblodgett Sep 4, 2024
9c931a4
Fix IT's
oblodgett Sep 4, 2024
e2d1ec6
Fix IT's
oblodgett Sep 4, 2024
dea102d
Fix IT's
oblodgett Sep 4, 2024
c227f38
Merge pull request #1655 from alliance-genome/SCRUM-3952
oblodgett Sep 4, 2024
1100d54
SCRUM-3754 add ObjectListTemplate and tests
adamgibs Sep 3, 2024
35fee1e
SCRUM-3754 replace CrossReferencesTemplate
adamgibs Sep 4, 2024
6f43385
SCRUM-3754 replace DiseaseQualifiersTemplate
adamgibs Sep 4, 2024
97ee444
SCRUM-3754 replace EvidenceCodesTemplate
adamgibs Sep 4, 2024
488a050
SCRUM-3754 add SingleReferenceTemplate to ConditionRelationTable
adamgibs Sep 4, 2024
3411bc4
SCRUM-3754 UI formatting
adamgibs Sep 4, 2024
2cfde11
Merge branch 'alpha' into remove_dataprovider_dups
oblodgett Sep 4, 2024
16fc009
Merge pull request #1657 from alliance-genome/SCRUM-3754
oblodgett Sep 4, 2024
a80f4ac
Merge branch 'alpha' into remove_dataprovider_dups
oblodgett Sep 4, 2024
6d14d69
Merge pull request #1656 from alliance-genome/remove_dataprovider_dups
oblodgett Sep 4, 2024
ec66ff8
add duration column and update number formats
adamgibs Sep 5, 2024
f07ab22
Updated the way counts work
oblodgett Sep 4, 2024
2fc81fd
Code for GFF consolidation
oblodgett Sep 5, 2024
21fd07c
Added code for better counts
oblodgett Sep 5, 2024
bfe7974
Fix prettier
oblodgett Sep 5, 2024
86bc405
Fix IT's for counts
oblodgett Sep 6, 2024
f802ceb
Attempt fix for history persist
oblodgett Sep 6, 2024
61e32f3
Make sure to persist the history object used by the API
oblodgett Sep 6, 2024
167f840
Fix IT's
oblodgett Sep 6, 2024
83591f7
Fix IT's
oblodgett Sep 6, 2024
54afe3b
Added method for multiple counts for IT's
oblodgett Sep 6, 2024
d76d9cb
Hopefully last fix for IT's
oblodgett Sep 6, 2024
80664d6
Merge pull request #1658 from alliance-genome/remove_dataprovider_dups
oblodgett Sep 6, 2024
356a994
Htp dataset annotation validation and test cases
VarunReddy1111 Sep 6, 2024
a2c0c2d
Fix checkstyle and other errors
VarunReddy1111 Sep 6, 2024
f8c3dc7
IT test fix
VarunReddy1111 Sep 6, 2024
38419df
Removed required constraint for similarilty, identity and length fields
VarunReddy1111 Sep 6, 2024
9fe14d4
update running time and update time formatting
adamgibs Sep 6, 2024
b62674b
Refactored more
oblodgett Sep 6, 2024
4c550d5
Fixed play buttons and timing out waiting for play buttons not does e…
oblodgett Sep 6, 2024
667f356
Added pretties
oblodgett Sep 6, 2024
654c7e0
Fixed error messaging and defaults
oblodgett Sep 6, 2024
6c77d95
Fixed persistant issue by reordering commits
oblodgett Sep 7, 2024
b1d0102
Changes in htp executor to return false when load fails
VarunReddy1111 Sep 7, 2024
12495e5
Merge pull request #1660 from alliance-genome/remove_dataprovider_dups
oblodgett Sep 9, 2024
d85f294
Merge branch 'alpha' into SCRUM-4341_2
oblodgett Sep 9, 2024
a6ee935
Merge pull request #1659 from alliance-genome/SCRUM-4341_2
VarunReddy1111 Sep 9, 2024
3548b15
Removed required constraint for similarilty, identity and length fields
VarunReddy1111 Sep 6, 2024
3930876
Changes in Paralogy test case
VarunReddy1111 Sep 9, 2024
d066015
Merge branch 'SCRUM-4283' of github.com:alliance-genome/agr_curation …
VarunReddy1111 Sep 9, 2024
4aaeda5
Checkstyle fix
VarunReddy1111 Sep 9, 2024
375dc47
Merge pull request #1661 from alliance-genome/SCRUM-4283
VarunReddy1111 Sep 9, 2024
81d5820
Added missing column types and indexes
oblodgett Sep 9, 2024
c02caa6
Enable skipping of known issues
markquintontulloch Sep 9, 2024
34ee2c1
Checkstyle fixes
markquintontulloch Sep 9, 2024
b30cbd2
Add skipped count to integration tests
markquintontulloch Sep 9, 2024
eaee086
Add space
markquintontulloch Sep 9, 2024
d9ad97e
IT method refactor
markquintontulloch Sep 9, 2024
5030b47
Update method name
markquintontulloch Sep 9, 2024
170a283
Fix NPE
oblodgett Sep 9, 2024
f30f353
Merge pull request #1662 from alliance-genome/fix_missing_indexs
oblodgett Sep 9, 2024
b6a602a
Update exception inheritance
markquintontulloch Sep 10, 2024
79f0ec4
Update controllers
markquintontulloch Sep 10, 2024
2115e98
Merge branch 'alpha' into SCRUM-4368
markquintontulloch Sep 10, 2024
be9ef8b
Integration test base method refactor
markquintontulloch Sep 10, 2024
224307d
Update interface
markquintontulloch Sep 10, 2024
40cc34c
Throw ValidationException on all methods
markquintontulloch Sep 10, 2024
1fb5082
Remove unused import
markquintontulloch Sep 10, 2024
5cbea26
Revert unintentional deletion
markquintontulloch Sep 10, 2024
77fa2b7
Merge pull request #1663 from alliance-genome/SCRUM-4368
markquintontulloch Sep 10, 2024
153a99b
Merge branch 'alpha' into SCRUM-4424
markquintontulloch Sep 10, 2024
353e4b5
Merge pull request #1664 from alliance-genome/SCRUM-4424
markquintontulloch Sep 10, 2024
0254162
Added code for flattening associations
oblodgett Sep 10, 2024
eb61cda
Updated migration file
oblodgett Sep 10, 2024
0395358
Fix syntax with constraint
oblodgett Sep 10, 2024
202be7f
Added missing indexes and fixed sqtr indexes
oblodgett Sep 11, 2024
8ceabe9
Merge pull request #1665 from alliance-genome/fix_missing_indexs
oblodgett Sep 11, 2024
12aaf2b
SCRUM-4429 update data loads page running time
adamgibs Sep 13, 2024
a18e92f
Merge pull request #1668 from alliance-genome/SCRUM-4429
oblodgett Sep 13, 2024
68dea4f
Move gene ID to curie map generation
markquintontulloch Sep 13, 2024
0885670
Fix boolean logic
markquintontulloch Sep 13, 2024
8c3a5c3
Return lines without parents for validation
markquintontulloch Sep 13, 2024
5692ac6
Merge pull request #1669 from alliance-genome/SCRUM-4176_update
markquintontulloch Sep 13, 2024
18dc4b0
removed dropAndCreateSchemaOnStart
adamgibs Sep 16, 2024
76bd070
Merge pull request #1670 from alliance-genome/remove-drop-schema
adamgibs Sep 16, 2024
055ee00
Change in BaseSQLDAO
VarunReddy1111 Sep 16, 2024
bbc7f29
Changes to BaseSqlDAO
VarunReddy1111 Sep 16, 2024
15f2ec5
Checkstyle fix
VarunReddy1111 Sep 17, 2024
9dc070f
Revert "removed dropAndCreateSchemaOnStart"
adamgibs Sep 17, 2024
139254b
Merge pull request #1671 from alliance-genome/Match_query_change
VarunReddy1111 Sep 17, 2024
799a282
Merge branch 'alpha' into add-drop-schema
adamgibs Sep 17, 2024
1dd4475
Merge pull request #1672 from alliance-genome/add-drop-schema
adamgibs Sep 17, 2024
2faef71
Changes in BaseSQLDAO
VarunReddy1111 Sep 17, 2024
3ab3aa1
Merge pull request #1673 from alliance-genome/Match_query_change
VarunReddy1111 Sep 17, 2024
edece55
SCRUM-4436 improve construct association load performance (#1666)
cmpich Sep 19, 2024
023f56d
SCRUM-3952: change vocabularyterm to ontologyterm after LinkML change
abecerra Sep 12, 2024
4efba46
SCRUM-3952: fix integration tests
abecerra Sep 19, 2024
d28cc2e
SCRUM-3952: fix indentation and remove commented code
abecerra Sep 19, 2024
6a499ad
SCRUM-3952: use vocabulary term sets in test
abecerra Sep 20, 2024
16c7616
SCRUM-3952: increase LinkML version
abecerra Sep 20, 2024
326905b
Merge pull request #1667 from alliance-genome/SCRUM-3952
abecerra Sep 20, 2024
7ef9b2f
SCRUM-3758 replace uniqueIdTemplate
adamgibs Sep 9, 2024
d5fe32f
SCRUM-3758 switch NameTemplate to StringTemplate
adamgibs Sep 9, 2024
6962dca
SCRUM-3758 add StringTemplate to ExperimentalConditionsTable
adamgibs Sep 9, 2024
b2c8ebe
SCRUM-3758 replace internalTemplate with BooleanTemplate in ExConTable
adamgibs Sep 9, 2024
ee82589
SCRUM-3758 update number formatting throughout site
adamgibs Sep 10, 2024
8cd840c
SCRUM-3758 add DataTableFooter tests
adamgibs Sep 11, 2024
4318c55
SCRUM-3758 update tooltips and other cleanup
adamgibs Sep 24, 2024
8bb917e
SCRUM-3758 update formatting
adamgibs Sep 24, 2024
27d1d0a
Merge pull request #1675 from alliance-genome/SCRUM-3758
adamgibs Sep 24, 2024
b7b509b
SCRUM-3757 update ControlledVocabularyTable body templates
adamgibs Sep 25, 2024
c3a0211
Merge pull request #1676 from alliance-genome/SCRUM-3757
adamgibs Sep 25, 2024
5c97d36
Fix to re-enable downloading of exception messages
VarunReddy1111 Sep 26, 2024
771f66d
Change to only enable download button if failed count is > 0
VarunReddy1111 Sep 26, 2024
1abba01
minor change
VarunReddy1111 Sep 26, 2024
2a9aa01
Checkstyle fix
VarunReddy1111 Sep 26, 2024
d2d5579
Merge pull request #1678 from alliance-genome/SCRUM-4452
VarunReddy1111 Sep 26, 2024
5d21129
SCRUM-3760 update MoleculesTable templates
adamgibs Sep 26, 2024
4a69cac
Initial code for mapped super class for associations
oblodgett Sep 15, 2024
ffdf782
First Draft code for mapped superclass
oblodgett Sep 26, 2024
a422c49
Just in case
oblodgett Sep 26, 2024
369795c
Fixed conflicting migrations
oblodgett Sep 26, 2024
872b343
Fixed FK
oblodgett Sep 26, 2024
29f29a8
Updated truncated name
oblodgett Sep 26, 2024
867eeea
Fix table name lengths
oblodgett Sep 26, 2024
df4afc7
Rename SEQ
oblodgett Sep 26, 2024
be8ecda
Removed non null check
oblodgett Sep 26, 2024
57bc38f
SCRUM-3761 update GeneralOntologyComponent templates
adamgibs Sep 27, 2024
38bd387
SCRUM-3763 update ResourceDescriptorsTable templates
adamgibs Sep 27, 2024
7f22605
SCRUM-3764 update ResourceDescriptorPagesTable templates
adamgibs Sep 27, 2024
9745d02
SCRUM-3767 update VocabulariesTable templates
adamgibs Sep 27, 2024
8813155
SCRUM-3768 update VocabularyTermSetTable templates
adamgibs Sep 27, 2024
5f296e5
SCRUM-3766 update VariantsTable templates
adamgibs Sep 27, 2024
a53554a
UI formatting
adamgibs Sep 27, 2024
f2da051
update test
adamgibs Sep 27, 2024
0f7f447
Merge pull request #1679 from alliance-genome/table-body-template-ref…
adamgibs Sep 27, 2024
65cba7d
update tooltip css
adamgibs Sep 30, 2024
39a1a94
Merge branch 'alpha' into mappedsuperclass_associations
markquintontulloch Sep 30, 2024
9f7fc7e
Pull out DA / PA tables
markquintontulloch Sep 30, 2024
2de412e
add row highligting to entity counts table
adamgibs Oct 1, 2024
0051e7a
Fixes
markquintontulloch Oct 1, 2024
fed5e46
update action column width to fix width bug
adamgibs Oct 1, 2024
3b1e225
Merge pull request #1681 from alliance-genome/ui-updates
adamgibs Oct 2, 2024
5a0d862
Merge branch 'alpha' into mqt_associations
markquintontulloch Oct 2, 2024
4a45ee2
Merge pull request #1680 from alliance-genome/mqt_associations
markquintontulloch Oct 3, 2024
967183e
Add missing sequence
markquintontulloch Oct 3, 2024
4482dd7
Merge pull request #1682 from alliance-genome/fix_missing_sequence
markquintontulloch Oct 3, 2024
6dfe1d7
Need to create the sequence before setting
markquintontulloch Oct 3, 2024
4014f81
Merge branch 'alpha' into actually_fix_missing_sequence
markquintontulloch Oct 3, 2024
2d621a8
Add IF NOT EXISTS clause
markquintontulloch Oct 3, 2024
f81a37d
Merge branch 'actually_fix_missing_sequence' of https://github.com/al…
markquintontulloch Oct 3, 2024
365e4c3
Merge pull request #1683 from alliance-genome/actually_fix_missing_se…
markquintontulloch Oct 3, 2024
2326400
RGD load and category tag validation change
VarunReddy1111 Oct 9, 2024
9143186
Merge pull request #1685 from alliance-genome/SCRUM-4341_4
VarunReddy1111 Oct 9, 2024
b88d446
HTP entities creation
VarunReddy1111 Sep 13, 2024
32597aa
Complete java model for HTPDatasample
VarunReddy1111 Oct 4, 2024
6cf92b3
Changing backend bulkload type from HTPDATASETSAMPLE to HTPDATASAMPLE
VarunReddy1111 Oct 4, 2024
457b29e
Checkstyle fix
VarunReddy1111 Oct 4, 2024
001c0d4
Changes to HTPdatasample model
VarunReddy1111 Oct 9, 2024
6793280
Checkstyle fix
VarunReddy1111 Oct 9, 2024
3eaccb6
Checkstyle fix
VarunReddy1111 Oct 9, 2024
b79d2fe
Added code to loop through all the loads in counts and check for failed
VarunReddy1111 Oct 9, 2024
660bb1c
checkstyle fix
VarunReddy1111 Oct 10, 2024
6b05b1b
checkstyle fix
VarunReddy1111 Oct 10, 2024
e943bed
Merge pull request #1686 from alliance-genome/SCRUM-4452
VarunReddy1111 Oct 10, 2024
e1a7471
Merge branch 'alpha' into SCRUM-4426
VarunReddy1111 Oct 10, 2024
f29bc51
Changed HTPDATASETSAMPLE to HTPDATASAMPLE in Dataload Service
VarunReddy1111 Oct 10, 2024
16ce4c5
Checkstyle fix
VarunReddy1111 Oct 10, 2024
1f4fda1
Merge pull request #1684 from alliance-genome/SCRUM-4426
VarunReddy1111 Oct 14, 2024
3d3e7bd
Updated schedule for purging
oblodgett Oct 14, 2024
0c50f39
Merge pull request #1688 from alliance-genome/SCRUM-4377
oblodgett Oct 14, 2024
42368f7
Adding new indexes for htpdatasample
VarunReddy1111 Oct 14, 2024
aea2179
Added _index to biosamplegenomicinfo indexes
VarunReddy1111 Oct 15, 2024
ed6f10f
Merge pull request #1689 from alliance-genome/SCRUM-4426
VarunReddy1111 Oct 15, 2024
e0b316b
Added transactional
oblodgett Oct 15, 2024
3e3236a
Merge pull request #1690 from alliance-genome/SCRUM-4377
oblodgett Oct 15, 2024
97222e8
SCRUM-4118 load of expression atlas records into postgres
cmpich Oct 8, 2024
d3e5cc6
SCRUM-4118 include gene-crossreference association
cmpich Oct 9, 2024
25ba7f6
add logic to load FB
cmpich Oct 9, 2024
83c1197
refactor FB,SGD hard-coded logic
cmpich Oct 10, 2024
d832f02
fix checkstyle issues
cmpich Oct 10, 2024
212be66
fix checkstyle issues
cmpich Oct 10, 2024
e289977
fix suggested changes
cmpich Oct 10, 2024
d55852f
remove unused imports
cmpich Oct 10, 2024
85ac85c
cleanup
cmpich Oct 11, 2024
a895a57
revert changes in AuditedObjectValidator
cmpich Oct 11, 2024
d57dc03
rename FB script as it collides with newer one.
cmpich Oct 17, 2024
b7ef60e
fix UI code style
cmpich Oct 17, 2024
61369fd
Merge pull request #1687 from alliance-genome/SCRUM-4118
oblodgett Oct 17, 2024
5522967
Initial commit of variant FMS loading code
markquintontulloch Oct 21, 2024
34e8c2c
Various fixes
markquintontulloch Oct 21, 2024
289ebae
Merge branch 'alpha' into SCRUM-4499
markquintontulloch Oct 21, 2024
b01eccc
Add fields to variant
markquintontulloch Oct 23, 2024
acba1db
Backend code to split disease genetic modifiers
markquintontulloch Oct 23, 2024
b37c770
Update UI for diseaseGeneticModifier split
markquintontulloch Oct 24, 2024
a0bf163
Split long lines
markquintontulloch Oct 24, 2024
25d427c
Split long string
markquintontulloch Oct 24, 2024
ae87c79
Prettify UI code
markquintontulloch Oct 24, 2024
a505a75
Merge pull request #1692 from alliance-genome/SCRUM-4523_SCRUM-4254
markquintontulloch Oct 24, 2024
7ab260a
SCRUM-4440 add biogrid orc load
adamgibs Oct 24, 2024
aff259d
Forgot to observe async all the events after the refactor
oblodgett Oct 24, 2024
ba6092d
Merge pull request #1694 from alliance-genome/SCRUM-4428
oblodgett Oct 24, 2024
7e33a37
Merge branch 'alpha' into SCRUM-4440
adamgibs Oct 24, 2024
6007011
Merge pull request #1693 from alliance-genome/SCRUM-4440
adamgibs Oct 24, 2024
9f6b722
Use enum for chromosome accessions
markquintontulloch Oct 25, 2024
1dd6b15
Merge branch 'alpha' into SCRUM-4499
markquintontulloch Oct 25, 2024
e64457b
Fix migration
markquintontulloch Oct 25, 2024
6fa5821
Integration tests
markquintontulloch Oct 25, 2024
297b285
Checkstyle fixes
markquintontulloch Oct 25, 2024
f48465b
Prettify
markquintontulloch Oct 25, 2024
d37e02e
ReEnabled indexing for phenotypes
oblodgett Oct 25, 2024
b79e0c3
Re-import index libraries
markquintontulloch Oct 25, 2024
5cc47c5
Merge pull request #1696 from alliance-genome/SCRUM-4254
oblodgett Oct 25, 2024
bda4cf7
Rename bulk load groups
markquintontulloch Oct 25, 2024
41d6f3a
Merge branch 'alpha' into SCRUM-4499
markquintontulloch Oct 25, 2024
caa5ce7
pass down default column width
adamgibs Oct 25, 2024
052bfbe
Switch to text columns
markquintontulloch Oct 25, 2024
acfedab
Remove SGD load
markquintontulloch Oct 25, 2024
fdd5c91
Merge pull request #1697 from alliance-genome/fix-column-width
adamgibs Oct 25, 2024
619c584
More text columns
markquintontulloch Oct 25, 2024
3183d57
Merge branch 'alpha' into SCRUM-4499
markquintontulloch Oct 25, 2024
a85a663
Use HGVSg md5sum as variant modInternalId
markquintontulloch Oct 25, 2024
d0f76f2
Make hgvs text column
markquintontulloch Oct 25, 2024
a7ade5a
Fix incorrect constant
markquintontulloch Oct 25, 2024
9b433b8
Actually fix incorrect constant
markquintontulloch Oct 25, 2024
27d08be
Use correct assembyl accessions
markquintontulloch Oct 25, 2024
542e785
Loading tweaks
markquintontulloch Oct 25, 2024
1fcb6ba
Remove unused import
markquintontulloch Oct 25, 2024
ad1e724
Merge pull request #1695 from alliance-genome/SCRUM-4499
markquintontulloch Oct 25, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ uirun:
make -B -C src/main/cliapp
make -B -C src/main/cliapp run

pretty:
make -B -C src/main/cliapp pretty

uirunalpha:
export API_URL=https://alpha-curation.alliancegenome.org; make -B -C src/main/cliapp run; unset API_URL

Expand Down
2 changes: 1 addition & 1 deletion docker/run_opensearch
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
7 changes: 6 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<okta.version>3.0.1</okta.version>
<okta.authn.version>2.0.0</okta.authn.version>
<okta-jwt.version>0.5.1</okta-jwt.version>
<quarkus.platform.version>3.5.0</quarkus.platform.version>
<quarkus.platform.version>3.13.3</quarkus.platform.version>
<surefire-plugin.version>3.0.0-M7</surefire-plugin.version>
<maven-checkstyle-plugin.version>3.3.1</maven-checkstyle-plugin.version>
<checkstyle.version>10.17.0</checkstyle.version>
Expand Down Expand Up @@ -247,6 +247,11 @@
<artifactId>commons-collections4</artifactId>
<version>4.4</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-compress</artifactId>
<version>1.27.1</version>
</dependency>
<dependency>
<groupId>commons-collections</groupId>
<artifactId>commons-collections</artifactId>
Expand Down
3 changes: 3 additions & 0 deletions src/main/cliapp/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ all:
run:
npm start

pretty:
npx prettier --write .

runalpha:
export API_URL=https://alpha-curation.alliancegenome.org; make run; unset API_URL

Expand Down
41 changes: 27 additions & 14 deletions src/main/cliapp/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion src/main/cliapp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
"immer": "^9.0.15",
"jose": "^4.10.0",
"moment": "^2.29.1",
"moment-timezone": "^0.5.45",
"primeflex": "3.1.0",
"primeicons": "^5.0.0",
"primereact": "^10.0.9",
Expand All @@ -45,6 +46,7 @@
"react-use-websocket": "^3.0.0",
"react18-json-view": "^0.2.8",
"sass": "^1.32.8",
"update-browserslist-db": "^1.1.0",
"use-immer": "^0.7.0"
},
"scripts": {
Expand All @@ -56,7 +58,7 @@
"eslintConfig": {
"extends": [
"react-app",
"prettier"
"prettier"
]
},
"browserslist": [
Expand Down
71 changes: 62 additions & 9 deletions src/main/cliapp/src/components/EntityCountsComponent.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { DataTable } from 'primereact/datatable';
import { Column } from 'primereact/column';
import { SystemService } from '../service/SystemService';
import { CLASSES } from '../constants/Classes';
import { NumberTemplate } from './Templates/NumberTemplate';

export const EntityCountsComponent = () => {
const [tableData, setTableData] = useState({});
Expand Down Expand Up @@ -44,28 +45,80 @@ export const EntityCountsComponent = () => {
return <a href={rowData.link}>{rowData.name}</a>;
};

const ROW_HIGHLIGHT_IGNORE = ['Disease Annotations', 'Literature References', 'Bulk Loads / Failed Loads'];

const getRowClass = (rowData) => {
if (ROW_HIGHLIGHT_IGNORE.includes(rowData.name)) return;

if (rowData?.dbCount !== rowData.esCount) {
return 'bg-gray-500 text-white';
}
};

return (
<>
<div className="grid nested dashboard">
<div className="col-4">
<DataTable header="Entities" value={tableData.entity} sortField="name" sortOrder={1}>
<DataTable
header="Entities"
value={tableData.entity}
sortField="name"
sortOrder={1}
rowClassName={(rowData) => getRowClass(rowData)}
>
<Column field="name" header="Entity Name" body={nameHyperlinkTemplate} />
<Column field="dbCount" header="Database Entity Count" />
<Column field="esCount" header="Search index Entity Count" />
<Column
field="dbCount"
header="Database Entity Count"
body={(rowData) => <NumberTemplate number={rowData.dbCount} />}
/>
<Column
field="esCount"
header="Search index Entity Count"
body={(rowData) => <NumberTemplate number={rowData.esCount} />}
/>
</DataTable>
</div>
<div className="col-4">
<DataTable header="Ontologies" value={tableData.ontology} sortField="name" sortOrder={1}>
<DataTable
header="Ontologies"
value={tableData.ontology}
sortField="name"
sortOrder={1}
rowClassName={(rowData) => getRowClass(rowData)}
>
<Column field="name" header="Ontology Name" body={nameHyperlinkTemplate} />
<Column field="dbCount" header="Database Term Count" />
<Column field="esCount" header="Search index Term Count" />
<Column
field="dbCount"
header="Database Term Count"
body={(rowData) => <NumberTemplate number={rowData.dbCount} />}
/>
<Column
field="esCount"
header="Search index Term Count"
body={(rowData) => <NumberTemplate number={rowData.esCount} />}
/>
</DataTable>
</div>
<div className="col-4">
<DataTable header="System" value={tableData.system} sortField="name" sortOrder={1}>
<DataTable
header="System"
value={tableData.system}
sortField="name"
sortOrder={1}
rowClassName={(rowData) => getRowClass(rowData)}
>
<Column field="name" header="System Name" body={nameHyperlinkTemplate} />
<Column field="dbCount" header="Database Object Count" />
<Column field="esCount" header="Search index Object Count" />
<Column
field="dbCount"
header="Database Object Count"
body={(rowData) => <NumberTemplate number={rowData.dbCount} />}
/>
<Column
field="esCount"
header="Search index Object Count"
body={(rowData) => <NumberTemplate number={rowData.esCount} />}
/>
</DataTable>
</div>
</div>
Expand Down
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;
}
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;
}
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;
}

This file was deleted.

40 changes: 40 additions & 0 deletions src/main/cliapp/src/components/GenericDataTable/DataTableFooter.js
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>
);
},
}}
/>
)
);
};
Loading
Loading