Genesys Website issueshttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues2023-10-26T18:28:40+02:00https://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/1021Browse and overview buttons for data provider2023-10-26T18:28:40+02:00Matija ObrezaBrowse and overview buttons for data providerPlease add "Browse" and "Overview" buttons to the Data Provider page:
![image](/uploads/510b4864161911a04b82aa1cc9a1740e/image.png)
They should look the same as for a single Institute:
![image](/uploads/3e860e98638fb942b82aa02b19c3b8d...Please add "Browse" and "Overview" buttons to the Data Provider page:
![image](/uploads/510b4864161911a04b82aa1cc9a1740e/image.png)
They should look the same as for a single Institute:
![image](/uploads/3e860e98638fb942b82aa02b19c3b8d0/image.png)
We apparently already have this button for Networks, but not for **Crops** where "Overview" is missing. Please add it:
![image](/uploads/83a8e3a77da8e5728ac9ccdde9da510f/image.png)2023.8Maksym TishchenkoMaksym Tishchenkohttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/1020FAB for actions2023-10-27T16:57:02+02:00Matija ObrezaFAB for actionsOn the `/a` page move buttons to Floating Action Button (FAB):
![image](/uploads/76633772224bb898843ffc65842036e8/image.png)
On `/a/map` move buttons to FAB.
I think this means wherever we use `<Tabs actions={...` and `<Table` then w...On the `/a` page move buttons to Floating Action Button (FAB):
![image](/uploads/76633772224bb898843ffc65842036e8/image.png)
On `/a/map` move buttons to FAB.
I think this means wherever we use `<Tabs actions={...` and `<Table` then we need to use the FAB.2023.8Maksym TishchenkoMaksym Tishchenkohttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/1019Error message dialog2023-10-25T16:18:19+02:00Matija ObrezaError message dialogOur "Something went wrong" dialog now asks people to report the issue to helpdesk. A lot of the times, a simple **Refresh** of Genesys page fixes the problem, specially for chunk loading:
> Error: ChunkLoadError: Loading chunk 50 failed...Our "Something went wrong" dialog now asks people to report the issue to helpdesk. A lot of the times, a simple **Refresh** of Genesys page fixes the problem, specially for chunk loading:
> Error: ChunkLoadError: Loading chunk 50 failed.
Please update the dialog to include a message: "Please refresh the page and retry your action. If that does not help, please contact helpdesk@genesys-pgr.org".2023.8Maksym TishchenkoMaksym Tishchenkohttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/1018Main header layout2023-10-25T16:17:30+02:00Matija ObrezaMain header layoutI'd like the **Logo** to be glued to the left (or right in RTL), the **login/user menu** glued to the right (left in RTL) and the **main navigation** to be aligned with the filters:
![image](/uploads/a16bac06bc91b377718c8eef79328192/ima...I'd like the **Logo** to be glued to the left (or right in RTL), the **login/user menu** glued to the right (left in RTL) and the **main navigation** to be aligned with the filters:
![image](/uploads/a16bac06bc91b377718c8eef79328192/image.png)
The issue will be only with "article layouts" that use `margin: auto` to be centered in the page:
![image](/uploads/05d8d267ed93a83b268b0ad951618051/image.png)
To be able to still have the **main navigation** in the exact same position you may adjust the layout so that one margin grows only until a specific size, but the contents is the same width:
![image](/uploads/4b1e91d220919d5875cc81da205c52ed/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/1013Accession Traits tab updates2023-09-05T11:26:35+02:00Matija ObrezaAccession Traits tab updatesThe order of descriptor categories must be:
```
PASSPORT: Passport data,
ENVIRONMENT: Environment and site,
MANAGEMENT: Management data,
CHARACTERIZATION: Characterization,
EVALUATION: Evaluation,
ABIOTICSTRESS: Abiotic stress,
BIOTICS...The order of descriptor categories must be:
```
PASSPORT: Passport data,
ENVIRONMENT: Environment and site,
MANAGEMENT: Management data,
CHARACTERIZATION: Characterization,
EVALUATION: Evaluation,
ABIOTICSTRESS: Abiotic stress,
BIOTICSTRESS: Biotic stress,
MOLECULAR: Molecular marker,
```
1. Fix order of descriptor categories
1. Please check and update the **Traits** tab on mobile devices.2023.6Maksym TishchenkoMaksym Tishchenkohttps://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/1011Overviews with Curation Type2023-09-02T06:28:40+02:00Matija ObrezaOverviews with Curation TypeThis is a simple ticket to add more overview groups to Geneys.
1. Add "Curation type" overview to Overview `/a/overview`.
2. Update institute details page `/wiews/XXXyyy` with additional Overviews:
- Biological status of accession
...This is a simple ticket to add more overview groups to Geneys.
1. Add "Curation type" overview to Overview `/a/overview`.
2. Update institute details page `/wiews/XXXyyy` with additional Overviews:
- Biological status of accession
- Provenance of material
- Type of Germplasm storage
- Curation type
- FAO WIEWS code of donor institute
- Breeder code
- Site of safety duplication
- Safety duplicated in Svalbard
- ITGPRFA Multi-lateral system
- Available for distribution2023.5Yevhenii PykhovYevhenii Pykhovhttps://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 Tishchenkohttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/1009Bug in Admin: Users2023-08-18T09:23:57+02:00Matija ObrezaBug in Admin: UsersI can't access Admin > Users on Sandbox. Please check.I can't access Admin > Users on Sandbox. Please check.2023.5Maksym TishchenkoMaksym Tishchenkohttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/1008Accession trait data2023-09-01T19:20:14+02:00Matija ObrezaAccession trait dataAdd a new tab "Traits" to accession browser. The tab **is only enabled** if the current filter includes one of `institute.code`, `taxonomy.genus` or `crop`. The tab does not have SSR support.
The new component first executes an API call...Add a new tab "Traits" to accession browser. The tab **is only enabled** if the current filter includes one of `institute.code`, `taxonomy.genus` or `crop`. The tab does not have SSR support.
The new component first executes an API call to */api/v1/datasets/accessions-datasets* with the existing accession filter in the request body. This returns a set of dataset `uuid`s. Next the code looks up the information of these datasets using */api/v1/datasets/list*. For each dataset, it fetches descriptor details using */api/v1/descriptor/list/details*. This allows us to build a `datasetDescriptors: Map<uuid, List<Descriptor>>` and a `descriptorDatasets: Map<uuid, List<Dataset>>` for lookups.
## Selecting trait descriptors
All available trait descriptors are displayed and can be toggled on and off, similar to configuring the *Subsetting Tool*:
![image](/uploads/d6df8cbec377c781a4c24a42d1bbdba2/image.png)
The body of each descriptor section displays (1) the names of datasets where descriptor is present and (2) the descriptor filter:
![image](/uploads/6cccd93fd59975e3c7a3e74f0e593333/image.png)
## Table
Below the descriptor selection we display a `<Table`. The table `configuration` uses the selected descriptors (toggled on) for columns and their renderers. The "My list" and "Accession" columns are always included, same as in our [searchable datasets](https://sandbox.genesys-pgr.org/datasets/ecfca747-36bd-478e-82f5-fd2d70911306/view).
## Loading table data
"Apply trait filters" button is in the section where descriptors are selected (above the table). No data is loaded until trait filters are applied.
The button fetches trait data from */api/v1/datasets/data* and submits the trait data filter in the body. This filter includes the accession filters:
```json
{
"accession": <ACCESSION FILTER>,
"observations": <TRAIT FILTERS>
}
```2023.5Maksym TishchenkoMaksym Tishchenkohttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/1007Quick download2023-09-01T19:49:06+02:00Matija ObrezaQuick downloadgenesys-pgr/genesys-server!799 adds a new endpoint to download a **CSV file** of the filtered accessions. It accepts a HTTP POST to `/api/v1/a/query` with the following form parameters:
- `_access_token` is the user's access token
- `se...genesys-pgr/genesys-server!799 adds a new endpoint to download a **CSV file** of the filtered accessions. It accepts a HTTP POST to `/api/v1/a/query` with the following form parameters:
- `_access_token` is the user's access token
- `select` the columns to include in the file
- `filter` the filter JSON object (as text)
The download limit is 1,000,000 records.
## UI
Add a button "Quick download". Please make all download buttons available only to logged in users.
When "Quick download" clicked, it opens a dialog with:
- Title: Download passport data for {} accessions in CSV format
- Body
- A list of labels with checkboxes for `uuid`, `instCode` (disabled, always on), `accessionNumber` (always on), `doi` (always on), `storage`, `duplSite`, `taxonomy.genus`, `taxonomy.species`
- The labels should reuse existing `t` names from `model:Accession`!
- The standard Download disclaimer
- Footer: "Download" button
"Download" must be placed in a HTML `<form method="POST" target=".../api/v1/a/query">` with the form parameters listed above.2023.5Maksym TishchenkoMaksym Tishchenkohttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/1006Datasets: Analyze tab2023-08-19T07:28:30+02:00Matija ObrezaDatasets: Analyze tabThe **Analyze** tab now shows all combinations of traits automatically. We need to give user more control over what to analyze.
On the **Analyze** tab, we need to prompt the user to pick the traits to compare. Let's add a new component ...The **Analyze** tab now shows all combinations of traits automatically. We need to give user more control over what to analyze.
On the **Analyze** tab, we need to prompt the user to pick the traits to compare. Let's add a new component `CompareTraits` that lets the user to **Select two traits to analyze** with two dropdowns that list (relevant) descriptors.
As the user changes their selection (as long as they select two descriptors), the chart comparing the two is displayed as it is displayed now. If the user picks "Row number/lateral florets" and "Lemma awn/hood" they get:
![image](/uploads/e1bd56758b88cf97f7966127feb8c2f8/image.png)
If only one descriptor is selected, then we display just the histogram of that trait.
## ... and while we're at it
Clicking on the heatmap chart should apply the **two** filters for that area.2023.5Maksym TishchenkoMaksym Tishchenkohttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/1005Datasets: Filter title t-function2023-08-11T12:12:34+02:00Matija ObrezaDatasets: Filter title t-functionThe component rendering filters applies `t` to the title provided. When that `title` contains a `:` as in the example below, the full title is no longer displayed.
Notice how **Awns:** is missing from the filter section:
![image](/upl...The component rendering filters applies `t` to the title provided. When that `title` contains a `:` as in the example below, the full title is no longer displayed.
Notice how **Awns:** is missing from the filter section:
![image](/uploads/4bef96c2e308b145959e27a13ef08851/image.png)
Please remove the use of `t(title)` and **make sure** the title coming to the component is already translated.2023.5Maksym TishchenkoMaksym Tishchenkohttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/1004Datasets: Chart legend2023-08-11T12:14:47+02:00Matija ObrezaDatasets: Chart legendThe screenshot from `https://sandbox.genesys-pgr.org/datasets/ecfca747-36bd-478e-82f5-fd2d70911306/overview` shows how the labels overflow the available space:
![image](/uploads/7fe16b37ef90ab41e1da0fc95a479e5d/image.png)
The better di...The screenshot from `https://sandbox.genesys-pgr.org/datasets/ecfca747-36bd-478e-82f5-fd2d70911306/overview` shows how the labels overflow the available space:
![image](/uploads/7fe16b37ef90ab41e1da0fc95a479e5d/image.png)
The better display would use a **Chart legend** that renders the **displayed** codes below the chart like we do for **scale descriptors**:
![image](/uploads/b4f5f967614d9ce40e445f2c572d6e31/image.png)
## Summary
The chart uses codes on X axis and they are displayed without slanting (just normal), and then **below the chart** we display the coding table for scale and for coded descriptors.
## And while we're at it
Please relabel "Count" on Y axis to "Accessions".2023.5Maksym TishchenkoMaksym Tishchenkohttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/1003Datasets: Click to apply a filter2023-08-14T20:28:07+02:00Matija ObrezaDatasets: Click to apply a filterAs I explore the data of `https://sandbox.genesys-pgr.org/datasets/ecfca747-36bd-478e-82f5-fd2d70911306/overview` I'd like to click a category (bar) and Genesys should apply the filter for the criteria I selected.
For example: in these ...As I explore the data of `https://sandbox.genesys-pgr.org/datasets/ecfca747-36bd-478e-82f5-fd2d70911306/overview` I'd like to click a category (bar) and Genesys should apply the filter for the criteria I selected.
For example: in these charts (one a histogram, one categorical)
![image](/uploads/2283d5aad15fdc8190f5f1978d74408f/image.png)
... so that when I click on a green bar of the histogram or chart, Genesys should apply that filter and show me the results (staying on the same page).
## While we're at it
If the `Descriptor` has `uom` (unit of measure) then it should be displayed in the chart and card as `The title and then in square brackets [${uom$}]`.
## Cards of the same size
![image](/uploads/55b64a29e664c1273e59ccacab6e0172/image.png)
The screenshot shows that the two `Card`s are not of the same height. Please fix that.2023.5Maksym TishchenkoMaksym Tishchenkohttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/1002Accession Curation type2023-08-04T19:29:19+02:00Matija ObrezaAccession Curation typegenesys-pgr/genesys-server!793 adds `curationType: string` to `Accession`.
Please add `<PropertyItem` before "Availability for distribution" to AccessionDetails.
Use the following translations of the `enum`:
- `FULL`: Fully curated
- ...genesys-pgr/genesys-server!793 adds `curationType: string` to `Accession`.
Please add `<PropertyItem` before "Availability for distribution" to AccessionDetails.
Use the following translations of the `enum`:
- `FULL`: Fully curated
- `PARTIAL`: Partly curated
- `ARCHIVED`: Archived
- `HISTORICAL`: Historical2023.5Maksym TishchenkoMaksym Tishchenko