Genesys Website issueshttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues2024-03-22T01:13:21+01:00https://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/1058Bug: Link accessions silently fails when genus is missing in Dataset2024-03-22T01:13:21+01:00Matija ObrezaBug: Link accessions silently fails when genus is missing in DatasetWhen a default `GENUS` is not specified in Dataset properties and there exists one row where `"genus": ""` then **Link accessions** will report success, but one of the API calls fails with `400 Bad request`. This needs to be reported to ...When a default `GENUS` is not specified in Dataset properties and there exists one row where `"genus": ""` then **Link accessions** will report success, but one of the API calls fails with `400 Bad request`. This needs to be reported to the user instead of silently ignored.2024.1Maksym TishchenkoMaksym Tishchenkohttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/1054Starting a request for material fails2024-03-01T06:01:59+01:00Matija ObrezaStarting a request for material failsClicking "Request for material" on https://sandbox.genesys-pgr.org/sel throws a fatal error message.Clicking "Request for material" on https://sandbox.genesys-pgr.org/sel throws a fatal error message.2024.1Maksym TishchenkoMaksym Tishchenkohttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/1051Institute KPI: Availability for distribution in Show KPI not the same as in t...2024-02-19T19:26:06+01:00Christelle RabilInstitute KPI: Availability for distribution in Show KPI not the same as in the passport data filterFiltering for MEX002 number of available accessions for distribution:
![image](/uploads/b6e406e78b46adc719ddac04e0910a26/image.png)
versus
Number indicated in the MEX002 KPI page:
![image](/uploads/2e6ce85357d41f121a40163deb97dd27/im...Filtering for MEX002 number of available accessions for distribution:
![image](/uploads/b6e406e78b46adc719ddac04e0910a26/image.png)
versus
Number indicated in the MEX002 KPI page:
![image](/uploads/2e6ce85357d41f121a40163deb97dd27/image.png)
I'm not sure but seems to be a bugMatija ObrezaMatija Obrezahttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/1050Bug in line charts2024-01-29T16:28:12+01:00Matija ObrezaBug in line charts@vhernandez found a bug in the line charts.
The bug manifests itself when hovering the mouse over the points on the graph, preventing the tooltip with the data corresponding to the point from being displayed. This problem persists in bo...@vhernandez found a bug in the line charts.
The bug manifests itself when hovering the mouse over the points on the graph, preventing the tooltip with the data corresponding to the point from being displayed. This problem persists in both sandbox and production environments.
![image](/uploads/bb0b43ec5b001655419777fbca06d0ba/image.png)
The function related to this error was added in the "index.tsx" file within the "workspaces/ui-express/src/ui/common/line-chart" folder, with the commit "KPI: Date charts use dateUtc scale."
Additionally, I have observed another drawback in the map tab. A bug occurs when, after entering the map tab, you switch to another tab and then switch back to the map tab.
![image](/uploads/811f87ca9174cd52afff200d17dcb98b/image.png)2024.1Maksym TishchenkoMaksym Tishchenkohttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/1046Language autocomplete not working2024-01-16T14:26:14+01:00Matija ObrezaLanguage autocomplete not workingWhen creating a new Dataset (while developing) I am unable to specify the language in "Select language of the dataset" field. The console logs:
> Warning: Failed prop type: Invalid prop `suggestions` of type `boolean` supplied to `Autos...When creating a new Dataset (while developing) I am unable to specify the language in "Select language of the dataset" field. The console logs:
> Warning: Failed prop type: Invalid prop `suggestions` of type `boolean` supplied to `Autosuggest`, expected `array`.
and the UI dies.2024.1Maksym TishchenkoMaksym Tishchenkohttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/1043Institute KPI: show PDCI average not sum2024-01-11T17:14:04+01:00Matija ObrezaInstitute KPI: show PDCI average not sumInstitute KPI includes a "Summary" section that aggregates the numbers:
![image](/uploads/e0a6cd626ae8f289ff3d394b036dbd0d/image.png)
The **PDCI** part is incorrect because it now sums the values -- which are averages, not counts. To c...Institute KPI includes a "Summary" section that aggregates the numbers:
![image](/uploads/e0a6cd626ae8f289ff3d394b036dbd0d/image.png)
The **PDCI** part is incorrect because it now sums the values -- which are averages, not counts. To correctly summarize the PDCI in "Summary" section the calculation of the value for each date needs to be calculated by:
```
A = sum(PDCI for crop * number of accessions for crop) for all crops
B = sum(number of accessions by crop) for all crops
summarized(PDCI) = A / B
```2024.1Maksym TishchenkoMaksym Tishchenkohttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/1042Crop page crash2024-01-11T11:08:15+01:00Matija ObrezaCrop page crashhttps://sandbox.genesys-pgr.org/c/sorghum https://sandbox.genesys-pgr.org/c/banana crash with "Error: ReferenceError: exports is not defined". Most other crop pages load just fine.
The only difference I found is that these two crops hav...https://sandbox.genesys-pgr.org/c/sorghum https://sandbox.genesys-pgr.org/c/banana crash with "Error: ReferenceError: exports is not defined". Most other crop pages load just fine.
The only difference I found is that these two crops have `..._tree.json` files that display the crop diversity tree.2024.1Maksym TishchenkoMaksym Tishchenkohttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/1040Bug: Histogram bin not displayed2024-01-08T18:30:46+01:00Matija ObrezaBug: Histogram bin not displayedhttps://www.genesys-pgr.org/datasets/ae9cac23-86c8-4aef-b67b-0a99cfc067d8/overview has 1780 accessions for one bin, but the bin is not rendered (it is, but it has a width of `0`).
![image](/uploads/23dc994d7b6709539e10a4f6e3a8cf94/image...https://www.genesys-pgr.org/datasets/ae9cac23-86c8-4aef-b67b-0a99cfc067d8/overview has 1780 accessions for one bin, but the bin is not rendered (it is, but it has a width of `0`).
![image](/uploads/23dc994d7b6709539e10a4f6e3a8cf94/image.png)
![image](/uploads/77c8d588ad7494c28c4087ac4abcea37/image.png)Maksym TishchenkoMaksym Tishchenkohttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/1036Removing image from descriptor in draft2024-01-10T07:43:27+01:00Christelle RabilRemoving image from descriptor in draftAfter uploading an image to a descriptor (for example: https://sandbox.genesys-pgr.org/dashboard/descriptors/ebea3288-59d9-4857-9139-219418b14d0a/edit ) we cannot then remove it, and an error message shows:
![Screenshot_2023-12-13_at_10...After uploading an image to a descriptor (for example: https://sandbox.genesys-pgr.org/dashboard/descriptors/ebea3288-59d9-4857-9139-219418b14d0a/edit ) we cannot then remove it, and an error message shows:
![Screenshot_2023-12-13_at_10.22.47](/uploads/b84c4e47b5ab8f52b5cc28abe267fb2f/Screenshot_2023-12-13_at_10.22.47.png)Maksym TishchenkoMaksym Tishchenkohttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/1033Editing descriptor in review2023-11-30T16:49:41+01:00Christelle RabilEditing descriptor in reviewYonas reported this message after pressing the edit buttuon on descriptors in review :
>Something went wrong
>
>A bug caused this rapid unscheduled disassembly of Genesys. Please refresh the page and retry your action. If that does not ...Yonas reported this message after pressing the edit buttuon on descriptors in review :
>Something went wrong
>
>A bug caused this rapid unscheduled disassembly of Genesys. Please refresh the page and retry your action. If that does not help, please contact Genesys support and let them know about the problem.
>
>Error: Cannot be un-published. More than 24 hours have passed since the publication.
>URL: https://www.genesys-pgr.org/descriptors/41d610d1-b1ba-4aae-8f1d-da38ee12f37f
(I also tried on my side, and after clearing cache but also same message as above)
cc: @mobrezaVladyslava MokliakVladyslava Mokliakhttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/1031Curation Type overviews2023-12-06T11:42:28+01:00Matija ObrezaCuration Type overviewshttps://sandbox.genesys-pgr.org/a/overview/v285k6eKJq0 shows overviews for Curation Type:
- PARTIAL .. 7
- ARCHIVED .. 6
- FULL .. 6
- HISTORICAL .. 4
- Not specified .. 30,422
Clicking any of the numbers does not seem to work correctl...https://sandbox.genesys-pgr.org/a/overview/v285k6eKJq0 shows overviews for Curation Type:
- PARTIAL .. 7
- ARCHIVED .. 6
- FULL .. 6
- HISTORICAL .. 4
- Not specified .. 30,422
Clicking any of the numbers does not seem to work correctly. Please investigate and fix.Maksym TishchenkoMaksym Tishchenkohttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/1030Updating file repository metadata2023-12-06T05:42:02+01:00Matija ObrezaUpdating file repository metadata@macosta reports he's getting an error message when updating the images metadata with the CSV file:
![image](/uploads/cb6cea39abbcea74b06a126d79ae94c8/image.png)
Please investigate and fix.@macosta reports he's getting an error message when updating the images metadata with the CSV file:
![image](/uploads/cb6cea39abbcea74b06a126d79ae94c8/image.png)
Please investigate and fix.Maksym TishchenkoMaksym Tishchenkohttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/1028Uploading descriptor definitions as CSV2023-11-13T10:04:13+01:00Christelle RabilUploading descriptor definitions as CSVWhen admins try to copy-paste descriptor definitions from the Genesys catalog template, an error message shows, and the descriptors do not get uploaded:
![image](/uploads/a44f4506396cc98d23845134e857d44a/image.png)
This is in Dashboard...When admins try to copy-paste descriptor definitions from the Genesys catalog template, an error message shows, and the descriptors do not get uploaded:
![image](/uploads/a44f4506396cc98d23845134e857d44a/image.png)
This is in Dashboard > Catalog > Descriptor lists > add new one > Step 2
cc: @mobrezaMaksym TishchenkoMaksym Tishchenkohttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/1023Country page bugs2023-12-04T10:16:37+01:00Matija ObrezaCountry page bugsThe "Country details" page (e.g. https://sandbox.genesys-pgr.org/iso3166/AUS) does not render overviews provided by the API and only renders the species:
![image](/uploads/88ff767af8e4b625bc37547d6657a819/image.png)
```json
{
"overvie...The "Country details" page (e.g. https://sandbox.genesys-pgr.org/iso3166/AUS) does not render overviews provided by the API and only renders the species:
![image](/uploads/88ff767af8e4b625bc37547d6657a819/image.png)
```json
{
"overview": {
"taxonomy.genusSpecies": {
"terms": [
{
"term": "Triticum aestivum",
"count": 8135
},
{
"term": "Trifolium sp.",
"count": 3401
},
{
"term": "Hordeum vulgare",
"count": 2396
},
{
"term": "Medicago sp.",
"count": 1927
},
{
"term": "Pisum sativum",
"count": 1108
},
{
"term": "Avena sativa",
"count": 1095
},
{
"term": "Festuca sp.",
"count": 873
},
{
"term": "Glycine max",
"count": 806
},
{
"term": "Lotus sp.",
"count": 729
},
{
"term": "Zea mays",
"count": 524
}
],
"total": 53756,
"other": 32762,
"missing": null
},
"institute.code": {
"terms": [
{
"term": "AUS167",
"count": 13428
},
{
"term": "AUS165",
"count": 10997
},
{
"term": "GBR004",
"count": 8473
},
{
"term": "RUS001",
"count": 3031
},
{
"term": "KEN212",
"count": 2137
},
{
"term": "USA029",
"count": 1819
},
{
"term": "USA033",
"count": 1076
},
{
"term": "USA016",
"count": 941
},
{
"term": "TWN001",
"count": 865
},
{
"term": "LBN002",
"count": 814
}
],
"total": 53756,
"other": 10175,
"missing": null
},
"institute.country.code3": {
"terms": [
{
"term": "AUS",
"count": 24425
},
{
"term": "GBR",
"count": 9648
},
{
"term": "USA",
"count": 6047
},
{
"term": "RUS",
"count": 3031
},
{
"term": "KEN",
"count": 2176
},
{
"term": "TWN",
"count": 865
},
{
"term": "LBN",
"count": 814
},
{
"term": "ETH",
"count": 772
},
{
"term": "MEX",
"count": 694
},
{
"term": "ITA",
"count": 548
}
],
"total": 53756,
"other": 4736,
"missing": null
},
"mlsStatus": {
"terms": [
{
"term": "true",
"count": 17900
},
{
"term": "false",
"count": 9742
}
],
"total": 53756,
"other": 0,
"missing": 26114
},
"available": {
"terms": [
{
"term": "true",
"count": 13491
},
{
"term": "false",
"count": 6338
}
],
"total": 53756,
"other": 0,
"missing": 33927
},
"taxonomy.genus": {
"terms": [
{
"term": "Triticum",
"count": 8708
},
{
"term": "Trifolium",
"count": 4405
},
{
"term": "Medicago",
"count": 2804
},
{
"term": "Glycine",
"count": 2599
},
{
"term": "Hordeum",
"count": 2537
},
{
"term": "Avena",
"count": 1647
},
{
"term": "Pisum",
"count": 1122
},
{
"term": "Acacia",
"count": 1062
},
{
"term": "Festuca",
"count": 924
},
{
"term": "Vigna",
"count": 855
}
],
"total": 53756,
"other": 27093,
"missing": null
}
}
}
```
## Buttons
Also add "Browse" and "Overview" buttons like on Network/Institute pages (see #1021):
![image](/uploads/3eb1f805732583db2e02a225b9c40d0d/image.png)2023.8Maksym TishchenkoMaksym Tishchenkohttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/1017Download option for trait data2023-09-27T16:43:04+02:00Christelle RabilDownload option for trait dataIn the traits tab there used to be the download button:
![image](/uploads/d463a65e06d28321da2a1b74b1468090/image.png)
But it is not showing now:
![image](/uploads/31ef2074bb4bdfb41888b89ec3d3907b/image.png)In the traits tab there used to be the download button:
![image](/uploads/d463a65e06d28321da2a1b74b1468090/image.png)
But it is not showing now:
![image](/uploads/31ef2074bb4bdfb41888b89ec3d3907b/image.png)Yevhenii PykhovYevhenii Pykhovhttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/1016Titles of climate map layers2023-09-27T11:14:37+02:00Christelle RabilTitles of climate map layersThe list of climate map overlays is listing the layer names as codes for example `ACCESSIONS.CLIMATE.BIO1`
![image](/uploads/a2b09ff6489351eeaf0abf4ad2b4e3da/image.png)The list of climate map overlays is listing the layer names as codes for example `ACCESSIONS.CLIMATE.BIO1`
![image](/uploads/a2b09ff6489351eeaf0abf4ad2b4e3da/image.png)Yevhenii PykhovYevhenii Pykhovhttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/1015Bug message showing up in Sandbox2023-09-12T13:34:29+02:00Christelle RabilBug message showing up in SandboxIn Sandbox, I accessed my dashboard and cliked on one of the institute names to the left hand side:
![image](/uploads/402e86d876fb9a4975e7f1e7c88358d6/image.png)
Then this message showed up:
![image](/uploads/9d4e60bf1727c88cdcde0d69a...In Sandbox, I accessed my dashboard and cliked on one of the institute names to the left hand side:
![image](/uploads/402e86d876fb9a4975e7f1e7c88358d6/image.png)
Then this message showed up:
![image](/uploads/9d4e60bf1727c88cdcde0d69a6d75631/image.png)
I need to click three to four times on the CLOSE button to close it.Maksym TishchenkoMaksym Tishchenkohttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/1014Request for material color coding2023-09-14T13:17:47+02:00Christelle RabilRequest for material color codingAccessions that usually used to be marked in red in My List, for example from EURISCO, are now green:
![image](/uploads/080d41b3f8467dbcb076def8eef42396/image.png)
Is this a bug, or did EURISCO enable this in Genesys?Accessions that usually used to be marked in red in My List, for example from EURISCO, are now green:
![image](/uploads/080d41b3f8467dbcb076def8eef42396/image.png)
Is this a bug, or did EURISCO enable this in Genesys?Yevhenii PykhovYevhenii Pykhovhttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/1012Check if <ErrorBoundary works correctly2023-09-04T19:44:06+02:00Maksym TishchenkoCheck if <ErrorBoundary works correctlyThis is from discussion on https://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/merge_requests/1019#note_80419
Make sure that `<ErrorBoundary` behaves correctly and it properly catches all child component errors.This is from discussion on https://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/merge_requests/1019#note_80419
Make sure that `<ErrorBoundary` behaves correctly and it properly catches all child component errors.Maksym TishchenkoMaksym Tishchenkohttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/1010Bug in loading page of one accession2023-08-23T10:48:13+02:00Christelle RabilBug in loading page of one accessionWhen clicking of permalink of a single accession, an arror 404 is showing: https://www.genesys-pgr.org/a/e7fa695c-ea43-4608-a812-626b4da31085When clicking of permalink of a single accession, an arror 404 is showing: https://www.genesys-pgr.org/a/e7fa695c-ea43-4608-a812-626b4da31085Maksym TishchenkoMaksym Tishchenko