Genesys Website issueshttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues2021-12-07T15:13:06+01:00https://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/858Bug: Reordering descriptors2021-12-07T15:13:06+01:00Matija ObrezaBug: Reordering descriptorsMike reports that he cannot reorder descriptors in a Dataset (or Descriptor List).
![image](/uploads/be54ed25f9bbb0151e879d7a3f92302f/image.png)
Error logged is:
```
Uncaught TypeError: a.getBoundingClientRect is not a function
ho...Mike reports that he cannot reorder descriptors in a Dataset (or Descriptor List).
![image](/uploads/be54ed25f9bbb0151e879d7a3f92302f/image.png)
Error logged is:
```
Uncaught TypeError: a.getBoundingClientRect is not a function
hover
value
re
re
Q
value
handleTopDragOver
```2022.1Maksym TishchenkoMaksym Tishchenkohttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/855UI: Update header2021-12-07T09:53:55+01:00Matija ObrezaUI: Update headerPlease implement the new header layout:
![image](/uploads/924a745efd56238baf5cfe06e26be18a/image.png) ![image](/uploads/0a5db539a361310f078362a5e4d962bc/image.png)
Design in https://www.figma.com/file/oXHipxIouyWvGgERlMtcyZ/01-Gynesis_...Please implement the new header layout:
![image](/uploads/924a745efd56238baf5cfe06e26be18a/image.png) ![image](/uploads/0a5db539a361310f078362a5e4d962bc/image.png)
Design in https://www.figma.com/file/oXHipxIouyWvGgERlMtcyZ/01-Gynesis_BlogPage?node-id=0%3A481
Notes:
1. Mobile header has one hamburger in the right corner. We'll include the login options in it.
1. Otherwise, the header seems to be centered (like the content)
1. It seems that links to "content" are blue
1. Menus open on **click** (and not hover)
1. **Login** menu should open the popup below, and if logged-in, then we will use the blue links.
![image](/uploads/f65fa914797df6e52cc5448e1e3fa78e/image.png)2022.1Maksym TishchenkoMaksym Tishchenkohttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/820UI: Base fonts, colors and layouts2021-12-03T16:13:22+01:00Matija ObrezaUI: Base fonts, colors and layoutsRevise the base (document-level) fonts and colors of the Genesys website for readability and accessibility. The base text styles apply to entire page and are customized only where needed.
Please consider the colors of the top navigation...Revise the base (document-level) fonts and colors of the Genesys website for readability and accessibility. The base text styles apply to entire page and are customized only where needed.
Please consider the colors of the top navigation, footer and the (currently green) page heading.2022.1Pratichi DattaniPratichi Dattanihttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/819UI: Content pages2021-12-03T15:40:50+01:00Matija ObrezaUI: Content pagesGenesys is not a CMS like wordpress, support for "text pages" is limited. https://www.genesys-pgr.org/content/about/sitemap is an example of a *Content Page*.
How can we present this content better?
Should we do something with the navi...Genesys is not a CMS like wordpress, support for "text pages" is limited. https://www.genesys-pgr.org/content/about/sitemap is an example of a *Content Page*.
How can we present this content better?
Should we do something with the navigation to other pages on the right hand side?
![image](/uploads/4e46832a2fdf57fd2e4289811661afb0/image.png)Pratichi DattaniPratichi Dattanihttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/847UI: Secondary content2021-12-02T14:02:03+01:00Christelle RabilUI: Secondary contentThis was mentioned in another issue but it's better to have a seperate one for it:
@ptrivedi revisiting the design of the navigation to other pages on the right hand side, it has the impression that it's a table of contents for the pos...This was mentioned in another issue but it's better to have a seperate one for it:
@ptrivedi revisiting the design of the navigation to other pages on the right hand side, it has the impression that it's a table of contents for the post, so please replace it with a **You may be interested in** section after the article body, with sufficient margin to the text, a nice heading and then have the links displayed (as bullet points?) as mentioned by @mobreza :
![image](/uploads/76958ab36b9fc2b80d45837314b520fc/image.png)Maksym TishchenkoMaksym Tishchenkohttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/850Subsetting tool2021-11-29T19:33:50+01:00Matija ObrezaSubsetting toolWe will integrate the prototype of the Subsetting Tool (by CIAT+ICARDA) to Genesys.We will integrate the prototype of the Subsetting Tool (by CIAT+ICARDA) to Genesys.2022.1Maksym TishchenkoMaksym Tishchenkohttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/849Accessions map: Filters2021-11-26T08:44:14+01:00Matija ObrezaAccessions map: FiltersChanging filters on the accession map */a/map* uses a popup dialog to change filters.
Please move the filters to the left as they are in the list and overview pages.Changing filters on the accession map */a/map* uses a popup dialog to change filters.
Please move the filters to the left as they are in the list and overview pages.2022.1Maksym TishchenkoMaksym Tishchenkohttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/851Character limit to activity post title2021-11-24T14:25:44+01:00Christelle RabilCharacter limit to activity post titleThe title in the activity post page of new cassava and wild relatives data from Zambia is cropped (last word "sorghum" is missing) even though it appears on the landing page:
![image](/uploads/e856ff85387185897c794d44894b31f6/image.png...The title in the activity post page of new cassava and wild relatives data from Zambia is cropped (last word "sorghum" is missing) even though it appears on the landing page:
![image](/uploads/e856ff85387185897c794d44894b31f6/image.png)
![image](/uploads/dbec13343951e2a0c9cb05d8ff3a0236/image.png)2022.1Maksym TishchenkoMaksym Tishchenkohttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/846Entry page Activity Posts2021-11-24T14:12:10+01:00Christelle RabilEntry page Activity PostsPlease use the new cards for the activity posts on the entry page:
![image](/uploads/4479f1bb1932e684f72b8e82ff4712a5/image.png)Please use the new cards for the activity posts on the entry page:
![image](/uploads/4479f1bb1932e684f72b8e82ff4712a5/image.png)2022.1Maksym TishchenkoMaksym Tishchenkohttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/852Bug loading Partner institutes2021-11-24T09:50:17+01:00Matija ObrezaBug loading Partner institutesPlease check https://www.genesys-pgr.org/partners/6d698c38-a435-4bad-9f43-06517308ce62 and scroll to the end of the screen to load the next page. Observe the `<Loading />` indicator...
There's no reason to clear the display of already l...Please check https://www.genesys-pgr.org/partners/6d698c38-a435-4bad-9f43-06517308ce62 and scroll to the end of the screen to load the next page. Observe the `<Loading />` indicator...
There's no reason to clear the display of already loaded institutes.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 Tishchenkohttps://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/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/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/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/818UI: Browse activity posts2021-11-11T15:06:52+01:00Matija ObrezaUI: Browse activity postsHow can https://www.genesys-pgr.org/content/news be enhanced to render more useful information to the user?
Please also consider the display of the post itself (e.g. https://www.genesys-pgr.org/content/news/105/genesys-planned-downtime ...How can https://www.genesys-pgr.org/content/news be enhanced to render more useful information to the user?
Please also consider the display of the post itself (e.g. https://www.genesys-pgr.org/content/news/105/genesys-planned-downtime or https://www.genesys-pgr.org/content/news/104/searching-for-similar-accessions)Pratichi DattaniPratichi Dattanihttps://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/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 Tishchenko