Genesys Website issueshttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues2023-11-13T10:18:41+01:00https://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/898UI: Accession details page2023-11-13T10:18:41+01:00Matija ObrezaUI: Accession details pageThe order of accession data on the details page (e.g. https://www.genesys-pgr.org/10.18730/EYJ~) could be improved by displaying the most relevant information first.
1. Scientific name
1. Crop
1. Biological status of accession
1. Proven...The order of accession data on the details page (e.g. https://www.genesys-pgr.org/10.18730/EYJ~) could be improved by displaying the most relevant information first.
1. Scientific name
1. Crop
1. Biological status of accession
1. Provenance of material
1. Accession number
1. DOI
1. ... remaining data
Consider if it can be reorganized according to "the categories" of MCPD descriptors from your presentation.Maksym TishchenkoMaksym Tishchenkohttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/737User can`t open network details page;2020-09-01T09:42:58+02:00Kiril MorhalenkoUser can`t open network details page;**Steps:**
1. Go to "https://sandbox.genesys-pgr.org/network";
2. Click on any network;
**Expected results:**
The network details page isn`t opened;
**Actual result:**
![image](/uploads/6b69e21b136ef193455b7200df21d9fa/image.png)**Steps:**
1. Go to "https://sandbox.genesys-pgr.org/network";
2. Click on any network;
**Expected results:**
The network details page isn`t opened;
**Actual result:**
![image](/uploads/6b69e21b136ef193455b7200df21d9fa/image.png)Maxym BorodenkoMaxym Borodenkohttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/656User who doesn't have permissions should not have buttons "Datasets" and "Sub...2020-01-22T13:30:11+01:00Kiril MorhalenkoUser who doesn't have permissions should not have buttons "Datasets" and "Subsets" on the `/dashboard` page;**Steps:**
1. Go to "https://sandbox.genesys-pgr.org/dashboard" as not vetted user;
**Expected result:**
If user doesn't have "Dashboard" and "Subset" items on the header he shouldn`t have same buttons on the navigation bar;
**Actual r...**Steps:**
1. Go to "https://sandbox.genesys-pgr.org/dashboard" as not vetted user;
**Expected result:**
If user doesn't have "Dashboard" and "Subset" items on the header he shouldn`t have same buttons on the navigation bar;
**Actual result:**
"Dashboard" and "Subset" buttons are displayed;
![image](/uploads/bb33a00bf06ae6ab817f84792cac17a7/image.png)Oleksii SavranOleksii Savranhttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/622Wrong opening sequence of "Generate FTP password" pop-ups;2019-11-29T14:19:47+01:00Kiril MorhalenkoWrong opening sequence of "Generate FTP password" pop-ups;**Steps:**
1. Go to "https://sandbox.genesys-pgr.org/admin/users/" as admin user;
2. Open profile information of any user;
3. Click on the "Generate FTP password" button;
**Expected result:**
"Do you wish to set a new FTP password for t...**Steps:**
1. Go to "https://sandbox.genesys-pgr.org/admin/users/" as admin user;
2. Open profile information of any user;
3. Click on the "Generate FTP password" button;
**Expected result:**
"Do you wish to set a new FTP password for this account?" pop-up should be open firstly;
**Actual result:**
"Your FTP credentials" is opened;
![ftp_pop-ups](/uploads/b305cf5a1d8493d4a36eaf46a3cba55d/ftp_pop-ups.gif)Oleksii SavranOleksii Savranhttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/550Add summaries field to Activity post2019-10-08T19:14:54+02:00Viacheslav PavlovAdd summaries field to Activity postWhile discussing #549 we decided to add summary field to activity posts see https://gitlab.croptrust.org/genesys-pgr/genesys-ui/issues/549#note_33884
**On the backend:**
- add summary field to Activity post, it should support markdown
...While discussing #549 we decided to add summary field to activity posts see https://gitlab.croptrust.org/genesys-pgr/genesys-ui/issues/549#note_33884
**On the backend:**
- add summary field to Activity post, it should support markdown
**On frontend:**
1. Admin part:
- add html editor for summary field before content field
2. Public part:
- replace article content with summary on the entry page (**TBD** if no summary, then maybe show content?)
- on the article display page summary should go to HTML meta **TBD**Oleksii SavranOleksii Savranhttps://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/1057Remove duplicate orders2024-03-14T08:40:19+01:00Alejandro VelazquezRemove duplicate ordersWe have received a request in GGCE from Genesys, but we want the cooperator to think that he sent the same thing 5 times.
How can we delete duplicates?
![image](/uploads/74bc7949a3c486ae3b1947abaaed3972/image.png)We have received a request in GGCE from Genesys, but we want the cooperator to think that he sent the same thing 5 times.
How can we delete duplicates?
![image](/uploads/74bc7949a3c486ae3b1947abaaed3972/image.png)https://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/1056Upgrade to React 18 and Webpack 52024-03-26T18:12:30+01:00Matija ObrezaUpgrade to React 18 and Webpack 5Upgrade to `react@18` and `webpack@5` similar to grin-global/grin-global-ui#145 and the corresponding grin-global/grin-global-ui!299 in GGCE.Upgrade to `react@18` and `webpack@5` similar to grin-global/grin-global-ui#145 and the corresponding grin-global/grin-global-ui!299 in GGCE.2024.1Maksym TishchenkoMaksym Tishchenkohttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/1055Admin: disbling OAuth clients2024-03-10T08:52:10+01:00Matija ObrezaAdmin: disbling OAuth clientsUpdate Admin for enabling/disabling OAuth clients Similar to update in grin-global/grin-global-ui!613 + https://gitlab.croptrust.org/grin-global/grin-global-ui/-/commit/8121fa98c5dae0d3c8677c6b48678d5fe5f3343eUpdate Admin for enabling/disabling OAuth clients Similar to update in grin-global/grin-global-ui!613 + https://gitlab.croptrust.org/grin-global/grin-global-ui/-/commit/8121fa98c5dae0d3c8677c6b48678d5fe5f3343e2024.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/1048Update distribution status from GGCE to Genesys2024-01-31T09:29:33+01:00Alejandro VelazquezUpdate distribution status from GGCE to GenesysHow to update distribution status in Genesys?
For example in GGCE we have accessions that are already "ARCHIVED" (Not suitable for distribution)
![image](/uploads/9850ac53a9170f9f1241e10f4d7bb507/image.png)
But in genesys it is sti...How to update distribution status in Genesys?
For example in GGCE we have accessions that are already "ARCHIVED" (Not suitable for distribution)
![image](/uploads/9850ac53a9170f9f1241e10f4d7bb507/image.png)
But in genesys it is still suitable for distribution
![image](/uploads/35ff53e1c29d9a2c11140392daaf36b6/image.png)
Is it possible to change this Genesys status from GGCE?Matija ObrezaMatija Obrezahttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/1047Subsets with API v22024-02-15T18:48:34+01:00Matija ObrezaSubsets with API v2Upgrade `Subset` models and services to `/v2` to test and improve the new API (genesys-pgr/genesys-server!841) with mapstruct, subset translations and new controllers.
As you upgrade different bits of subset logic in the UI, upgrade all...Upgrade `Subset` models and services to `/v2` to test and improve the new API (genesys-pgr/genesys-server!841) with mapstruct, subset translations and new controllers.
As you upgrade different bits of subset logic in the UI, upgrade all page and related components to use hooks. Don't try to reuse existing base classes, create new solutions that we will be able to use for Datasets (next ticket).
Start with routes in `/dashboard`.
## i18n in the UI
Since this is a rewrite of Subsets we must also address the issue with multiple i18n keys for the same thing.
We need a `model:` namespace (as we have in GGCE) for labels and hints/descriptions of each DTO property (we sometimes use `...public.f..` for these).
The non-model i18n stays where it is, but needs to be reorganized.
## Translation support
API now has support to multiple translations of Subset text data (`title` and `description`). The UI will need to be updated to allow users to manually add and manage translations of the subset (perhaps in a new step?) in the Dashboard.
The user-selected language must be used when displaying a subset (re-enable language selector for Genesys website).
## Searching
Ensure that when using full-text search all translated texts are considered. Alternatively we can use only the original language of the dataset + the translation to user's selected language.
In the MR please comment frequently on progress made and include screenshots when appropriate. Work with @ahrybeniuk on API issues.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/1045API Token management2024-01-29T08:24:48+01:00Matija ObrezaAPI Token managementgenesys-pgr/genesys-server!835 adds support for registering and using tokens to make API calls. It includes endpoints to list, create and manage API tokens. In this issue we add UI for Genesys administrators to list/add/remove API tokens...genesys-pgr/genesys-server!835 adds support for registering and using tokens to make API calls. It includes endpoints to list, create and manage API tokens. In this issue we add UI for Genesys administrators to list/add/remove API tokens for OAuth clients and Users.
- Add a new tab "API Tokens" to OAuth Client and User detail pages (accessible only with ROLE_ADMINISTRATOR)
- Add a dialog to register a new API Token
- Enable disabling and removing existing tokens2024.1Maksym TishchenkoMaksym Tishchenkohttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/1044Change language webpage2024-01-12T15:26:40+01:00Alejandro VelazquezChange language webpage
How can I change the language of the Genesys website, for example to Spanish?
![image](/uploads/ad11fb8bfad0d705d82baffdc49cc1c4/image.png)
How can I change the language of the Genesys website, for example to Spanish?
![image](/uploads/ad11fb8bfad0d705d82baffdc49cc1c4/image.png)Matija ObrezaMatija Obrezahttps://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/1041Folio/tracking number for the seed request2024-01-11T22:12:40+01:00Alejandro VelazquezFolio/tracking number for the seed requestWhen there is a seed request from Genesys, an email arrives but does not show a tracking number.
Only receive something similar to this: "[MEX002] [e240005f69d-0aef3-0004fd9-be0d-543ca00645b5f200] Request for Material"
Is it possible t...When there is a seed request from Genesys, an email arrives but does not show a tracking number.
Only receive something similar to this: "[MEX002] [e240005f69d-0aef3-0004fd9-be0d-543ca00645b5f200] Request for Material"
Is it possible to have a tracking number for each seed request? It would help us a lot to have traceability of our orders.Matija ObrezaMatija Obreza