GGCE Web issueshttps://gitlab.croptrust.org/grin-global/grin-global-ui/-/issues2021-03-06T02:14:56+01:00https://gitlab.croptrust.org/grin-global/grin-global-ui/-/issues/2Desktop app with Electron2021-03-06T02:14:56+01:00Matija ObrezaDesktop app with ElectronImplement basic Electron app.
Eventually the UI will look similar to:
![image](/uploads/a14703f688af2f18f70392d951956dbe/image.png)Implement basic Electron app.
Eventually the UI will look similar to:
![image](/uploads/a14703f688af2f18f70392d951956dbe/image.png)Matija ObrezaMatija Obrezahttps://gitlab.croptrust.org/grin-global/grin-global-ui/-/issues/278Viability: Environments2021-08-27T18:18:12+02:00Matija ObrezaViability: Environmentsgrin-global/grin-global-server#136 describes how different *Environments* for viability testing are registered in the database.
This ticket adds a new menu item **Environments** to the "Seed viability" section and it displays a `<Table`...grin-global/grin-global-server#136 describes how different *Environments* for viability testing are registered in the database.
This ticket adds a new menu item **Environments** to the "Seed viability" section and it displays a `<Table` of `InventoryViabilityEnvironment` records with the option to add, edit (dialog form) and remove entries (row selection).
@jarias and the team @1cgiar/palmira can provide additional input and feedback.Maksym TishchenkoMaksym Tishchenkohttps://gitlab.croptrust.org/grin-global/grin-global-ui/-/issues/280Updating Redux state2021-08-30T15:24:29+02:00Matija ObrezaUpdating Redux stateWe have several pages and forms where state is stored in Redux. This is very useful for *back button* navigation as it immediately shows the data from Redux state, plus we use Redux in our SSR implementation -- where no API call is made ...We have several pages and forms where state is stored in Redux. This is very useful for *back button* navigation as it immediately shows the data from Redux state, plus we use Redux in our SSR implementation -- where no API call is made since it was already done by the server.
Unfortunately, this introduces some problems since the data **on the server** may already be updated or even removed and the UI does not even try to do a refresh.
For example: User opens */viability/result/{id}* with no observations, then registers new observations (for this test), then clicks "View test" button to navigate back to */viability/result/{id}*. Since the data is in Redux, there is no API call, and the data now displayed to the user does not reflect the status in the database.
In this ticket we are looking for solutions so that Redux state is properly updated or cleared (not set) and reducers properly react to changes -- especially when two reducers handle the same type of data.Vladyslava MokliakVladyslava Mokliakhttps://gitlab.croptrust.org/grin-global/grin-global-ui/-/issues/303Wrapped i18n t-function2021-08-27T18:18:12+02:00Matija ObrezaWrapped i18n t-functionWe need a way to change the output of the `t()` function. In this ticket, we implement a *wrapped `t()`* function that allows us to modify the result of the i18next `t()` call. The wrapped function works in two modes: (1) is a simple pas...We need a way to change the output of the `t()` function. In this ticket, we implement a *wrapped `t()`* function that allows us to modify the result of the i18next `t()` call. The wrapped function works in two modes: (1) is a simple pass-through that just returns the result of the original `t`, and (2) returns the "key" plus the translation: `{ args[0] }:{ t(...args) }`.
Ideally, the mode of operation is controlled with a Redux state variable.Maksym TishchenkoMaksym Tishchenkohttps://gitlab.croptrust.org/grin-global/grin-global-ui/-/issues/330Citations and Literature2021-12-07T19:41:07+01:00Matija ObrezaCitations and LiteratureAdd a new section **Citations** at `/bibliography` with submenus for *Citations* and *Literature* that allow for browsing and viewing details of `Citation` and `Literature` records.
@mborodenko API endpoints need to be added.Add a new section **Citations** at `/bibliography` with submenus for *Citations* and *Literature* that allow for browsing and viewing details of `Citation` and `Literature` records.
@mborodenko API endpoints need to be added.Maksym TishchenkoMaksym Tishchenkohttps://gitlab.croptrust.org/grin-global/grin-global-ui/-/issues/409Taxonomy: Help2023-05-17T09:25:54+02:00Matija ObrezaTaxonomy: HelpAdd the **Help** page to the *Taxonomy* section of GGCE. This needs to be a just link to ggce.genesys-pgr.org documentation page.
The content is not yet available ggce/documentation#3.Add the **Help** page to the *Taxonomy* section of GGCE. This needs to be a just link to ggce.genesys-pgr.org documentation page.
The content is not yet available ggce/documentation#3.Juan Carlos Alarcon MaldonadoJuan Carlos Alarcon Maldonadohttps://gitlab.croptrust.org/grin-global/grin-global-ui/-/issues/429Consultation of orders per year2022-07-26T23:51:23+02:00Alejandro VelazquezConsultation of orders per yearIf I want a query of all the orders by year, for example 2022, I would have to put the complete initial and final date,
Is there any way to query it just writing 2022%,
using the % as a wildcard?
Also using the calendar has an error, s...If I want a query of all the orders by year, for example 2022, I would have to put the complete initial and final date,
Is there any way to query it just writing 2022%,
using the % as a wildcard?
Also using the calendar has an error, since if I select 01-01-2019 it puts 12-31-2018 (the one from 1 day before)
Issue identified by Rocio Quiroz
![Calendar](/uploads/a86f51a8a8f895a2985bdd13a7893071/Calendar.jpg)Matija ObrezaMatija Obrezahttps://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 Obrezahttps://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/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/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/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/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/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/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/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/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/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/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/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 Obreza