GGCE Web issueshttps://gitlab.croptrust.org/grin-global/grin-global-ui/-/issues2024-03-28T12:07:11+01:00https://gitlab.croptrust.org/grin-global/grin-global-ui/-/issues/679Custom schedule of email notifications2024-03-28T12:07:11+01:00Maksym TishchenkoCustom schedule of email notificationsRelated to https://gitlab.croptrust.org/grin-global/grin-global-server/-/issues/470
In GGCE Web *Admin tools* a new section (menu) **Scheduler** is added. It allows the Adminstrator to manage `NotificationSchedule` records.
Multiple sc...Related to https://gitlab.croptrust.org/grin-global/grin-global-server/-/issues/470
In GGCE Web *Admin tools* a new section (menu) **Scheduler** is added. It allows the Adminstrator to manage `NotificationSchedule` records.
Multiple schedules can exist for the same `@ScheduledNotification`: for example one that runs on Mondays, and one on Fridays.Vladyslava MokliakVladyslava Mokliakhttps://gitlab.croptrust.org/grin-global/grin-global-ui/-/issues/678Error handling for Genesys upload2024-03-28T11:54:21+01:00Maksym TishchenkoError handling for Genesys uploadRelated to https://gitlab.croptrust.org/grin-global/grin-global-server/-/issues/476#ui-update
The upload progress dialog should include display of the number of errors found (in red) and display the error table linking to accessions:
|...Related to https://gitlab.croptrust.org/grin-global/grin-global-server/-/issues/476#ui-update
The upload progress dialog should include display of the number of errors found (in red) and display the error table linking to accessions:
|Accession|Error|
|--|--|
|[TMe-419](https://demo.ggce.genesys-pgr.org)|*Error message here...*|Vladyslava MokliakVladyslava Mokliakhttps://gitlab.croptrust.org/grin-global/grin-global-ui/-/issues/677Generating SMTA with Easy-SMTA2024-03-27T15:06:08+01:00Matija ObrezaGenerating SMTA with Easy-SMTAThis ticket adds support for generating the SMTA documents that accompany distribution of germplasm to external users. The SMTA is generated by ITPGRFA Easy-SMTA API and is based on the information of the selected `OrderRequest` record w...This ticket adds support for generating the SMTA documents that accompany distribution of germplasm to external users. The SMTA is generated by ITPGRFA Easy-SMTA API and is based on the information of the selected `OrderRequest` record when the `mtaType` is either `SMTA_SIGNED` or `SMTA_SHRINK`. Note that **click-wrap SMTA is not part of this ticket**.
The SMTA document can be requested and generated as many times as it takes to produce the final version. The generated documents are not stored by Easy-SMTA, nor are they automatically reported to ITPGRFA.
When `OrderRequest.mtaType` is either `SMTA_SIGNED` or `SMTA_SHRINK` a button labeled "Generate SMTA" is available to the user. It triggers an API call to GGCE to */api/v1/order/{id}/generate-smta*.
## GGCE API update
*/api/v1/order/{id}/generate-smta* endpoint loads and inspects that `OrderRequest` exists and has the correct `mtaType`. It then calls a new endpoint genesys-pgr/glis-client#36 in `glis-client` library for generating the document with Easy-SMTA. It will respond with a PDF document which must be registered as a new `OrderRequestAttach` and stored in the file repository.2024.4Maksym TishchenkoMaksym Tishchenkohttps://gitlab.croptrust.org/grin-global/grin-global-ui/-/issues/676Unable to get all data traits2024-03-20T00:59:55+01:00Antonio RiveraUnable to get all data traitsWe are trying to get all traits by Characterization given an specific value (Primary Race)
![image.png](/uploads/07d3e016647bc3f8ca4e9ea5c5435384/image.png)
While in Curator Toor we have more than 54, 000 records in GGCE we have only ...We are trying to get all traits by Characterization given an specific value (Primary Race)
![image.png](/uploads/07d3e016647bc3f8ca4e9ea5c5435384/image.png)
While in Curator Toor we have more than 54, 000 records in GGCE we have only 34 records.
**_GGCE_**
![image.png](/uploads/b5267f4b9c299c4f376ea47d35ce90dd/image.png)
![image.png](/uploads/c50ab698da09e1c0cf1cc1d6b795c6d1/image.png)
![image.png](/uploads/70a8c9f695359738b183fd829404c20d/image.png)
**CuratorTool**
![image.png](/uploads/548461c9043a171110317b5c1134a234/image.png)
![image.png](/uploads/ac7d9983ccbe12a1624a439bc2a9c6a3/image.png)
**Note: Even scrolling down we can not get more results. But there is a second API call after first call.**
![image.png](/uploads/0eeb75feeb05c4bd80aade6720d56f5a/image.png)
![image.png](/uploads/55db4307ad39748608f0cb46fb6430e7/image.png)https://gitlab.croptrust.org/grin-global/grin-global-ui/-/issues/674Allow the user to compare sites2024-03-19T17:50:07+01:00Juan Carlos Alarcon MaldonadoAllow the user to compare sitesWe need to add a new tool to *Inventory* section that allows the user to select `site1` and `site2` and specify `AccessionFilters`. GGCE will then display a table:
| Accession | Site 1 | Site 2 |
|-----------|--------|--------|
| TMe-419...We need to add a new tool to *Inventory* section that allows the user to select `site1` and `site2` and specify `AccessionFilters`. GGCE will then display a table:
| Accession | Site 1 | Site 2 |
|-----------|--------|--------|
| TMe-419 | 2 | 0 |
Columns `site1` and `site2` contain the number of inventories (`quantityOnHand > 0 and formTypeCode != '**'`) at that site.
Additional filters should allow the user to specify the number range of the two values.2024.2Maksym TishchenkoMaksym Tishchenkohttps://gitlab.croptrust.org/grin-global/grin-global-ui/-/issues/668Click wrap SMTA2024-03-27T14:23:24+01:00Clinton O. OgwuikeClick wrap SMTAPlease we need to follow up with click-wrap GGCE feature to make sure that is helps produce an SMTA document.Please we need to follow up with click-wrap GGCE feature to make sure that is helps produce an SMTA document.Matija ObrezaMatija Obrezahttps://gitlab.croptrust.org/grin-global/grin-global-ui/-/issues/661Table with virtualized rows2024-03-12T15:55:11+01:00Matija ObrezaTable with virtualized rowsOur `<Table` implementation adds all data rows as `tr` to table's `tbody`. When the list is large, the number of DOM elements becomes a lot for the browser to handle. This also results in slow unmounting/mounting of the `<Table` componen...Our `<Table` implementation adds all data rows as `tr` to table's `tbody`. When the list is large, the number of DOM elements becomes a lot for the browser to handle. This also results in slow unmounting/mounting of the `<Table` component.
Adopt and adapt virtualized support for `TableRow` from `react-window` https://github.com/bvaughn/react-window.
This would allow the UI to remain responsive even with thousands of data rows available for display.
This is not a priority issue.Maksym TishchenkoMaksym Tishchenkohttps://gitlab.croptrust.org/grin-global/grin-global-ui/-/issues/656GGCE Desktop App2024-02-03T20:34:32+01:00Matija ObrezaGGCE Desktop AppIf ever we would want to build a desktop version of GGCE then [Eclipse Theia Platform](https://theia-ide.org/) seems to be an option.If ever we would want to build a desktop version of GGCE then [Eclipse Theia Platform](https://theia-ide.org/) seems to be an option.Matija ObrezaMatija Obrezahttps://gitlab.croptrust.org/grin-global/grin-global-ui/-/issues/649Migrate descriptor information to Genesys2024-01-23T20:56:59+01:00Alejandro VelazquezMigrate descriptor information to GenesysWe need to migrate the accession descriptor information from GGCE to Genesys.
This is possible?We need to migrate the accession descriptor information from GGCE to Genesys.
This is possible?Matija ObrezaMatija Obrezahttps://gitlab.croptrust.org/grin-global/grin-global-ui/-/issues/647How to edit trait values?2024-01-12T16:38:54+01:00Alejandro VelazquezHow to edit trait values?I'm trying to edit the values of some traits but there is no edit option.
Also in the "Trait data" area there should be a search panel, to search for a specific accession because also the screen only shows me 100 records.
![Como_edit...I'm trying to edit the values of some traits but there is no edit option.
Also in the "Trait data" area there should be a search panel, to search for a specific accession because also the screen only shows me 100 records.
![Como_editar_lo_valores_de_los_traits](/uploads/772b6c93c1eae20e4708e391d87bb164/Como_editar_lo_valores_de_los_traits.mp4)https://gitlab.croptrust.org/grin-global/grin-global-ui/-/issues/645crop_trait_observation_data table data2024-01-24T01:18:17+01:00Alejandro Velazquezcrop_trait_observation_data table dataWhere can I see the crop_trait_observation_data in GGCE?
I can only see them in curator tool but not in GGCE
![image](/uploads/977498db485ced3b70d28fff59c1f380/image.png)Where can I see the crop_trait_observation_data in GGCE?
I can only see them in curator tool but not in GGCE
![image](/uploads/977498db485ced3b70d28fff59c1f380/image.png)https://gitlab.croptrust.org/grin-global/grin-global-ui/-/issues/632Seed Viability: Medium used in the test2023-10-31T10:39:20+01:00Juan Carlos Alarcon MaldonadoSeed Viability: Medium used in the testFor the Seed viability process, the `medium` used could be different for each crop. Recording this information allows the user to track this medium informationFor the Seed viability process, the `medium` used could be different for each crop. Recording this information allows the user to track this medium informationJuan Carlos Alarcon MaldonadoJuan Carlos Alarcon Maldonadohttps://gitlab.croptrust.org/grin-global/grin-global-ui/-/issues/611Components are hooks2023-12-05T11:00:57+01:00Matija ObrezaComponents are hooksGGCE-UI inherited a lot of code from Genesys, including `BrowsePage` etc. These rely on React class components and their state is difficult to maintain considering all dependencies they have.
There are **some `<Components`** like `<Tabl...GGCE-UI inherited a lot of code from Genesys, including `BrowsePage` etc. These rely on React class components and their state is difficult to maintain considering all dependencies they have.
There are **some `<Components`** like `<Table` that will not be switched over to hooks. Focus on the **easy components**.2023.7Maksym TishchenkoMaksym Tishchenkohttps://gitlab.croptrust.org/grin-global/grin-global-ui/-/issues/610User Settings Context2023-08-09T20:31:33+02:00Matija ObrezaUser Settings ContextWe are now storing a number of user preferences in `localStorage` (e.g. table configuration with column order, width, etc.)
In this ticket we implement a React **`Context`** that loads user preferences from the server (instead of `local...We are now storing a number of user preferences in `localStorage` (e.g. table configuration with column order, width, etc.)
In this ticket we implement a React **`Context`** that loads user preferences from the server (instead of `localStorage`) and downloads those preferences on demand. When a preference is updated, it is sent to the API in the background.
When the user switches between browser tabs or windows, the settings applied in the original tab are automatically in effect in this tab.
We will be using `AppUserGuiSetting`s with `appName` of **`GGCE-UI`** and `resourceKey` with the value of the setting. Additionally `formName` may be used to specify the area/form/etc. of the setting, but we may not need to use that.2023.7Vladyslava MokliakVladyslava Mokliakhttps://gitlab.croptrust.org/grin-global/grin-global-ui/-/issues/588Dark mode2023-07-26T08:58:15+02:00Matija ObrezaDark modeAdd support for **dark** mode to GGCE UI. The color table is as follows:
| Name | Normal color | Dark mode color |
|------|--------------|-----------------|
| Main BG | #FBFBFB | #161717 |
| Side Nav-BG | #FFFFFF | #202020 |
| Side Nav-...Add support for **dark** mode to GGCE UI. The color table is as follows:
| Name | Normal color | Dark mode color |
|------|--------------|-----------------|
| Main BG | #FBFBFB | #161717 |
| Side Nav-BG | #FFFFFF | #202020 |
| Side Nav-Text | #717579 | #717579 |
| Side Nav-Text Active | #8BBF42 | #8BBF42 |
| Title text | #161717 | #FFFFFF |
| Title line | #8BBF42 | #8BBF42 |
| Box | #FFFFFF | #202020 |
| Box green border | #8BBF42 | #8BBF42 |
| Green - Completed | #09BD3C | #09BD3C |
| Orange - In Progress | #F2994A | #F2994A |
| Red - Overdue | #FC2E53 | #FC2E53 |
| Box - chart | #EEEEEE | #202020 |
| Checkbox | #F2F2F2 | #171B1E |
| Checkbox Border | #717579 | #717579 |Maksym TishchenkoMaksym Tishchenkohttps://gitlab.croptrust.org/grin-global/grin-global-ui/-/issues/577Putting a loading component in the UI2023-08-09T20:17:39+02:00James AriasPutting a loading component in the UIGood Afternoon @mobreza
In the UI where the Withdrawn Inventories are created, at the time of the activity of creating withdrawn Inventories that shows the user that the activity is running for example by placing a load component in th...Good Afternoon @mobreza
In the UI where the Withdrawn Inventories are created, at the time of the activity of creating withdrawn Inventories that shows the user that the activity is running for example by placing a load component in the UI.
1 step: Select the policy and click on create
![image](/uploads/b13125ac028c6acba8ba6803cd07baca/image.png)
2 step: display the load component, this helps the user, that the task is running.
![MD4](/uploads/57d31c45728e302b989bea652c2b0ff7/MD4.jpg)
***It would also apply to the UI, when doing the actions of the items.**
Thank you very much!
RegardsMatija ObrezaMatija Obrezahttps://gitlab.croptrust.org/grin-global/grin-global-ui/-/issues/561Custom extra menus2023-05-12T07:25:32+02:00Matija ObrezaCustom extra menusThis is to revist #165 idea. We would like to add some additional menu items to the main navigation (e.g. link to the institute website).
The additional main menu elements are stored as `AppResource` entries with `appName === 'GGCE'`, `...This is to revist #165 idea. We would like to add some additional menu items to the main navigation (e.g. link to the institute website).
The additional main menu elements are stored as `AppResource` entries with `appName === 'GGCE'`, `formName === 'mainMenu'` and `appResourceName === 'link'`. Multiple entries have different `sortOrder` and are displayed by this order.
|appName|formName|appResourceName|sortOrder|displayMember|valueMember|description|
|--|--|--|--|--|--|--|
|GGCE|mainMenu|link|0|Intranet|httpx://intranet.local|Visit the intranet|
|GGCE|mainMenu|link|1|Public website|httpx://www.institute|Go to the website|Matija ObrezaMatija Obrezahttps://gitlab.croptrust.org/grin-global/grin-global-ui/-/issues/522Review EN translations2023-02-06T10:19:26+01:00Matija ObrezaReview EN translationsReview the English translations for consistency.Review the English translations for consistency.https://gitlab.croptrust.org/grin-global/grin-global-ui/-/issues/513React 18 (renderToPipeableStream) streaming support for MUI + tss-react2024-03-05T10:14:28+01:00Maksym TishchenkoReact 18 (renderToPipeableStream) streaming support for MUI + tss-reactOriginal discussion in https://gitlab.croptrust.org/grin-global/grin-global-ui/-/merge_requests/299
React 18 (`renderToPipeableStream`) streaming needs to be implemented when it will be supported by `tss-react` or `MUI`.
Open issues on...Original discussion in https://gitlab.croptrust.org/grin-global/grin-global-ui/-/merge_requests/299
React 18 (`renderToPipeableStream`) streaming needs to be implemented when it will be supported by `tss-react` or `MUI`.
Open issues on that matter:
https://github.com/garronej/tss-react/issues/125
https://github.com/mui/material-ui/issues/33280Vladyslava MokliakVladyslava Mokliakhttps://gitlab.croptrust.org/grin-global/grin-global-ui/-/issues/471Show GG-CE images in Genesys2024-03-07T08:52:14+01:00Alejandro VelazquezShow GG-CE images in GenesysWe currently upload our images with the inventory attachment Wizard and can indicate that they are displayed on the GRIN-Global website.
Ask:
Will images uploaded to GG-CE be automatically displayed in Genesys?We currently upload our images with the inventory attachment Wizard and can indicate that they are displayed on the GRIN-Global website.
Ask:
Will images uploaded to GG-CE be automatically displayed in Genesys?Matija ObrezaMatija Obreza