Genesys Website issueshttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues2021-09-22T09:21:48+02:00https://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/826Subset type and trait2021-09-22T09:21:48+02:00Matija ObrezaSubset type and traitgenesys-pgr/genesys-server!654 adds two new fields to `Subset`: `subsetType` and `primaryTrait`.
In this ticket, the Dashboard UI to add/edit a subset is updated to include the selection of `subsetType` (from a list of radio-options) an...genesys-pgr/genesys-server!654 adds two new fields to `Subset`: `subsetType` and `primaryTrait`.
In this ticket, the Dashboard UI to add/edit a subset is updated to include the selection of `subsetType` (from a list of radio-options) and a text field for `primaryTrait`.
In the display of `Subset` details and in the list view, these two new fields are included after "Number of accessions":
![image](/uploads/d5522db8577eb2c0c772afd42a3d68b6/image.png)2022.1Maksym TishchenkoMaksym Tishchenkohttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/827Bug: Stale partner details2021-10-06T17:35:30+02:00Matija ObrezaBug: Stale partner detailsThe institute list is not cleared after partner details are received. To replicate:
1. Open https://www.genesys-pgr.org/partners
1. Click "AfricaRice" -- notice the CIV033 in the institute list
1. Navigate back to partner list
1. Click ...The institute list is not cleared after partner details are received. To replicate:
1. Open https://www.genesys-pgr.org/partners
1. Click "AfricaRice" -- notice the CIV033 in the institute list
1. Navigate back to partner list
1. Click "EMBRAPA Empresa Brasileira de Pesquisa Agropecuária"
1. CIV033 is still displayed until the details of EMBRAPA are loaded
This requires an update to reducers.2022.1Maksym TishchenkoMaksym Tishchenkohttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/828ActivityPost with cover image2021-10-26T12:03:14+02:00Matija ObrezaActivityPost with cover imageWe need to add support to select a cover image of an activity post in the edit form. Ideally I should be able to select one of the existing `RepositoryImage` or upload a new one.
I imagine a new component that will pop up a dialog where...We need to add support to select a cover image of an activity post in the edit form. Ideally I should be able to select one of the existing `RepositoryImage` or upload a new one.
I imagine a new component that will pop up a dialog where I can browse the folders of the Repository and it will allow me to select a file or image. It work similar to any "Open file" dialog, but should also allow me to upload a new file (select or drag&drop).
genesys-pgr/genesys-server!658 enables setting and reading of the `ActivityPost.coverImage`.
Please inform @ahrybeniuk and me if you need extra APIs for the "Image selector".2022.1Maksym TishchenkoMaksym Tishchenkohttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/829AccessionFilter: Collecting data2021-10-07T16:51:08+02:00Matija ObrezaAccessionFilter: Collecting dataAdd filter group with title *Collecting data* with `Accession` filters:
- `coll.collNumb.eq: StringArr` with label "Collecting number"
- `coll.collMissId.eq: StringArr` with label "Collecting mission"
- `coll.collMissId.contains: String...Add filter group with title *Collecting data* with `Accession` filters:
- `coll.collNumb.eq: StringArr` with label "Collecting number"
- `coll.collMissId.eq: StringArr` with label "Collecting mission"
- `coll.collMissId.contains: Stringarr` with label "Location of collecting site"
The API already supports the `coll` filters.2022.1Maksym TishchenkoMaksym Tishchenkohttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/830Update to API v22021-11-15T10:21:34+01:00Matija ObrezaUpdate to API v2New API (v2) controllers for Partner, Institute and Country are implemented in genesys-pgr/genesys-server!657.
Please update the UI client services to use the `/api/v2/` and test that the website works with the new endpoints.New API (v2) controllers for Partner, Institute and Country are implemented in genesys-pgr/genesys-server!657.
Please update the UI client services to use the `/api/v2/` and test that the website works with the new endpoints.2022.1Maksym TishchenkoMaksym Tishchenkohttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/831Footer update2021-10-21T15:57:43+02:00Matija ObrezaFooter updatePlease update the colors of the Genesys footer:
![image](/uploads/9d75031ad14995c0857ee56a79115ff8/image.png)
```css
/* Box */
background: #2B2924;
/* Line */
left: 10.42%;
right: 10.42%;
background: #4F4F4F;
/* Text */
font-family...Please update the colors of the Genesys footer:
![image](/uploads/9d75031ad14995c0857ee56a79115ff8/image.png)
```css
/* Box */
background: #2B2924;
/* Line */
left: 10.42%;
right: 10.42%;
background: #4F4F4F;
/* Text */
font-family: Nunito;
font-style: normal;
font-weight: 600;
font-size: 13px;
line-height: 25px;
/* or 192% */
text-align: center;
letter-spacing: 0.875px;
/* Gray 6 */
color: #F2F2F2;
```2022.1Matija ObrezaMatija Obrezahttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/832Activity post display2021-10-27T14:27:28+02:00Matija ObrezaActivity post displayUpdate the activity post display according to https://www.figma.com/file/oXHipxIouyWvGgERlMtcyZ/01-Gynesis_BlogPage?node-id=0%3A1
## Title
```css
font-style: normal;
font-weight: normal;
font-size: 30px;
line-height: 48px;
text-align:...Update the activity post display according to https://www.figma.com/file/oXHipxIouyWvGgERlMtcyZ/01-Gynesis_BlogPage?node-id=0%3A1
## Title
```css
font-style: normal;
font-weight: normal;
font-size: 30px;
line-height: 48px;
text-align: center;
letter-spacing: 1.425px;
color: #1E2022;
```
## Summary
```css
font-style: normal;
font-weight: normal;
font-size: 22px;
line-height: 27px;
text-align: center;
letter-spacing: 0.6px;
color: #4F4F4F;
```
## Body
```css
font-style: normal;
font-weight: normal;
font-size: 22px;
line-height: 27px;
letter-spacing: 0.6px;
color: #4F4F4F;
```
Max width for text:
![image](/uploads/c9d2ccdcecc887f1a21ae59b7c37fb80/image.png)
But images have max width 1140px:
![image](/uploads/785221ab665d116a538099aef45daf57/image.png)2022.1Maksym TishchenkoMaksym Tishchenkohttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/833CMS for CONTENTMANAGER2021-11-03T17:15:06+01:00Matija ObrezaCMS for CONTENTMANAGERUsers with role `CONTENTMANAGER` should be able to access the CMS menu and be able to add/manage activity posts.
The */admin* path can be used.Users with role `CONTENTMANAGER` should be able to access the CMS menu and be able to add/manage activity posts.
The */admin* path can be used.2022.1Maksym TishchenkoMaksym Tishchenkohttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/834UI: Header navigation and menus2022-01-31T07:53:15+01:00Matija ObrezaUI: Header navigation and menusPlease review the Genesys header (menu display) for desktop and mobile sizes. Please consider item alignment and spacing, especially for the primary Genesys pages (Accession browser @ https://sandbox.genesys-pgr.org/a/v2m88OdyqGx and Acc...Please review the Genesys header (menu display) for desktop and mobile sizes. Please consider item alignment and spacing, especially for the primary Genesys pages (Accession browser @ https://sandbox.genesys-pgr.org/a/v2m88OdyqGx and Accession display @ https://sandbox.genesys-pgr.org/a/249dc8de-1266-412a-b7b4-08c1a30ceae0).2022.1Pratichi DattaniPratichi Dattanihttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/835UI: Entry page2022-01-31T07:53:28+01:00Matija ObrezaUI: Entry pagePlease review the layout of the Genesys entry page https://sandbox.genesys-pgr.org/.Please review the layout of the Genesys entry page https://sandbox.genesys-pgr.org/.2022.1Pratichi DattaniPratichi Dattanihttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/836Broken link in the sweet potato page2021-10-27T15:16:50+02:00Christelle RabilBroken link in the sweet potato pagehttps://www.genesys-pgr.org/c/sweetpotato last link to the global strategy is not foundhttps://www.genesys-pgr.org/c/sweetpotato last link to the global strategy is not foundhttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/837Browsing recent posts2021-11-19T13:42:29+01:00Matija ObrezaBrowsing recent postsThe `ActivityPost` browse page now just lists the cards with basic post info. It needs updating to include the `coverImage` thumbnails:
![image](/uploads/326c317d461e5ab9865d9d8c2454490d/image.png)
Design in https://www.figma.com/file/...The `ActivityPost` browse page now just lists the cards with basic post info. It needs updating to include the `coverImage` thumbnails:
![image](/uploads/326c317d461e5ab9865d9d8c2454490d/image.png)
Design in https://www.figma.com/file/oXHipxIouyWvGgERlMtcyZ/01-Gynesis_BlogPage?node-id=0%3A1
Note: The first two posts are larger, remaining posts will use the smaller format.2022.1Maksym TishchenkoMaksym Tishchenkohttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/838Admin: Add user form2021-11-02T14:46:16+01:00Matija ObrezaAdmin: Add user formThe admin "Add user" form now includes a hCaptcha:
![image](/uploads/aaaa19aeaf445eaeef72e43b27566d6b/image.png)
Admin form must not require hCaptcha.The admin "Add user" form now includes a hCaptcha:
![image](/uploads/aaaa19aeaf445eaeef72e43b27566d6b/image.png)
Admin form must not require hCaptcha.2022.1Maksym TishchenkoMaksym Tishchenkohttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/839File repository access for CONTENTMANAGER2021-11-03T17:15:05+01:00Matija ObrezaFile repository access for CONTENTMANAGERPlease enable CONTENTMANAGERs access to the "File repository" in `/admin`.Please enable CONTENTMANAGERs access to the "File repository" in `/admin`.2022.1Maksym TishchenkoMaksym Tishchenkohttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/840File repository: Renaming a folder2021-11-04T15:49:09+01:00Matija ObrezaFile repository: Renaming a folderAs administrator, I need to be able to rename an existing `RepositoryFolder`:
![image](/uploads/6207fcf19928825d161113336894cde7/image.png)
In this case, I need to rename `/wiews/KEN056` to `/wiews/KEN023`.
@ahrybeniuk Do we have API...As administrator, I need to be able to rename an existing `RepositoryFolder`:
![image](/uploads/6207fcf19928825d161113336894cde7/image.png)
In this case, I need to rename `/wiews/KEN056` to `/wiews/KEN023`.
@ahrybeniuk Do we have API support for this?2022.1Maksym TishchenkoMaksym Tishchenkohttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/841Activity post ordered list display2021-11-12T13:21:17+01:00Christelle RabilActivity post ordered list displayThe ordered list of elements `ol` is using the square icon instead of using numbers, here is the picture
![image](/uploads/f033a923cf540ab48349fda86201bbd0/image.png)
See post at: https://www.genesys-pgr.org/content/news/112/cross-poll...The ordered list of elements `ol` is using the square icon instead of using numbers, here is the picture
![image](/uploads/f033a923cf540ab48349fda86201bbd0/image.png)
See post at: https://www.genesys-pgr.org/content/news/112/cross-pollinating-genesys-data-breeds-speculation2022.1Maksym TishchenkoMaksym Tishchenkohttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/842Bug: Dashboard KPI not displayed2021-11-16T09:55:43+01:00Matija ObrezaBug: Dashboard KPI not displayedThe KPI display is not updated in the Dashboard, but API calls are made to the server and come back with data.
Console log displays:
```
Uncaught (in promise) TypeError: entries method called on incompatible Object
data https://san...The KPI display is not updated in the Dashboard, but API calls are made to the server and come back with data.
Console log displays:
```
Uncaught (in promise) TypeError: entries method called on incompatible Object
data https://sandbox.genesys-pgr.org/genesys.0a1138cd2b1061517a62.js:1
gs https://sandbox.genesys-pgr.org/genesys.0a1138cd2b1061517a62.js:1
gs https://sandbox.genesys-pgr.org/genesys.0a1138cd2b1061517a62.js:1
loadInstChart https://sandbox.genesys-pgr.org/genesys.0a1138cd2b1061517a62.js:1
loadInstChart https://sandbox.genesys-pgr.org/genesys.0a1138cd2b1061517a62.js:1
```
![image](/uploads/51d53d6e423837af8f30e5d2291843e4/image.png)2022.1Maksym TishchenkoMaksym Tishchenkohttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/843Bug: Network overview2021-11-16T09:53:47+01:00Matija ObrezaBug: Network overviewClicking "Other" in network overview https://www.genesys-pgr.org/network/CGIAR throws an error and does not render "Other" data:
```
Uncaught TypeError: e is null
update https://www.genesys-pgr.org/vendors.0a1138cd2b1061517a62.js:2
```Clicking "Other" in network overview https://www.genesys-pgr.org/network/CGIAR throws an error and does not render "Other" data:
```
Uncaught TypeError: e is null
update https://www.genesys-pgr.org/vendors.0a1138cd2b1061517a62.js:2
```2022.1Maksym TishchenkoMaksym Tishchenkohttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/844Old APIv2 controllers2021-11-19T16:48:25+01:00Matija ObrezaOld APIv2 controllersUI makes use of API v2 endpoints that were removed as part of upgrading Genesys APIs in https://gitlab.croptrust.org/genesys-pgr/genesys-server/-/merge_requests/657/commits.
Some client services in the UI were recently updated, but that...UI makes use of API v2 endpoints that were removed as part of upgrading Genesys APIs in https://gitlab.croptrust.org/genesys-pgr/genesys-server/-/merge_requests/657/commits.
Some client services in the UI were recently updated, but that did not include a check if UI is using `/api/v2/**` that were removed.
Example is `SubsetService`:
```ts
// v2
const URL_APPROVE_SUBSETS = '/api/v2/subset/approve';
const URL_REVIEW_SUBSETS = '/api/v2/subset/for-review';
const URL_REJECT_SUBSETS = '/api/v2/subset/reject';
const URL_DELETE_SUBSETS = '/api/v2/subset/delete';
```2022.1Maksym TishchenkoMaksym Tishchenkohttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/845AcitivtyPost Cover Image2021-11-19T15:27:42+01:00Matija ObrezaAcitivtyPost Cover ImageOnce I set the cover image for an activity post, there's no way to **clear** it and set it back to `null`. It would also be great if the *preview* of the image in the editor used the styling of the cover image as when it is displayed to ...Once I set the cover image for an activity post, there's no way to **clear** it and set it back to `null`. It would also be great if the *preview* of the image in the editor used the styling of the cover image as when it is displayed to users:
![image](/uploads/bdf8faaa2461c4a94d43e4cb611bebbd/image.png)2022.1Maksym TishchenkoMaksym Tishchenko