Genesys Website issueshttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues2019-11-29T08:13:30+01:00https://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/604Dashboard: List partners of user2019-11-29T08:13:30+01:00Matija ObrezaDashboard: List partners of userThe entry page of the Dashboard is now blank https://www.genesys-pgr.org/dashboard.
Update this page and list the partners for which the current user can manage data.The entry page of the Dashboard is now blank https://www.genesys-pgr.org/dashboard.
Update this page and list the partners for which the current user can manage data.1.0Oleksii SavranOleksii Savranhttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/605Accession filter groups2019-11-27T12:26:37+01:00Matija ObrezaAccession filter groupsUpdate Accession Filters grouping:
1. Split "Text search" and keep only `_text` in this section.
1. Add section "Holding institute" with `institute.code` and `institute.country.iso3`.
1. Add section "Accession number" with `accessionNum...Update Accession Filters grouping:
1. Split "Text search" and keep only `_text` in this section.
1. Add section "Holding institute" with `institute.code` and `institute.country.iso3`.
1. Add section "Accession number" with `accessionNumber` and `seqNo`.
I think we have all translations for these labels.1.0Oleksii SavranOleksii Savranhttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/606Page shakes2019-11-28T16:39:10+01:00Kiril MorhalenkoPage shakesIf user open search`s dropdown, page is shaken:
**Steps:**
1. Open "https://sandbox.genesys-pgr.org/"
2. Click on the search`s dropdown;
**Expected result:**
Page isn`t shaken;
**Actual result:**
Scroll bar disappears and page is shak...If user open search`s dropdown, page is shaken:
**Steps:**
1. Open "https://sandbox.genesys-pgr.org/"
2. Click on the search`s dropdown;
**Expected result:**
Page isn`t shaken;
**Actual result:**
Scroll bar disappears and page is shaken;
![home_page_is_shaken](/uploads/3e0c28e6b9e4a9fd6ba240b727b3646b/home_page_is_shaken.gif)Oleksii SavranOleksii Savranhttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/607"Login with google" button shifted2019-11-28T16:39:09+01:00Kiril Morhalenko"Login with google" button shifted"Login with google" button is shifted.
**Steps:**
1. Open "https://sandbox.genesys-pgr.org/" page;
2. Move mouse to "Login" header`s item;
3. Click "Login with google" button;
**Expected result:**
Buttons on the Login dropdown shouldn`..."Login with google" button is shifted.
**Steps:**
1. Open "https://sandbox.genesys-pgr.org/" page;
2. Move mouse to "Login" header`s item;
3. Click "Login with google" button;
**Expected result:**
Buttons on the Login dropdown shouldn`t be shifted;
**Actual result:**
Login with google button is shifted;
![image](/uploads/20970661983fe8b8f46fc0eebb972907/image.png)Oleksii SavranOleksii Savranhttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/608Language header color2019-11-28T16:39:08+01:00Kiril MorhalenkoLanguage header colorLanguage header item changes color if user click "Clear list" on the /sel page
**Steps:**
1. Go to "https://sandbox.genesys-pgr.org/sel";
2. Add some accession to the list;
3. Click "Clear list" button;
**Expected result:**
Language he...Language header item changes color if user click "Clear list" on the /sel page
**Steps:**
1. Go to "https://sandbox.genesys-pgr.org/sel";
2. Add some accession to the list;
3. Click "Clear list" button;
**Expected result:**
Language header's item shouldn't change color;
**Actual result:**
Language item changes color and shifted
![landuage_item_changes_color_and_shifted](/uploads/5a7a39849f1fe666f8f8468149402fca/landuage_item_changes_color_and_shifted.gif)Oleksii SavranOleksii Savranhttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/609Adjust width of filter options2019-11-27T12:16:56+01:00Matija ObrezaAdjust width of filter optionsThe max width needs to be adjusted:
![image](/uploads/0c1d04d22b44e1f73ea566d6a48bd298/image.png)The max width needs to be adjusted:
![image](/uploads/0c1d04d22b44e1f73ea566d6a48bd298/image.png)1.0Oleksii SavranOleksii Savranhttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/610Dropdown with languages list is overlay on header on the RTL mode;2019-11-28T16:39:08+01:00Kiril MorhalenkoDropdown with languages list is overlay on header on the RTL mode;**Steps:**
1. Go to "https://sandbox.genesys-pgr.org/ar/";
2. Move mouse to language header`s item;
**Expected result:**
Dropdown with languages list Shouldn`t be overlaid;
**Actual result:**
Dropdown with languages list is overlay on ...**Steps:**
1. Go to "https://sandbox.genesys-pgr.org/ar/";
2. Move mouse to language header`s item;
**Expected result:**
Dropdown with languages list Shouldn`t be overlaid;
**Actual result:**
Dropdown with languages list is overlay on header;
![image](/uploads/64fbf0312815a64950791772a67ee902/image.png)Oleksii SavranOleksii Savranhttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/611Select area functionality2020-04-06T10:58:26+02:00Kiril MorhalenkoSelect area functionality**Steps:**
1. Go to "https://sandbox.genesys-pgr.org/a/map/v2OkQqJ4qAZ/@0,0,3z";
2. Click on the "Select area" icon;
3. Select any area;
**Expected result:**
Filters with location of selected area is applied;
**Actual result:**
Select ...**Steps:**
1. Go to "https://sandbox.genesys-pgr.org/a/map/v2OkQqJ4qAZ/@0,0,3z";
2. Click on the "Select area" icon;
3. Select any area;
**Expected result:**
Filters with location of selected area is applied;
**Actual result:**
Select area functionality doesn`t work;
![Select_area_funclionality](/uploads/37f5a8813080172490e81bab922ce835/Select_area_funclionality.gif)Oleksii SavranOleksii Savranhttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/612Extra filter label is added;2019-11-26T20:40:17+01:00Kiril MorhalenkoExtra filter label is added;**Steps:**
1. Go to "https://sandbox.genesys-pgr.org/a/overview";
2. Enter to the "Institute code" filter text "BEL084" and tap enter;
3. Click "+" for "BEL084" entered value;
4. Click on the "Apply filters" button;
**Expected result:**...**Steps:**
1. Go to "https://sandbox.genesys-pgr.org/a/overview";
2. Enter to the "Institute code" filter text "BEL084" and tap enter;
3. Click "+" for "BEL084" entered value;
4. Click on the "Apply filters" button;
**Expected result:**
Extra filter label `Excluding Historic` shouldn`t be applied;
**Actual result:**
Extra filter label `Excluding Historic` is appears and accessions` overview data isn't displays;
![Extra_filter_label_is_added](/uploads/b90281505e9dc64169b4f054d1e6fe7d/Extra_filter_label_is_added.gif)Viacheslav PavlovViacheslav Pavlovhttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/613DashboardPage: KPIs2020-01-07T07:46:50+01:00Matija ObrezaDashboardPage: KPIsIf the user has at least one Partner record, then we wish to display a set of KPI charts (like Admin dashboard) for a selected INSTCODE.
The user can now select one of his data providers and the (initial) list of institutes for that pro...If the user has at least one Partner record, then we wish to display a set of KPI charts (like Admin dashboard) for a selected INSTCODE.
The user can now select one of his data providers and the (initial) list of institutes for that provider is displayed on the Dashboard.
Obtain the available KPI metrics names: */api/v1/kpi/observations* and then make placeholders for charts (like Admin dashboard). The chart data is not loaded until the user selects an institute code. When the user selects one of his institute codes, the data for available metrics is loaded and displayed.
Use `/api/v1/kpi/observations/range/${executionName}` call and provide a filter for selected institute (e.g. `{ "institute.code": [ "COL003" ] }`):
```bash
curl 'https://api.genesys-pgr.org/api/v1/kpi/observations/range/accessions.count.withImage?days=14' \
-H 'Accept: application/json, text/plain, */*' --compressed \
-H 'Authorization: Bearer ...' \
-H 'Content-Type: application/json' -H 'Origin: https://www.genesys-pgr.org' \
--data '{ "institute.code": [ "COL003" ] }'
```
We need to see how we render the charts because the data comes in series.1.0Viacheslav PavlovViacheslav Pavlovhttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/614Excluding option isn`t displayed after applying filters:2019-12-09T07:37:39+01:00Kiril MorhalenkoExcluding option isn`t displayed after applying filters:**Steps:**
1. Go to "https://sandbox.genesys-pgr.org/a/overview/";
2. Click on the "Wild" option in the "BIOLOGICAL STATUS OF ACCESSION" filter twice (for exclude wild accessions);
3. Apply filters;
**Expected result:**
Filters are appl...**Steps:**
1. Go to "https://sandbox.genesys-pgr.org/a/overview/";
2. Click on the "Wild" option in the "BIOLOGICAL STATUS OF ACCESSION" filter twice (for exclude wild accessions);
3. Apply filters;
**Expected result:**
Filters are applied and check boxes are displayed on the left panel;
**Actual result:**
Excluding option isn`t displayed
![checkboxes_are_nt_displayed](/uploads/81a0222b771499823870ba3e08c6907b/checkboxes_are_nt_displayed.gif)Viacheslav PavlovViacheslav Pavlovhttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/615Excluding sub option is unchecked if user select main option;2019-12-03T10:42:56+01:00Kiril MorhalenkoExcluding sub option is unchecked if user select main option;**Steps:**
1. Go to "https://sandbox.genesys-pgr.org/a/overview/";
2. Click on the "Natural" option in the "BIOLOGICAL STATUS OF ACCESSION" filter twice (for exclude Natural accessions);
3. Click on the "Wild" option in the "BIOLOGICAL S...**Steps:**
1. Go to "https://sandbox.genesys-pgr.org/a/overview/";
2. Click on the "Natural" option in the "BIOLOGICAL STATUS OF ACCESSION" filter twice (for exclude Natural accessions);
3. Click on the "Wild" option in the "BIOLOGICAL STATUS OF ACCESSION" filter.
**Expected result:**
Sub option should be stay in the previous state;
**Actual result:**
Sub option should have the same state with main option;
![sub_option_state](/uploads/6245e6779e2b92611337512264acc5f5/sub_option_state.gif)Oleksii SavranOleksii Savranhttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/616Autocomplete on the permission pop-up;2019-11-28T16:39:07+01:00Kiril MorhalenkoAutocomplete on the permission pop-up;**Steps:**
1. Go to "https://sandbox.genesys-pgr.org/subsets/6feed6ca-4b58-4920-9dd6-96846ada69f9" as admin user;
2. Click on the "Permissions" button;
3. Enter to the "Sid" field test "Sudan";
4. Click on the option in the drop-down;
*...**Steps:**
1. Go to "https://sandbox.genesys-pgr.org/subsets/6feed6ca-4b58-4920-9dd6-96846ada69f9" as admin user;
2. Click on the "Permissions" button;
3. Enter to the "Sid" field test "Sudan";
4. Click on the option in the drop-down;
**Expected result:**
Selected value is entered to the field;
**Actual result:**
Selected value isn`t entered to the field;
![permisions_popup_dropdowns](/uploads/079e8552c07db3407b7f58d9964e5939/permisions_popup_dropdowns.gif)Oleksii SavranOleksii Savranhttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/617Request is canceled if user goes to the accession tab;2019-11-27T15:35:35+01:00Kiril MorhalenkoRequest is canceled if user goes to the accession tab;**Steps:**
1. Go to "https://sandbox.genesys-pgr.org/a/overview";
2. Apply filter "Excluding Holder: GBR140";
3. Click on the "Accessions" tab;
**Expected result:**
User is on the `/a` page and filters are applied;
**Actual result:**
R...**Steps:**
1. Go to "https://sandbox.genesys-pgr.org/a/overview";
2. Apply filter "Excluding Holder: GBR140";
3. Click on the "Accessions" tab;
**Expected result:**
User is on the `/a` page and filters are applied;
**Actual result:**
Request is failed after 19.99 sec;
![requset_is_canceled](/uploads/8624ba4f00bc63113211d8a1c754d8ca/requset_is_canceled.gif)Anastasiia KarasAnastasiia Karashttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/618Date filter doesn't work if user enter same date on the `from` `to` fields;2019-11-28T17:09:39+01:00Kiril MorhalenkoDate filter doesn't work if user enter same date on the `from` `to` fields;**Steps:**
1. Go to "https://sandbox.genesys-pgr.org/a/";
2. Enter to the "Last modified" filter to the field "From" date "05/05/2014"
3. Enter to the "Last modified" filter to the field "To" date "05/05/2014"
4. Click on the "Apply filt...**Steps:**
1. Go to "https://sandbox.genesys-pgr.org/a/";
2. Enter to the "Last modified" filter to the field "From" date "05/05/2014"
3. Enter to the "Last modified" filter to the field "To" date "05/05/2014"
4. Click on the "Apply filters" button;
**Expected result:**
Accessions, which have last update in 05/05/2014, are present;
**Actual result:**
Accessions aren`t present;
![date_filter](/uploads/36fda8a784516968d3f07e4973e7bcc5/date_filter.gif)
But such accessions are available
![image](/uploads/49e89a17e8033dfdc1187ec6629ce83b/image.png)Maxym BorodenkoMaxym Borodenkohttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/619Include/Exclude icon does not changes;2019-11-28T16:57:29+01:00Kiril MorhalenkoInclude/Exclude icon does not changes;**Steps:**
1. Go to "https://sandbox.genesys-pgr.org/a/overview/v2bQzKZq7Z7";
2. Go to "/c/apple" page;
3. Click on the quantity of accessions for Holder inst. "CHE063";
**Expected result:**
`/a/overview` page is opened and filter label...**Steps:**
1. Go to "https://sandbox.genesys-pgr.org/a/overview/v2bQzKZq7Z7";
2. Go to "/c/apple" page;
3. Click on the quantity of accessions for Holder inst. "CHE063";
**Expected result:**
`/a/overview` page is opened and filter labels are matched displaying applied filters in the left panel;
**Actual result:**
Exclude icon for inst. CHE063 is displayed but applied filter is Include;
![image](/uploads/fbc8d324e8c94084ca1fc28997ea1074/image.png)Oleksii SavranOleksii Savranhttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/620Request is failed with status code 500 if user try to add accession from deta...2019-12-12T15:36:59+01:00Kiril MorhalenkoRequest is failed with status code 500 if user try to add accession from details page;**Steps:**
1. Open "https://sandbox.genesys-pgr.org/a/f8f3bd9f-2c49-4efe-94e4-8db6fdfd010a";
2. Click on "Add CGAU 0 to my list" check box;
**Expected result:**
Accession is added to "My list";
**Actual result:**
Request is failed with...**Steps:**
1. Open "https://sandbox.genesys-pgr.org/a/f8f3bd9f-2c49-4efe-94e4-8db6fdfd010a";
2. Click on "Add CGAU 0 to my list" check box;
**Expected result:**
Accession is added to "My list";
**Actual result:**
Request is failed with status code 500
![Request_is_failed_with_status_code_500_add_to_my_list](/uploads/a4fe475f0a3374218395841405f878a7/Request_is_failed_with_status_code_500_add_to_my_list.gif)Viacheslav PavlovViacheslav Pavlovhttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/621Full-text filter doesn`t work;2019-11-29T11:10:43+01:00Kiril MorhalenkoFull-text filter doesn`t work;**Steps:**
1. Go to "https://sandbox.genesys-pgr.org/a";
2. Enter to the "Full-text" filter any text;
3. Apply filters;
**Expected result:**
Filter should be applied;
**Actual result:**
Request is failed
![image](/uploads/2cbde83b12c9...**Steps:**
1. Go to "https://sandbox.genesys-pgr.org/a";
2. Enter to the "Full-text" filter any text;
3. Apply filters;
**Expected result:**
Filter should be applied;
**Actual result:**
Request is failed
![image](/uploads/2cbde83b12c9ebfa4989ce8bfd34c63a/image.png)Maxym BorodenkoMaxym Borodenkohttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/622Wrong opening sequence of "Generate FTP password" pop-ups;2019-11-29T14:19:47+01:00Kiril MorhalenkoWrong opening sequence of "Generate FTP password" pop-ups;**Steps:**
1. Go to "https://sandbox.genesys-pgr.org/admin/users/" as admin user;
2. Open profile information of any user;
3. Click on the "Generate FTP password" button;
**Expected result:**
"Do you wish to set a new FTP password for t...**Steps:**
1. Go to "https://sandbox.genesys-pgr.org/admin/users/" as admin user;
2. Open profile information of any user;
3. Click on the "Generate FTP password" button;
**Expected result:**
"Do you wish to set a new FTP password for this account?" pop-up should be open firstly;
**Actual result:**
"Your FTP credentials" is opened;
![ftp_pop-ups](/uploads/b305cf5a1d8493d4a36eaf46a3cba55d/ftp_pop-ups.gif)Oleksii SavranOleksii Savranhttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/623Page isn`t scrolled if user goes by link with position key;2019-12-03T13:09:33+01:00Kiril MorhalenkoPage isn`t scrolled if user goes by link with position key;**Steps:**
1. Go to "https://sandbox.genesys-pgr.org/descriptorlists/9189a850-805b-42bc-8960-ddbe2d9bc7b8#d-161d3347-e736-4764-b9c4-56f519f6635d";
**Expected result:**
Page is opened and scrolled to the content with label "Iron";
**Act...**Steps:**
1. Go to "https://sandbox.genesys-pgr.org/descriptorlists/9189a850-805b-42bc-8960-ddbe2d9bc7b8#d-161d3347-e736-4764-b9c4-56f519f6635d";
**Expected result:**
Page is opened and scrolled to the content with label "Iron";
**Actual result:**
Page isn`t scrolled;
![page_isn_t_scrolled](/uploads/1cb0ead5a46b863a8eda53d0b993dda5/page_isn_t_scrolled.gif)
We have the same issue and on the `/documentation` page;Oleksii SavranOleksii Savranhttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/624Send request button is disabled on request stepper after user refreshes page;2019-12-03T12:51:58+01:00Kiril MorhalenkoSend request button is disabled on request stepper after user refreshes page;**Steps:**
1. Go to "https://sandbox.genesys-pgr.org/sel";
2. Add any available accession to the myList e.g "TVu-1";
3. Press the "Send request" button;
4. Pay attention that accession is available for distribution;
5. Go to the second s...**Steps:**
1. Go to "https://sandbox.genesys-pgr.org/sel";
2. Add any available accession to the myList e.g "TVu-1";
3. Press the "Send request" button;
4. Pay attention that accession is available for distribution;
5. Go to the second step;
6. Refresh the page;
7. Fill form with any valid data;
8. Go to the next step;
**Expected result:**
The "Submit request" button is active;
**Actual result:**
The "Submit request button" is disabled;
![requset_low_prior](/uploads/dbfa8db9df6d52655b0df29e2607af90/requset_low_prior.gif)Oleksii SavranOleksii Savranhttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/625Data on admin pages aren't loaded if user refreshes the page2019-12-03T10:24:29+01:00Kiril MorhalenkoData on admin pages aren't loaded if user refreshes the page**Steps:**
1. Go to "https://sandbox.genesys-pgr.org/admin/requests";
2. Open any request e.g https://sandbox.genesys-pgr.org/admin/requests/8fcdf0d9-aeec-40e5-af97-adb4916f0ce9
3. Refresh the page
**Expected result:**
Page data is sho...**Steps:**
1. Go to "https://sandbox.genesys-pgr.org/admin/requests";
2. Open any request e.g https://sandbox.genesys-pgr.org/admin/requests/8fcdf0d9-aeec-40e5-af97-adb4916f0ce9
3. Refresh the page
**Expected result:**
Page data is shown;
**Expected result:**
Loader is shown permanently;
![image](/uploads/cc6878db0c95648627c3b5cc231ecdda/image.png)
Same behavior for
- execution display page e.g https://sandbox.genesys-pgr.org/admin/kpi/accession.count
- sub request display page e.g https://sandbox.genesys-pgr.org/admin/requests/562b2d92-07c9-4d13-b4be-e42da6cc2da9
- iso3166 display page e.g https://sandbox.genesys-pgr.org/iso3166/USA
- partner display page e.g https://sandbox.genesys-pgr.org/partners/39d3022b-dfca-45d8-98f1-3eeaa6c3e605Viacheslav PavlovViacheslav Pavlovhttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/626Crop`s article isn`t displayed;2020-01-22T13:50:48+01:00Kiril MorhalenkoCrop`s article isn`t displayed;**Steps:**
1. Go to "https://sandbox.genesys-pgr.org/c/banana" as admin user;
2. Click on the "Edit" button;
3. Click on the "Back" button;
4. Click on the "Edit" button;
**Expected result:**
Article is displayed;
**Actual result:**
Cr...**Steps:**
1. Go to "https://sandbox.genesys-pgr.org/c/banana" as admin user;
2. Click on the "Edit" button;
3. Click on the "Back" button;
4. Click on the "Edit" button;
**Expected result:**
Article is displayed;
**Actual result:**
Crop's article isn't displayed;
![crop_s_article](/uploads/5c1976d6ddba52836397f4a300a4b9ab/crop_s_article.gif)Oleksii SavranOleksii Savranhttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/627Server storage crops aren't updated dynamically after user creates new crop;2019-12-03T22:31:50+01:00Kiril MorhalenkoServer storage crops aren't updated dynamically after user creates new crop;**Steps:**
1. Go to "https://sandbox.genesys-pgr.org/c" as admin user;
2. Click on the "+" button;
3. Enter test data on the required fields;
4. Click "Save changes";
5. Click on the "Back to crops list" button;
**Expected result: **
Cr...**Steps:**
1. Go to "https://sandbox.genesys-pgr.org/c" as admin user;
2. Click on the "+" button;
3. Enter test data on the required fields;
4. Click "Save changes";
5. Click on the "Back to crops list" button;
**Expected result: **
Created crop is displayed on the crops list;
**Actual result:**
Crops list isn`t dynamically updated;Anastasiia KarasAnastasiia Karashttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/628Upload new descriptors functionality;2019-12-06T08:20:10+01:00Kiril MorhalenkoUpload new descriptors functionality;@mobreza Could you please clarify expected behavior?
**Steps:**
1. Go to "https://sandbox.genesys-pgr.org/dashboard/descriptorlists/edit" as admin user;
2. Enter valid data on the first step;
3. Go to the second step;
4. Copy data from...@mobreza Could you please clarify expected behavior?
**Steps:**
1. Go to "https://sandbox.genesys-pgr.org/dashboard/descriptorlists/edit" as admin user;
2. Enter valid data on the first step;
3. Go to the second step;
4. Copy data from [test_descriptor.xlsx](/uploads/aac0e749afd34992a6afb6386090d68d/test_descriptor.xlsx);
5. Paste info from clipboard to the "Descriptor definitions" several times;
**Actual result:**
1. Added descriptors are displayed not between quantity of added descriptors` labels;
![image](/uploads/c550d8ec5ffc746f56cf181179522fce/image.png)
2. User can add several same descriptors, as result we have all it descriptors in `Draft`state;
![same_descriptors](/uploads/3ca8eb9a1adf39ccb75d682bbb084c3a/same_descriptors.gif)
Is it normal behavior?Viacheslav PavlovViacheslav Pavlovhttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/629SSR vs Browser: Institute details2019-12-04T12:57:17+01:00Matija ObrezaSSR vs Browser: Institute detailsThe page indicates a full reload. It shouldn't.
1. Open https://www.genesys-pgr.org/wiews/BEL084
1. See SSR render properly
1. See `<Loading />`
1. See page again
If client is loading additional data, then that should not force the ful...The page indicates a full reload. It shouldn't.
1. Open https://www.genesys-pgr.org/wiews/BEL084
1. See SSR render properly
1. See `<Loading />`
1. See page again
If client is loading additional data, then that should not force the full page `<Loading />` indicator.1.0Maxym BorodenkoMaxym Borodenkohttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/630New crop isn`t created2019-12-04T14:29:19+01:00Kiril MorhalenkoNew crop isn`t created**Steps:**
1. Go to "https://sandbox.genesys-pgr.org/c" as admin user;
2. Click on the "+" button;
3. Enter test data on the required fields;
4. Click "Save changes";
**Expected result:**
User on the created crop`s edit page;
**Actua...**Steps:**
1. Go to "https://sandbox.genesys-pgr.org/c" as admin user;
2. Click on the "+" button;
3. Enter test data on the required fields;
4. Click "Save changes";
**Expected result:**
User on the created crop`s edit page;
**Actual result:**
`TypeError: Cannot read property 'id' of undefined`
![new_crop_isn_t_created](/uploads/dad639f541754ff46db2736bfc5507c2/new_crop_isn_t_created.gif)Viacheslav PavlovViacheslav Pavlovhttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/631Date search an the `/admin/content/activity-post` page;2019-12-06T11:36:26+01:00Kiril MorhalenkoDate search an the `/admin/content/activity-post` page;**Steps:**
1. Go to "https://sandbox.genesys-pgr.org/admin/content/activity-post" as admin user;
2. Enter current date to both date fields;
3. Apply filters;
**Expected result:**
Admin user should have list of filtered results;
**Actua...**Steps:**
1. Go to "https://sandbox.genesys-pgr.org/admin/content/activity-post" as admin user;
2. Enter current date to both date fields;
3. Apply filters;
**Expected result:**
Admin user should have list of filtered results;
**Actual result:**
All activity-posts are presented after applying filters;
![image](/uploads/bc74aafbcabd4dad781bb00644ac61de/image.png)Viacheslav PavlovViacheslav Pavlovhttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/632Historic highlight2019-12-13T10:23:24+01:00Matija ObrezaHistoric highlightPlease higlight the "historic accession" row with the same warning color:
![image](/uploads/a2c1eead4296447183876357f25841d0/image.png)Please higlight the "historic accession" row with the same warning color:
![image](/uploads/a2c1eead4296447183876357f25841d0/image.png)1.0Oleksii SavranOleksii Savranhttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/633Making a request2019-12-16T18:38:32+01:00Matija ObrezaMaking a requestAccession records from https://www.genesys-pgr.org/a/v2BEXJeOkJQ do not come with `availability` data (`null`). When a user makes a request for these accessions we display the message: *Out of 2 accessions listed, 0 are known to be avail...Accession records from https://www.genesys-pgr.org/a/v2BEXJeOkJQ do not come with `availability` data (`null`). When a user makes a request for these accessions we display the message: *Out of 2 accessions listed, 0 are known to be available for distribution.* and they are highlighted in red:
![image](/uploads/44458a752b200cc9d30fc599be3c06a4/image.png)
1. Only accessions that have `availability === false` should be highlighted in red.
1. The user should still be allowed to request for material if `availability === null`. Only `false` is prevented.
In the last step of the request wizard, I cannot confirm the request:
![image](/uploads/6d0ff597eb6d5fc2c0e0bb443d28cb23/image.png)
Why?1.0Oleksii SavranOleksii Savranhttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/634Resolve `UNSAFE_` lifecycles2020-01-13T10:25:13+01:00Matija ObrezaResolve `UNSAFE_` lifecycles#603 introduced `UNSAFE_` lifecycle methods. Please figure out how we can replace these methods.#603 introduced `UNSAFE_` lifecycle methods. Please figure out how we can replace these methods.1.0Oleksii SavranOleksii Savranhttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/635Oauth client details not loading2019-12-31T12:38:27+01:00Matija ObrezaOauth client details not loadingFor any clientId that starts with `v` the UI doesn't load client details.For any clientId that starts with `v` the UI doesn't load client details.1.0Matija ObrezaMatija Obrezahttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/636"0" value is cleared from Climate filter`s input fields;2020-01-03T11:48:27+01:00Kiril Morhalenko"0" value is cleared from Climate filter`s input fields;**Steps:**
1. Go to "https://sandbox.genesys-pgr.org/a/overview/";
2. Enter to any Climate filter`s input (min) field "0" value;
**Expected result:**
Entered value should be displayed in the input filed;
**Actual result:**
Input field ...**Steps:**
1. Go to "https://sandbox.genesys-pgr.org/a/overview/";
2. Enter to any Climate filter`s input (min) field "0" value;
**Expected result:**
Entered value should be displayed in the input filed;
**Actual result:**
Input field is cleared but filter is applied;
![_220_22_value_is_cleared](/uploads/05d3a5df2331f6d303e1399f1c628392/_220_22_value_is_cleared.gif)Viacheslav PavlovViacheslav Pavlovhttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/637Request failed with status code 500 if user refresh `Descriptor list` publish...2020-01-03T11:10:24+01:00Kiril MorhalenkoRequest failed with status code 500 if user refresh `Descriptor list` publisher page;**Steps:**
1. Go to "https://sandbox.genesys-pgr.org/dashboard/descriptorlists/edit";
2. Refresh page;
**Expected result:**
Page is refreshed;
**Actual result:**
Error "Cannot read property '_permissions' of undefined" is shown;
![des...**Steps:**
1. Go to "https://sandbox.genesys-pgr.org/dashboard/descriptorlists/edit";
2. Refresh page;
**Expected result:**
Page is refreshed;
**Actual result:**
Error "Cannot read property '_permissions' of undefined" is shown;
![descriptor_list_publisher_500](/uploads/cb74cec909adc62943a6cae3b986c2e1/descriptor_list_publisher_500.gif)Viacheslav PavlovViacheslav Pavlovhttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/638New institute code notification2020-01-08T15:44:36+01:00Matija ObrezaNew institute code notification*ICARDA* recently changed their WIEWS institute code from `SYR002` to `LBN002`.
This is recorded in `vCode` field of the `FaoInstitute` record and is provided to the frontend in the */details* API call.
If `vCode` is defined and is dif...*ICARDA* recently changed their WIEWS institute code from `SYR002` to `LBN002`.
This is recorded in `vCode` field of the `FaoInstitute` record and is provided to the frontend in the */details* API call.
If `vCode` is defined and is different from the institute `code`, please display an alert with "This record is archived. Please see {vCode}." with a link to {vCode} WIEWS page.1.0Viacheslav PavlovViacheslav Pavlovhttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/639Edit PGRFA network2020-01-20T10:51:58+01:00Matija ObrezaEdit PGRFA networkExploring https://www.genesys-pgr.org/network/CGIAR as Admin, I cannot **edit** the membership of this network or the description.Exploring https://www.genesys-pgr.org/network/CGIAR as Admin, I cannot **edit** the membership of this network or the description.1.0Viacheslav PavlovViacheslav Pavlovhttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/640Generating OAuth client secret2020-01-09T11:59:35+01:00Matija ObrezaGenerating OAuth client secretThe dialogs for generating a new client secret are following a strange order, please check.The dialogs for generating a new client secret are following a strange order, please check.1.0Viacheslav PavlovViacheslav Pavlovhttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/641Admin: Requests filters2020-01-08T11:19:22+01:00Matija ObrezaAdmin: Requests filtersPlease add filtering by createdDate and lastModifiedDate to Requests list in Admin.Please add filtering by createdDate and lastModifiedDate to Requests list in Admin.1.0Maxym BorodenkoMaxym Borodenkohttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/642Admin can not edit KPI execution data;2020-01-09T16:35:14+01:00Kiril MorhalenkoAdmin can not edit KPI execution data;**Steps:**
1. Go to "https://sandbox.genesys-pgr.org/admin/kpi/request.sub.institute" as admin user;
2. Click "Edit" button;
3. Change data in the "Name" field from "request.sub.institute" to "request.institute";
4. Click "Save" button;
...**Steps:**
1. Go to "https://sandbox.genesys-pgr.org/admin/kpi/request.sub.institute" as admin user;
2. Click "Edit" button;
3. Change data in the "Name" field from "request.sub.institute" to "request.institute";
4. Click "Save" button;
**Expected result:**
Data is updated;
**Actual result:**
Request failed with status code 500;
![image](/uploads/3e41fc16156640c229a1c586877207d3/image.png)
*This issue also related with another one, it's a new KPI graphs for dashboard;*
**Steps:**
1. Go to "https://sandbox.genesys-pgr.org/dashboard"
**Expected result:**
Available graphs should be displayed;
**Actual result: **
Request failed with status code 404;
![image](/uploads/a465aef2856528ec3d92c49568235ffa/image.png)Maxym BorodenkoMaxym Borodenkohttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/643Home page isn`t opened when user logs out;2020-01-23T18:02:48+01:00Kiril MorhalenkoHome page isn`t opened when user logs out;**Steps:**
1. Go to "https://sandbox.genesys-pgr.org/dashboard/subsets" as any user;
2. Log out;
**Expected result:**
User is logged out and home page is opened;
**Actual result:**
`/login/` page is opened
![home_page_isn_t_opened_when...**Steps:**
1. Go to "https://sandbox.genesys-pgr.org/dashboard/subsets" as any user;
2. Log out;
**Expected result:**
User is logged out and home page is opened;
**Actual result:**
`/login/` page is opened
![home_page_isn_t_opened_when_user_logs_out](/uploads/3a4db1aaf7f85b8016da249f03b92adb/home_page_isn_t_opened_when_user_logs_out.gif)Viacheslav PavlovViacheslav Pavlovhttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/644Admin user cann`t open permission popup on the "OAuth" page;2020-01-13T09:05:41+01:00Kiril MorhalenkoAdmin user cann`t open permission popup on the "OAuth" page;**Steps:"*
1. Go to "https://sandbox.genesys-pgr.org/admin/oauth/88F78.yzLIycboAi6ujIYe1HvA@sandbox.genesys-pgr.org" as admin user;
2. Click "Permissions" button;
**Expected result:**
Permissions popup is opened;
**Actual result:**
404...**Steps:"*
1. Go to "https://sandbox.genesys-pgr.org/admin/oauth/88F78.yzLIycboAi6ujIYe1HvA@sandbox.genesys-pgr.org" as admin user;
2. Click "Permissions" button;
**Expected result:**
Permissions popup is opened;
**Actual result:**
404 error is happens;
![image](/uploads/31eef2fe25bb480f52481868cc7b97ff/image.png)Viacheslav PavlovViacheslav Pavlovhttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/645User management API v2 with redux-saga2021-02-15T10:26:13+01:00Matija ObrezaUser management API v2 with redux-sagaBackend implements API v2. Try upgrading user management in admin to API v2, but use redux-saga instead of `ApiCall`.Backend implements API v2. Try upgrading user management in admin to API v2, but use redux-saga instead of `ApiCall`.1.0Viacheslav PavlovViacheslav Pavlovhttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/646Climate filters issues;2020-01-20T17:03:08+01:00Kiril MorhalenkoClimate filters issues;**1) Incorrect values isn`t reset;**
**Steps:**
1. Go to "https://sandbox.genesys-pgr.org/a";
2. Enter to the "Annual mean temperature [°C]" filter`s "At least (min)" field value "test1";
3. Enter to the "Annual mean temperature [°C]" f...**1) Incorrect values isn`t reset;**
**Steps:**
1. Go to "https://sandbox.genesys-pgr.org/a";
2. Enter to the "Annual mean temperature [°C]" filter`s "At least (min)" field value "test1";
3. Enter to the "Annual mean temperature [°C]" filter`s "At least (max)" field value "test2";
4. Apply filters;
**Expected result:**
Fields should be cleared;
**Actual result:**
Fields aren't cleared;
Also field aren't cleared and after user clicks "Reset" button;
![fields_aren_t_cleared_](/uploads/7b459a2a97990cb575ef68e3509bef5e/fields_aren_t_cleared_.gif)
**2) Numbers in the climate filter`s fields are deleted not from the first time;**
**Steps:**
1. Go to "https://sandbox.genesys-pgr.org/a";
2. Enter to the "Annual mean temperature [°C]" filter`s "At least (min)" field value "-15";
3. Tap the "Backspace" button on the keyboard 3 times;
**Expected result:**
"At least (min)" field should be empty;
**Actual result:**
"At least (min)" field contains value "-1"
Also it happens if user selects all characters in the field and press "Delete" button on the keyboard;
![strange_behaviour_of_delete_caracters_from_climate_filter](/uploads/fa2d0dd6734d2da2976ece438609a3bf/strange_behaviour_of_delete_caracters_from_climate_filter.gif)
**3) Entered values aren`t swapped on UI**
**Steps:**
1. Go to "https://sandbox.genesys-pgr.org/a";
2. Enter to the "Annual mean temperature [°C]" filter`s "At least (min)" field value "100";
3. Enter to the "Annual mean temperature [°C]" filter`s "At least (max)" field value "50";
4. Press "Enter" on the keyboard;
**Expected result:**
"At least (min)" field should contains value "50";
"At least (max)" field should contains value "100";
**Actual result:**
"At least (min)" field contains value "100";
"At least (max)" field contains value "50";
![klever_switch_in_climate_filters](/uploads/eb1ea6b1c4b60f66ee28d2e852ea384e/klever_switch_in_climate_filters.gif)
**4) Zero values isn't reset from the fields;**
**Steps:**
1. Go to "https://sandbox.genesys-pgr.org/a";
2. Enter to the "Annual mean temperature [°C]" filter`s "At least (min)" field value "0";
3. Enter to the "Annual mean temperature [°C]" filter`s "At least (max)" field value "0";
4. Press "Enter" on the keyboard;
5. Click "Reset" button;
**Expected result:**
Fields should be cleared;
**Actual result:**
Fields aren`t cleared;
![zero_values_aren_t_reset](/uploads/3b3351d54c21621d9b257a87b69e0636/zero_values_aren_t_reset.gif)
**Have a look that it`s works for all numeric filters;**Oleksii SavranOleksii Savranhttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/647Homepage search options dropdown, text is overlaid;2020-01-17T15:44:08+01:00Kiril MorhalenkoHomepage search options dropdown, text is overlaid;**Steps:**
1. Go to "https://sandbox.genesys-pgr.org/es/";
2. Choose from home page search`s dropdown, option "Conjuntos de datos";
**Expected result:**
Text shouldn`t overlaid;
**Expected result:**
Text is overlaid on the arrow icon;
...**Steps:**
1. Go to "https://sandbox.genesys-pgr.org/es/";
2. Choose from home page search`s dropdown, option "Conjuntos de datos";
**Expected result:**
Text shouldn`t overlaid;
**Expected result:**
Text is overlaid on the arrow icon;
Spanish:
![image](/uploads/8c30885e91836a2be70ff5c6fe4e3768/image.png)
Russian:
![image](/uploads/fa4e143612367feed7f4c2d648f8583a/image.png)Oleksii SavranOleksii Savranhttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/648Date search filter, entering value from keyboard;2020-01-24T10:27:18+01:00Kiril MorhalenkoDate search filter, entering value from keyboard;**1) Incorrect entering of year;**
**Steps:**
1. Go to "https://sandbox.genesys-pgr.org/a/overview";
2. Enter from keyboard value "11/25/1994" to the any date filter field;
**Expected result:**
Value "11/25/1994" should be in the filte...**1) Incorrect entering of year;**
**Steps:**
1. Go to "https://sandbox.genesys-pgr.org/a/overview";
2. Enter from keyboard value "11/25/1994" to the any date filter field;
**Expected result:**
Value "11/25/1994" should be in the filter`s field;
**Actual result:**
Value "11/25/0094" is in the filter`s field;
![image](/uploads/503ce43b9212a019f50e6fecf47bfa16/image.png)
**2) Entered value is reseted;**
**Steps:**
1. Go to "https://sandbox.genesys-pgr.org/a/overview";
2. Enter from keyboard value "11/25/2002" to the any date filter field;
**Expected result:**
Value "11/25/2002" should be in the filter`s field;
**Actual result:**
Value "mm/dd/yyyy" is in the filter`s field;
![image](/uploads/567a3c1e82c1cec86e458f30357e2dc6/image.png)
**3) Only one character is entered to the year part of data input if user enters different numbers;**
**Steps:**
1. Go to "https://sandbox.genesys-pgr.org/a/overview";
2. Enter from keyboard numbers one by one "11,25,1,2,3,4"
**Expected result:**
Value "11/25/1234" should be in the filter`s field;
**Actual result:**
Value "11/25/0004" is in the filter`s field;
![date_filter_s_issues](/uploads/ff0f3f97b20ad07d9f9c6c629d719e86/date_filter_s_issues.gif)Oleksii SavranOleksii Savranhttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/649Some map`s images isn`t uploaded if user zoom in/out map;2021-02-15T10:26:26+01:00Kiril MorhalenkoSome map`s images isn`t uploaded if user zoom in/out map;**Steps:**
1. Go to "https://sandbox.genesys-pgr.org/a/map/";
2. Zoom in map by mouse wheel;
**Expected result:**
Map is zoomed in and all available accession should be displayed;
**Actual result:**
Some map's images isn't uploaded;
...**Steps:**
1. Go to "https://sandbox.genesys-pgr.org/a/map/";
2. Zoom in map by mouse wheel;
**Expected result:**
Map is zoomed in and all available accession should be displayed;
**Actual result:**
Some map's images isn't uploaded;
![image](/uploads/a56a61ec90fd5bf0deb63456538438cd/image.png)Vladyslava MokliakVladyslava Mokliakhttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/650Remove charts from Dashboard2020-01-17T18:13:00+01:00Matija ObrezaRemove charts from DashboardPlease remove Subset states, Dataset states and Requests from the dashboard.
It would require to open up permissions for those KPIs and we don't have a mechanism to control access only to specific records.Please remove Subset states, Dataset states and Requests from the dashboard.
It would require to open up permissions for those KPIs and we don't have a mechanism to control access only to specific records.1.0Viacheslav PavlovViacheslav Pavlovhttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/651The options` text does not fit into "Sort by" dropdown;2020-01-20T09:59:02+01:00Kiril MorhalenkoThe options` text does not fit into "Sort by" dropdown;**Steps:**
1. Go to "https://sandbox.genesys-pgr.org/cs/datasets";
2. Open "Sort BY" dropdown;
**Expected result:**
The options` text should fit into "Sort by" dropdown
**Actual result:**
The options` text does not fit into "Sort by" d...**Steps:**
1. Go to "https://sandbox.genesys-pgr.org/cs/datasets";
2. Open "Sort BY" dropdown;
**Expected result:**
The options` text should fit into "Sort by" dropdown
**Actual result:**
The options` text does not fit into "Sort by" dropdown;
It happens on the all LTR languages except English;
![image](/uploads/be70d6312a732db10a7fa52d48eb51f1/image.png)Oleksii SavranOleksii Savranhttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/652"Holding institute" and "Country" field clickable on the all square of field;2020-01-22T13:30:12+01:00Kiril Morhalenko"Holding institute" and "Country" field clickable on the all square of field;We have two fields which have another behavior, those are "Holding institute" (Accession details pages) and "Country" (Genebank details pages) fields. On the entire website we have clickable text only, but these fields are clickable on t...We have two fields which have another behavior, those are "Holding institute" (Accession details pages) and "Country" (Genebank details pages) fields. On the entire website we have clickable text only, but these fields are clickable on the whole square of the field;
**Examples:**
Link: "https://sandbox.genesys-pgr.org/wiews/AZE005"
Everything in the frame is clickable;
![image](/uploads/7023ce08b714b83f1d3c408a9cd96191/image.png)
Link: "https://sandbox.genesys-pgr.org/a/f8f3bd9f-2c49-4efe-94e4-8db6fdfd010a"
Everything in the frame is clickable;
![image](/uploads/a20c77c58709c10b5a5127f64837ee5e/image.png)
So @mobreza should we heed to do this field`s behavior the same with the entire website?Oleksii SavranOleksii Savranhttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/653`paginate.numberOfItems` is displayed instead of value on the admin and dash...2020-01-24T11:32:51+01:00Kiril Morhalenko`paginate.numberOfItems` is displayed instead of value on the admin and dashboard pages;**Steps:**
1. Go to any admin or dashboard page (e.g. "https://sandbox.genesys-pgr.org/dashboard/datasets");
2.Look at the line above the content list;
**Expected result:**
Quantity of content should be displayed;
**Actual result:**
`p...**Steps:**
1. Go to any admin or dashboard page (e.g. "https://sandbox.genesys-pgr.org/dashboard/datasets");
2.Look at the line above the content list;
**Expected result:**
Quantity of content should be displayed;
**Actual result:**
`paginate.numberOfItems` is displayed
![image](/uploads/428b44a3b35c9939580b190e9e8886f0/image.png)Oleksii SavranOleksii Savranhttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/654Latitude/longitude display2020-01-27T18:45:21+01:00Matija ObrezaLatitude/longitude displayPlease use `toFixed(6)` to display latitutes and longitudes on the website (institute, accession collecting site, anything else?).
![image](/uploads/db6001be003c0a8d64f34a13e83a0e00/image.png)Please use `toFixed(6)` to display latitutes and longitudes on the website (institute, accession collecting site, anything else?).
![image](/uploads/db6001be003c0a8d64f34a13e83a0e00/image.png)1.0Oleksii SavranOleksii Savranhttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/655Update dependencies2020-01-22T12:26:32+01:00Matija ObrezaUpdate dependencies`ncu` reports:
```
@material-ui/core ^4.6.1 → ^4.8.3
@material-ui/lab ^4.0.0-alpha.32 → ^4.0.0-alpha.39
@material-ui/styles ^4.6.0 ...`ncu` reports:
```
@material-ui/core ^4.6.1 → ^4.8.3
@material-ui/lab ^4.0.0-alpha.32 → ^4.0.0-alpha.39
@material-ui/styles ^4.6.0 → ^4.8.2
autosuggest-highlight ^3.1.0 → ^3.1.1
axios ^0.19.0 → ^0.19.1
coffeescript ^2.4.1 → ^2.5.0
connected-react-router ^6.6.0 → ^6.6.1
es-cookie ^1.3.0 → ^1.3.1
fast-glob ^3.1.0 → ^3.1.1
flattenjs ^1.0.4 → ^2.0.0
form-data ^2.5.1 → ^3.0.0
i18next ^17.3.1 → ^19.0.3
i18next-express-middleware ^1.8.2 → ^1.9.1
query-string ^6.9.0 → ^6.10.1
react-chartkick ^0.3.3 → ^0.4.0
react-color ^2.17.3 → ^2.18.0
react-d3-tree ^1.15.3 → ^1.16.1
react-dnd ^9.4.0 → ^10.0.2
react-dnd-html5-backend ^9.4.0 → ^10.0.2
react-i18next ^10.13.2 → ^11.3.1
react-leaflet ^2.6.0 → ^2.6.1
react-leaflet-control ^2.1.1 → ^2.1.2
react-markdown ^4.2.2 → ^4.3.1
redux ^4.0.4 → ^4.0.5
string-natural-compare ^2.0.3 → ^3.0.0
@types/node 12.12.6 → 13.1.8
@types/react 16.8.6 → 16.9.17
@types/webpack-env ^1.14.1 → ^1.15.0
@typescript-eslint/eslint-plugin ^2.8.0 → ^2.16.0
@typescript-eslint/eslint-plugin-tslint ^2.8.0 → ^2.16.0
@typescript-eslint/parser ^2.8.0 → ^2.16.0
copy-webpack-plugin ^5.0.5 → ^5.1.1
css-loader ^3.2.0 → ^3.4.2
eslint ^6.6.0 → ^6.8.0
eslint-config-prettier ^6.7.0 → ^6.9.0
eslint-loader ^3.0.2 → ^3.0.3
eslint-plugin-import ^2.18.2 → ^2.20.0
eslint-plugin-prefer-arrow ^1.1.6 → ^1.1.7
eslint-plugin-react ^7.16.0 → ^7.18.0
file-loader ^4.2.0 → ^5.0.2
mini-css-extract-plugin ^0.8.0 → ^0.9.0
react-jss ^10.0.0 → ^10.0.3
sass-loader ^8.0.0 → ^8.0.2
style-loader ^1.0.0 → ^1.1.3
stylelint ^11.1.1 → ^13.0.0
terser-webpack-plugin ^2.2.1 → ^2.3.2
ts-node ^8.5.2 → ^8.6.2
tslint ^5.20.0 → ^5.20.1
typescript ^3.7.2 → ^3.7.5
url-loader ^1.1.2 → ^3.0.0
webpack ^4.41.2 → ^4.41.5
webpack-dev-server ^3.9.0 → ^3.10.1
```1.0Oleksii SavranOleksii Savranhttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/656User who doesn't have permissions should not have buttons "Datasets" and "Sub...2020-01-22T13:30:11+01:00Kiril MorhalenkoUser who doesn't have permissions should not have buttons "Datasets" and "Subsets" on the `/dashboard` page;**Steps:**
1. Go to "https://sandbox.genesys-pgr.org/dashboard" as not vetted user;
**Expected result:**
If user doesn't have "Dashboard" and "Subset" items on the header he shouldn`t have same buttons on the navigation bar;
**Actual r...**Steps:**
1. Go to "https://sandbox.genesys-pgr.org/dashboard" as not vetted user;
**Expected result:**
If user doesn't have "Dashboard" and "Subset" items on the header he shouldn`t have same buttons on the navigation bar;
**Actual result:**
"Dashboard" and "Subset" buttons are displayed;
![image](/uploads/bb33a00bf06ae6ab817f84792cac17a7/image.png)Oleksii SavranOleksii Savranhttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/657Genebank can confirm the same request several times;2020-01-24T11:51:48+01:00Kiril MorhalenkoGenebank can confirm the same request several times;**Steps:**
1. Make a request to test genebank;
2. Confirm this request on your email;
3. Go to "https://sandbox.genesys-pgr.org/admin/requests" as admin user;
4. Open your request;
5. Click on the "Resend" button in the "Dispatched to" b...**Steps:**
1. Make a request to test genebank;
2. Confirm this request on your email;
3. Go to "https://sandbox.genesys-pgr.org/admin/requests" as admin user;
4. Open your request;
5. Click on the "Resend" button in the "Dispatched to" block two times;
6. Open genebank`s email (you should have 3 massages from Genesys);
7. Open the first email from Genesys;
8. Click on the link and confirm your request;
9. Open the second email from Genesys;
10. Click on the link and confirm your request;
**Expected result:**
Snack bar with message "Request is already validated or dispatched." should be displayed;
**Actual result:**
Any snack bar isn`t displayed;
![same_request_confirmation](/uploads/f61773207a8ba195168579964fb2579a/same_request_confirmation.gif)Maxym BorodenkoMaxym Borodenkohttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/658Main request is deleted if admin user delete sub request;2020-01-20T17:13:24+01:00Kiril MorhalenkoMain request is deleted if admin user delete sub request;**Steps:**
1. Make a request to test genebank;
2. Confirm this request on your email;
3. Go to "https://sandbox.genesys-pgr.org/admin/subrequests" as admin user;
4. Open it;
5. Delete request;
**Expected result:**
Sub request is deleted...**Steps:**
1. Make a request to test genebank;
2. Confirm this request on your email;
3. Go to "https://sandbox.genesys-pgr.org/admin/subrequests" as admin user;
4. Open it;
5. Delete request;
**Expected result:**
Sub request is deleted but main request shouldn`t be deleted;
**Actual result:**
Main request is deleted;
![delete_sub_request](/uploads/3a7263625197ec6b5692c3889610bee6/delete_sub_request.gif)Anastasiia KarasAnastasiia Karashttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/659`/admin/requests` page is opened if admin delete sub request;2020-01-20T17:06:44+01:00Kiril Morhalenko`/admin/requests` page is opened if admin delete sub request;**Steps:**
1. Go to "https://sandbox.genesys-pgr.org/admin/subrequests" as admin user;
2. Delete test request;
**Expected result:**
`/admin/subrequests` page is opened;
**Actual result:**
`/admin/requests` is opened;
![wrong_redirecti...**Steps:**
1. Go to "https://sandbox.genesys-pgr.org/admin/subrequests" as admin user;
2. Delete test request;
**Expected result:**
`/admin/subrequests` page is opened;
**Actual result:**
`/admin/requests` is opened;
![wrong_redirecting](/uploads/e9567798291f3d64f525590fa76c5b45/wrong_redirecting.gif)Anastasiia KarasAnastasiia Karashttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/660SSR startup and error handling2020-01-22T11:50:41+01:00Matija ObrezaSSR startup and error handlingThe service does not gracefully handle problems. If the backend is unreachable in the timeout period, the service responds with **Oh oh**.The service does not gracefully handle problems. If the backend is unreachable in the timeout period, the service responds with **Oh oh**.1.0Matija ObrezaMatija Obrezahttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/661User doesn`t have possibility to logout if admin delete him account;2020-01-30T20:10:14+01:00Kiril MorhalenkoUser doesn`t have possibility to logout if admin delete him account;**Steps:**
1. Go to "https://sandbox.genesys-pgr.org/registration";
2. Create new account;
3. Login as this user;
4. On the new instance of browser open "https://sandbox.genesys-pgr.org/admin/users" as admin user;
5. Find and delete user...**Steps:**
1. Go to "https://sandbox.genesys-pgr.org/registration";
2. Create new account;
3. Login as this user;
4. On the new instance of browser open "https://sandbox.genesys-pgr.org/admin/users" as admin user;
5. Find and delete user created on the second step;
6. As deleted user try to logout;
**Expected result:**
User is logged out and doesn`t have possibility to login as this user;
**Actual result:**
"Network error" is happened. Also after user refresh the page he have infinitely "500" error;
![screen_record-2020-01-21_13.26.03](/uploads/350924b187685cbbd68938f5b1ce2375/screen_record-2020-01-21_13.26.03.gif)Viacheslav PavlovViacheslav Pavlovhttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/662CMS articles remove functionality2020-01-24T15:14:45+01:00Kiril MorhalenkoCMS articles remove functionalityAdmin user should have possibility to remove CMS articles on the `/admin/content` page.
Please add:
* API v2 call to delete articles
* "Delete" button to the button bar on the `/edit` page
![image](/uploads/15726d10f6a57c01dbe5b6c58...Admin user should have possibility to remove CMS articles on the `/admin/content` page.
Please add:
* API v2 call to delete articles
* "Delete" button to the button bar on the `/edit` page
![image](/uploads/15726d10f6a57c01dbe5b6c586891aa0/image.png)Maxym BorodenkoMaxym Borodenkohttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/663PGRFA Network page2020-01-24T14:54:20+01:00Matija ObrezaPGRFA Network pagehttps://sandbox.genesys-pgr.org/network/EURISCO now allows the user to browse the accessions of all members of the network. This causes a big performance issue with DB queries to list accessions when many institutes are involved.
1. Rem...https://sandbox.genesys-pgr.org/network/EURISCO now allows the user to browse the accessions of all members of the network. This causes a big performance issue with DB queries to list accessions when many institutes are involved.
1. Remove the "Browse accessions" and "Accession overview" buttons from the network page.
1. Embed the "Accession overview" into the network details page.
1. Sort institute list by number of accessions.1.0Viacheslav PavlovViacheslav Pavlovhttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/664Don`t display uploader in the ROOT folder;2020-01-23T18:40:43+01:00Kiril MorhalenkoDon`t display uploader in the ROOT folder;@mobreza I have several questions connected with file repository.
1. Should we heed to have upload functionality in the `ROOT` folder? (Currently we don't have possibility to upload files to `ROOT` folder)
Probably we should remove upl...@mobreza I have several questions connected with file repository.
1. Should we heed to have upload functionality in the `ROOT` folder? (Currently we don't have possibility to upload files to `ROOT` folder)
Probably we should remove upload block from `ROOT` folder`s page?
![image](/uploads/ffd557533b23591bd82fdf187ad69c27/image.png)
2. The second question is connected with "Edit folder" functionality. Now we have "Update folder metadata" modal window which opened by click on the "Edit folder" button, but if I enter values in the fields and save than this data nowhere is displayed.
Is it a bug or this functionality will work in the future?
![image](/uploads/c38de9e476d1d4cbad9402d76b89f334/image.png)Viacheslav PavlovViacheslav Pavlovhttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/665View gallery button isn`t displayed without updating the page;2020-01-30T12:24:18+01:00Kiril MorhalenkoView gallery button isn`t displayed without updating the page;**Steps:**
1. Go to "https://sandbox.genesys-pgr.org/admin/repository/f/" as admin user;
2. Create test folder;
3. Upload to it several images;
4. Move mouse to "+" button and click on the "Create gallery" option;
5. Click "To folder" bu...**Steps:**
1. Go to "https://sandbox.genesys-pgr.org/admin/repository/f/" as admin user;
2. Create test folder;
3. Upload to it several images;
4. Move mouse to "+" button and click on the "Create gallery" option;
5. Click "To folder" button;
**Expected result:**
Page `/admin/repository/f/folder_name` is opened and "View gallery" button is displayed;
**Actual result:**
"View gallery" button isn't displayed till user doesn't update the page;
![update_repository_folder_s_page_](/uploads/3a62082f73a53091555bfd774ef3aa1f/update_repository_folder_s_page_.gif)Viacheslav PavlovViacheslav Pavlovhttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/666Images isn`t displayed if user opens it on the full screen;2020-01-23T18:40:43+01:00Kiril MorhalenkoImages isn`t displayed if user opens it on the full screen;**Steps:**
1. Go to "https://sandbox.genesys-pgr.org/admin/repository/f/" as admin user;
2. Create test folder;
3. Upload to it several images;
4. Move mouse to "+" button and click on the "Create gallery" option;
5. Open one of uploaded...**Steps:**
1. Go to "https://sandbox.genesys-pgr.org/admin/repository/f/" as admin user;
2. Create test folder;
3. Upload to it several images;
4. Move mouse to "+" button and click on the "Create gallery" option;
5. Open one of uploaded images;
**Expected result:**
User can see full size image;
**Actual result:**
Image isn't downloaded because we try to download it from `proxy`;
![image_isn_t_opened_on_full_size](/uploads/997e1d1f43663402803c5b8ca2ae307c/image_isn_t_opened_on_full_size.gif)Viacheslav PavlovViacheslav Pavlovhttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/667Admin user can create the same CMS articles;2020-01-28T14:15:48+01:00Kiril MorhalenkoAdmin user can create the same CMS articles;**Steps:**
1. Go to "https://sandbox.genesys-pgr.org/admin/content" as admin user;
2. Click "+" button;
3. Enter to the "Slug" field "test";
4. Enter to the "Language" field "en";
5. Click "Back to article list";
6. Click "+" button;
7. ...**Steps:**
1. Go to "https://sandbox.genesys-pgr.org/admin/content" as admin user;
2. Click "+" button;
3. Enter to the "Slug" field "test";
4. Enter to the "Language" field "en";
5. Click "Back to article list";
6. Click "+" button;
7. Enter to the "Slug" field "test";
8. Enter to the "Language" field "en";
9. Click "Back to article list";
10. Try to open one of created article;
or you can open "https://sandbox.genesys-pgr.org/admin/content/v2LYA5yzWq8" as admin and try to open one of articles;
**Expected result:**
User cann`t create two or more same articles. When user try to create article which already exist he should see snack bar "Article should be unique" or something like this;
**Actual result:**
User can create two or more same articles. Also if user try to open one of them request failed with status code 500;
![image](/uploads/429a7f6ee1dcc862469d3a4ee1fa8b19/image.png)
![image](/uploads/86df08f97c35253eccca315a7d01b455/image.png)Maxym BorodenkoMaxym Borodenkohttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/668Text search filter doesn't work on the Dashboard catalog`s browse pages;2020-01-27T14:51:27+01:00Kiril MorhalenkoText search filter doesn't work on the Dashboard catalog`s browse pages;**Steps:**
1. Go to any catalog browse page
(
* "https://sandbox.genesys-pgr.org/dashboard/datasets"
or
* "https://sandbox.genesys-pgr.org/dashboard/descriptorlists"
)
2. Enter to the Text search filter some text (e.g. "qwerty");
3....**Steps:**
1. Go to any catalog browse page
(
* "https://sandbox.genesys-pgr.org/dashboard/datasets"
or
* "https://sandbox.genesys-pgr.org/dashboard/descriptorlists"
)
2. Enter to the Text search filter some text (e.g. "qwerty");
3. Click "Apply filters" button;
**Expected result:**
Search results should be match the query;
**Actual result:**
All available items is displayed as search results;
![image](/uploads/381d5697fcd2feabc9cd58df428ad5cd/image.png)
![image](/uploads/06e92a554aceb93a3c1deacf4086e489/image.png)Maxym BorodenkoMaxym Borodenkohttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/669Double showing of "Select language of the dataset" dropdown;2020-02-18T11:14:11+01:00Kiril MorhalenkoDouble showing of "Select language of the dataset" dropdown;**Steps:**
1. Go to "https://sandbox.genesys-pgr.org/dashboard/datasets/edit";
2. Enter to the "Select language of the dataset" field text "En";
3. Click on the "English" option;
**Expected result:**
Selected option is entered to the fi...**Steps:**
1. Go to "https://sandbox.genesys-pgr.org/dashboard/datasets/edit";
2. Enter to the "Select language of the dataset" field text "En";
3. Click on the "English" option;
**Expected result:**
Selected option is entered to the filed;
**Actual result:**
Selected option is entered to the filed, but after dropdown is shown another one time;
![double_showing_dropdown_with_laguage_options](/uploads/2777b8d23a1693cf29327884cc473eb3/double_showing_dropdown_with_laguage_options.gif)Viacheslav PavlovViacheslav Pavlovhttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/670Taxonomy page for crawlers2020-02-05T11:47:07+01:00Matija ObrezaTaxonomy page for crawlersgenesys-pgr/genesys-server#500 implements a sitemap that will lead spiders to `/t/{genus}` on the frontend.
**This requires 100% SSR.**
The page on the UI will have:
```html
<h1><em>{genus}</em></h1>
<p>Find and request <em>{genus}</e...genesys-pgr/genesys-server#500 implements a sitemap that will lead spiders to `/t/{genus}` on the frontend.
**This requires 100% SSR.**
The page on the UI will have:
```html
<h1><em>{genus}</em></h1>
<p>Find and request <em>{genus}</em> material for research and breeding from <em>ex-situ</em> collections (genebanks) through Genesys.</p>
<ul>
<li><em>{genus} {species}</em> {spAuthor} <em>{subTaxa}</em>{subtAuthor}</li>
...
```
A click on `h1` should open the accession overview page for the selected genus.
Optional: Each `li` on the website will (onClick) issue a call to list the accessions matching the selected species.
The page needs to retrieve the list of `Taxonomy2` for the selected `genus` from */api/v1/taxonomy* using `{ "genus": "TheGenus" }` filter.1.0Viacheslav PavlovViacheslav Pavlovhttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/671BooleanArrFilter for Admin and Dashboard pages;2020-02-04T14:31:29+01:00Kiril MorhalenkoBooleanArrFilter for Admin and Dashboard pages;Please add logic described on #574 for filters:
1. "Descriptor is in use" filter on the `/dashboard/descriptors` page;
2. All filters in the "Status" block, on the `/admin/users` page;
3. Template filter on the `/admin/content` page;
Al...Please add logic described on #574 for filters:
1. "Descriptor is in use" filter on the `/dashboard/descriptors` page;
2. All filters in the "Status" block, on the `/admin/users` page;
3. Template filter on the `/admin/content` page;
Also have a look that we should implement BooleanArrFilter logic for:
1. Filters in the "Tidbits" block in the `dataset publisher` and `Descriptor list publisher`;
![image](/uploads/efe5b47e3de493869da2cdc51b682bcb/image.png)
![image](/uploads/e2959aa51858105711dfaea8679f289e/image.png)
![image](/uploads/1ab2da17f59c22a9f146111cce508e4d/image.png)
![image](/uploads/d6f7ae2e4d7479e3c87bc11394995b84/image.png)Oleksii SavranOleksii Savranhttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/672Crop page: Multiple trees2020-01-30T18:16:14+01:00Matija ObrezaCrop page: Multiple treesMultiple diversity trees (`..._tree.json`) can be added to the same crop (e.g. *Forages*). We wish to display all available trees on the crop details page:
![image](/uploads/03a96b3b5918c55f8ee6a8acb85af789/image.png)
The API will retu...Multiple diversity trees (`..._tree.json`) can be added to the same crop (e.g. *Forages*). We wish to display all available trees on the crop details page:
![image](/uploads/03a96b3b5918c55f8ee6a8acb85af789/image.png)
The API will return multiple `files`. Filter out the files where `originalFilename` ends with `_tree.json` and display the Tree viewer for each one.
Update translations to use `{ file.title || crop.name }` and `{ file.subject || crop.name }` as shown above.1.0Viacheslav PavlovViacheslav Pavlovhttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/673Tree: RTL used for text2020-01-29T12:08:32+01:00Matija ObrezaTree: RTL used for textUsing `rtl` for nodes is a nice trick to display the label to the *left* of the circle:
![PastedGraphic-1](/uploads/ea96d622a200c326a5b527f8e9ea7fab/PastedGraphic-1.png)
But it renders the contents of the label using `rtl` and that pro...Using `rtl` for nodes is a nice trick to display the label to the *left* of the circle:
![PastedGraphic-1](/uploads/ea96d622a200c326a5b527f8e9ea7fab/PastedGraphic-1.png)
But it renders the contents of the label using `rtl` and that produces invalid display of the text. It should be `Hordeum bulbosum L.` (with . at the end).1.0Anastasiia KarasAnastasiia Karashttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/674Add PGRFA Network2020-02-05T18:51:47+01:00Matija ObrezaAdd PGRFA NetworkI don't see the `+` button for adding a new PGRFA Network as Administrator on https://sandbox.genesys-pgr.org/networkI don't see the `+` button for adding a new PGRFA Network as Administrator on https://sandbox.genesys-pgr.org/network1.0Viacheslav PavlovViacheslav Pavlovhttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/675User is redirected to the home page if he try to delete published dataset;2020-01-29T13:55:21+01:00Kiril MorhalenkoUser is redirected to the home page if he try to delete published dataset;**Steps:**
1. Go to "https://sandbox.genesys-pgr.org/dashboard/datasets" as admin user;
2. Create and publish test dataset;
3. Click "Edit" button on the button bar;
4. Select created test dataset;
5. Click "Delete selected" button;
**E...**Steps:**
1. Go to "https://sandbox.genesys-pgr.org/dashboard/datasets" as admin user;
2. Create and publish test dataset;
3. Click "Edit" button on the button bar;
4. Select created test dataset;
5. Click "Delete selected" button;
**Expected result:**
Snack bar with error message appears;
**Actual result:**
User is redirected to the home page;
![user_redirected_to_the_home_page](/uploads/6450ee4f7f46a028f6edb77424674806/user_redirected_to_the_home_page.gif)Viacheslav PavlovViacheslav Pavlovhttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/676Nothing happens by clicking on the CROP DESCRIPTORS options in the Descriptor...2020-02-04T10:30:49+01:00Kiril MorhalenkoNothing happens by clicking on the CROP DESCRIPTORS options in the Descriptor details page;**Steps:**
1. Go to any descriptor details page e.g. "https://sandbox.genesys-pgr.org/descriptors/06cf1253-5f96-45d3-a2f7-275bbfd94798";
2. Click on the any option on the crop descriptors block;
**Expected result:**
The entire thing wo...**Steps:**
1. Go to any descriptor details page e.g. "https://sandbox.genesys-pgr.org/descriptors/06cf1253-5f96-45d3-a2f7-275bbfd94798";
2. Click on the any option on the crop descriptors block;
**Expected result:**
The entire thing would open the details on click;
**Actual result:**
Descriptors have click animation on the all over the square, but action is only by the link text;
![all_square](/uploads/aedf4cb8f72daee4b7ed0ff3bfb4bee4/all_square.gif)Oleksii SavranOleksii Savranhttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/677FileRepository metadata file name conflict2020-01-31T10:34:05+01:00Matija ObrezaFileRepository metadata file name conflict`MetadataInStorageAspect` saves `{uuid}.json` next to the `{uuid}{extension}` file.
When the extension is `.json`, the metadata will overwrite actual file contents.`MetadataInStorageAspect` saves `{uuid}.json` next to the `{uuid}{extension}` file.
When the extension is `.json`, the metadata will overwrite actual file contents.1.0Matija ObrezaMatija Obrezahttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/678Update React Autosuggest, React loadable and CkEditor2020-04-20T08:57:56+02:00Matija ObrezaUpdate React Autosuggest, React loadable and CkEditorI see this in Firefox console:
```
Warning: componentWillReceiveProps has been renamed, and is not recommended for use. See https://fb.me/react-unsafe-component-lifecycles for details.
* Move data fetching code or side effects to compo...I see this in Firefox console:
```
Warning: componentWillReceiveProps has been renamed, and is not recommended for use. See https://fb.me/react-unsafe-component-lifecycles for details.
* Move data fetching code or side effects to componentDidUpdate.
* If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://fb.me/react-derived-state
* Rename componentWillReceiveProps to UNSAFE_componentWillReceiveProps to suppress this warning in non-strict mode. In React 17.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run `npx react-codemod rename-unsafe-lifecycles` in your project source folder.
Please update the following components: Autosuggest, Autowhatever
```1.0Anastasiia KarasAnastasiia Karashttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/679Check boxes is not reset after action on the dashboard pages2020-02-06T18:29:17+01:00Kiril MorhalenkoCheck boxes is not reset after action on the dashboard pages**Steps:**
1. Go to "https://sandbox.genesys-pgr.org/dashboard/datasets" as admin user;
2. Click "Edit" button;
3. Select any test dataset;
4. Click "Approve selected" button;
**Expected result:**
When user makes action which he cann`t ...**Steps:**
1. Go to "https://sandbox.genesys-pgr.org/dashboard/datasets" as admin user;
2. Click "Edit" button;
3. Select any test dataset;
4. Click "Approve selected" button;
**Expected result:**
When user makes action which he cann`t do with this dataset all selected checkboxes should be unchecked;
**Actual result:**
Checkboxes is selected, and further actions isn`t done;
![check_box_isn_t_resetet_after_action](/uploads/899b11187010efc54289866fd2798aa9/check_box_isn_t_resetet_after_action.gif)
**It's reproduced on all `Dashboard` pages with edit functionality**Oleksii SavranOleksii Savranhttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/680API v2 in dashboard for actions on multiple objects2020-02-10T12:34:20+01:00Matija ObrezaAPI v2 in dashboard for actions on multiple objectsMigrate dashboard (subsets, datasets, descriptors, descriptor lists) actions on multiple objects to API v2.Migrate dashboard (subsets, datasets, descriptors, descriptor lists) actions on multiple objects to API v2.1.0Oleksii SavranOleksii Savranhttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/681Diversity tree is not displayed2020-02-10T10:30:32+01:00Kiril MorhalenkoDiversity tree is not displayed**Steps:**
1. Go to the `/c` page as usual user;
2. Open crop `banana`;
3. Make sure that diversity tree is presented;
4. Go to the `/c` page by header item;
5. Open crop `banana`;
**Expected result:**
Page `/c/banana/` is opened and di...**Steps:**
1. Go to the `/c` page as usual user;
2. Open crop `banana`;
3. Make sure that diversity tree is presented;
4. Go to the `/c` page by header item;
5. Open crop `banana`;
**Expected result:**
Page `/c/banana/` is opened and diversity tree is presented;
**Actual result:**
Diversity tree isn`t presented;
![image](/uploads/9ee5766d4382d81c08caed362fbd8328/image.png)Oleksii SavranOleksii Savranhttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/682[Mobile] Button bar display2020-02-10T11:55:20+01:00Kiril Morhalenko[Mobile] Button bar display**Steps:**
1. Go to "https://sandbox.genesys-pgr.org/a" by your phone;
2. Move page to the right side;
**Expected result:**
"Image" button should be fit on the page;
**Actual result:**
"Image" button is shifted from page borders;
![02...**Steps:**
1. Go to "https://sandbox.genesys-pgr.org/a" by your phone;
2. Move page to the right side;
**Expected result:**
"Image" button should be fit on the page;
**Actual result:**
"Image" button is shifted from page borders;
![02_05_2020_16_06_38](/uploads/9185195b9b95f570dc4d2649687b68ca/02_05_2020_16_06_38.jpeg)![Screenshot_2020-02-05-16-06-18-801_com.android.chrome](/uploads/de112616a7627ba56c531d7728b2d65f/Screenshot_2020-02-05-16-06-18-801_com.android.chrome.jpg)Oleksii SavranOleksii Savranhttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/683[Mobile] Scrolling to the bottom on the accessions page2020-02-10T11:55:19+01:00Kiril Morhalenko[Mobile] Scrolling to the bottom on the accessions page**Steps:**
1. Open `/a` on your mobile device;
2. Scroll page down till `loader` isn`t displayed;
**Expected result:**
Next 50 accession should be displayed after loading;
**Actual result:**
Loader is displayed permanently, till user i...**Steps:**
1. Open `/a` on your mobile device;
2. Scroll page down till `loader` isn`t displayed;
**Expected result:**
Next 50 accession should be displayed after loading;
**Actual result:**
Loader is displayed permanently, till user isn`t move page to the right side;
![Screenrecorder-2020-02-05-16-53-54-681_0_](/uploads/1740b06e6ae624fd5018040a29335e55/Screenrecorder-2020-02-05-16-53-54-681_0_.mp4)Oleksii SavranOleksii Savranhttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/684Smart swap does not work if user applies filter by enter;2020-02-10T10:30:33+01:00Kiril MorhalenkoSmart swap does not work if user applies filter by enter;**Steps:**
1. Go to "https://sandbox.genesys-pgr.org/a"
2. Enter to the any number filer to the (min) field "15" value;
3. Enter to the any number filer to the (max) field "0" value;
4. Tap "Enter" on the keyboard;
**Expected result:**
...**Steps:**
1. Go to "https://sandbox.genesys-pgr.org/a"
2. Enter to the any number filer to the (min) field "15" value;
3. Enter to the any number filer to the (max) field "0" value;
4. Tap "Enter" on the keyboard;
**Expected result:**
* Minimum entered value should be on the (min) field of number filter.
* Maximum entered value should be on the (max) field of number filter.
And if this points aren't true values should be swapped;
**Actual result:**
Values isn`t swapped;
It happens with all number filters;
![numbers_filter_isn_t_swapped](/uploads/834b4998cc0b91b596abfd1c3ddd0def/numbers_filter_isn_t_swapped.gif)Oleksii SavranOleksii Savranhttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/685Country evaluation filter on the /datasets page (exclude function);2020-02-24T11:03:40+01:00Kiril MorhalenkoCountry evaluation filter on the /datasets page (exclude function);**Steps:**
1. Go to "https://sandbox.genesys-pgr.org/datasets";
2. Enter to the "Country evaluation" filter "test";
3. Press "Enter" on the keyboard;
4. Click on the "+" icon in the entered values list;
5. Click "Apply filters" button;
...**Steps:**
1. Go to "https://sandbox.genesys-pgr.org/datasets";
2. Enter to the "Country evaluation" filter "test";
3. Press "Enter" on the keyboard;
4. Click on the "+" icon in the entered values list;
5. Click "Apply filters" button;
**Expected result:**
All available datasets should be displayed;
**Actual result:**
Datasets without `location` are displayed;
![image](/uploads/fcb35f1eae630262080f4c0add944115/image.png)Viacheslav PavlovViacheslav Pavlovhttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/686[Mobile] Logout dropdown isn`t hidden;2020-02-17T17:25:36+01:00Kiril Morhalenko[Mobile] Logout dropdown isn`t hidden;**Steps:**
1. Go to "https://sandbox.genesys-pgr.org/" on your mobile phone;
2. Login as any user;
3. Tap on the logged user icon;
4. Tap on the any place;
**Expected result:**
Logout dropdown is closed;
**Actual result:**
Logout dropd...**Steps:**
1. Go to "https://sandbox.genesys-pgr.org/" on your mobile phone;
2. Login as any user;
3. Tap on the logged user icon;
4. Tap on the any place;
**Expected result:**
Logout dropdown is closed;
**Actual result:**
Logout dropdown is open;
![Screenrecorder-2020-02-10-17-02-26-358](/uploads/917b4a89df804c8a1df68d2d97940904/Screenrecorder-2020-02-10-17-02-26-358.mp4)Oleksii SavranOleksii Savranhttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/687Filters order2023-04-24T13:43:26+02:00Matija ObrezaFilters orderWe would like to highlight the *full-text search* and (if possible) have all groups collapsed by default.
![image](/uploads/77b7550fde6329e8314ca544bbcb0970/image.png)
Please make full-text field appear as the first filter. No heading,...We would like to highlight the *full-text search* and (if possible) have all groups collapsed by default.
![image](/uploads/77b7550fde6329e8314ca544bbcb0970/image.png)
Please make full-text field appear as the first filter. No heading, not collapsible.
All others should be collapsed by default.Vladyslava MokliakVladyslava Mokliakhttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/688Making Requests2020-02-24T16:11:04+01:00Matija ObrezaMaking RequestsWe need to make "Request for material" button more visible, the hamburger version hides it very well:
![image](/uploads/8fee159c4ab0522162c1110d5b4eff3e/image.png)
1. Rename "Send request" to "Request for material"
1. Can we automatica...We need to make "Request for material" button more visible, the hamburger version hides it very well:
![image](/uploads/8fee159c4ab0522162c1110d5b4eff3e/image.png)
1. Rename "Send request" to "Request for material"
1. Can we automatically open this action menu when users open the page?
## Unavailable
The **Out of 105 accessions listed, 105 are not available for distribution** message is not very helpful.
1. Please update to `{{available, number}} accessions of {{total, number}} selected can be requested through Genesys`.
1. Add this text before accession list: `Accessions can be requested through Genesys when the genebank enables this option and if accessions are flagged as available.`
1. Next steps should only be active if `available > 0`.
## Internal request
In the "Personal information"
![image](/uploads/c717ceaeaac909d581527a2e4e7ab945/image.png)
1. Add text `If you are requesting material from your institute you can use the internal request.` before the toggle.
1. Add text `Any additional information about your request is highly appreciated`.Oleksii SavranOleksii Savranhttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/689Extend user account2020-02-19T11:03:54+01:00Matija ObrezaExtend user accountgenesys-pgr/genesys-server!529 implements API endpoint for Administrator to extend the user account (if expired).
Add button (next to Lock) to "Extend account" in the user details page in /admin/genesys-pgr/genesys-server!529 implements API endpoint for Administrator to extend the user account (if expired).
Add button (next to Lock) to "Extend account" in the user details page in /admin/1.0Oleksii SavranOleksii Savranhttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/690ButtonBar vs hamburger2020-02-26T14:57:45+01:00Matija ObrezaButtonBar vs hamburgerThe `ButtonBar` is shown in collapsed hamburger state even on fairly large screens.
Please update so that it is collapsed at a more sensible breakpoint.The `ButtonBar` is shown in collapsed hamburger state even on fairly large screens.
Please update so that it is collapsed at a more sensible breakpoint.1.0Oleksii SavranOleksii Savranhttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/691"Request for material" button position;2020-02-26T14:57:44+01:00Kiril Morhalenko"Request for material" button position;**Steps:**
1. Go to the "/sel" page;
2. Add some accessions to your list;
**Expected result:**
Buttons on the button bar should be on the same line;
**Actual result:**
"Request for material" button is a little upper than other;
![image...**Steps:**
1. Go to the "/sel" page;
2. Add some accessions to your list;
**Expected result:**
Buttons on the button bar should be on the same line;
**Actual result:**
"Request for material" button is a little upper than other;
![image](/uploads/848dd23c4f931fefb2b1660ac9ec2f37/image.png)Oleksii SavranOleksii Savranhttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/692Extra spaces on the left drawer;2020-03-02T14:45:29+01:00Kiril MorhalenkoExtra spaces on the left drawer;**Steps:**
1. Open "https://sandbox.genesys-pgr.org/";
2. Make browser`s window smaller (S,XS size);
3. Open Left drawer;
4. Open "Explore" menu;
**Expected result:**
There aren`t extra spaces under and above menu which opened;
**Actua...**Steps:**
1. Open "https://sandbox.genesys-pgr.org/";
2. Make browser`s window smaller (S,XS size);
3. Open Left drawer;
4. Open "Explore" menu;
**Expected result:**
There aren`t extra spaces under and above menu which opened;
**Actual result:**
Extra spaces are presented;
![image](/uploads/080075ba5a7ac3bcb289c8d7019c2a69/image.png)Oleksii SavranOleksii Savranhttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/693[Chrome] Alpha 3 Code instead of country name;2020-03-02T15:04:38+01:00Kiril Morhalenko[Chrome] Alpha 3 Code instead of country name;**Steps:**
1. Go to "https://sandbox.genesys-pgr.org/network/EURISCO" as admin user;
2. Reload the page;
**Expected result:**
Country names should be displayed on the "Country of holding institute" block;
**Actual result:**
Alpha 3 Cod...**Steps:**
1. Go to "https://sandbox.genesys-pgr.org/network/EURISCO" as admin user;
2. Reload the page;
**Expected result:**
Country names should be displayed on the "Country of holding institute" block;
**Actual result:**
Alpha 3 Codes instead of country names are displayed;
![iso_code_insted_of_country_name](/uploads/1d39aae78c80a10c28a2a37baad445ed/iso_code_insted_of_country_name.gif)Oleksii SavranOleksii Savranhttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/694Token isn`t expired on the second tab;2020-03-10T11:52:00+01:00Kiril MorhalenkoToken isn`t expired on the second tab;**Steps:**
1. Go to "https://sandbox.genesys-pgr.org/" and login as admin user;
2. Open new tab and go to "https://sandbox.genesys-pgr.org/" (as result you should be already logged in);
3. Open `/admin` page;
4. Go to the first tab and l...**Steps:**
1. Go to "https://sandbox.genesys-pgr.org/" and login as admin user;
2. Open new tab and go to "https://sandbox.genesys-pgr.org/" (as result you should be already logged in);
3. Open `/admin` page;
4. Go to the first tab and logout;
5. Go to the second tab;
**Expected result:**
User should have `401 access token was denied` and will redirect to the login page;
**Actual result:**
User have access to `admin` and `dashboard` pages;
![token_isn_t_denied](/uploads/26d8cb5f697d6dbebc161aefb21fade9/token_isn_t_denied.gif)Oleksii SavranOleksii Savranhttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/695QA: Check FileRepository2020-04-09T15:25:09+02:00Matija ObrezaQA: Check FileRepositoryWe upgraded the **file-repository** on Genesys.
- Please check that *File repository* in Admin still works.
- Check crop cover images.
- That also affects the way Dataset attachments are handled. Please test the UI for adding/removing d...We upgraded the **file-repository** on Genesys.
- Please check that *File repository* in Admin still works.
- Check crop cover images.
- That also affects the way Dataset attachments are handled. Please test the UI for adding/removing dataset files (in the dashboard) and that file attachments work correctly.
1.0Kiril MorhalenkoKiril Morhalenkohttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/696FAO WIEWS link2020-04-09T11:48:47+02:00Matija ObrezaFAO WIEWS linkWe removed the link to institute details on FAO WIEWS website some time ago because there was no fixed URL.
Please add the link to external site `http://www.fao.org/wiews/data/organizations/${toFaoLanguage(lang)}/?instcode=${institute.c...We removed the link to institute details on FAO WIEWS website some time ago because there was no fixed URL.
Please add the link to external site `http://www.fao.org/wiews/data/organizations/${toFaoLanguage(lang)}/?instcode=${institute.code}#details` (with `<a target="wiews"`) to the institute page.
![image](/uploads/653afe307a7701f998185c9c5ac43ea1/image.png)
Map user selected language to the FAO language. FAO website supports the following:
- `zh` 中文
- `en` english
- `fr` français
- `ru` Русский
- `es` Español
- `ar` العربية
1.0Oleksii SavranOleksii Savranhttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/697Dependency updates2020-04-09T18:52:38+02:00Matija ObrezaDependency updatesPlease upgrade npm dependencies.
Please upgrade npm dependencies.
1.0Maxym BorodenkoMaxym Borodenkohttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/698Default image isn`t displayed on the `/c` page;2020-06-15T21:12:20+02:00Kiril MorhalenkoDefault image isn`t displayed on the `/c` page;**Steps:**
1. Go to "https://sandbox.genesys-pgr.org/c" as admin user;
2. Create new crop (e.g. "Test");
3. Go to "https://sandbox.genesys-pgr.org/admin/repository/f/crop/" as admin;
4. Create folder for new crop with the same name and o...**Steps:**
1. Go to "https://sandbox.genesys-pgr.org/c" as admin user;
2. Create new crop (e.g. "Test");
3. Go to "https://sandbox.genesys-pgr.org/admin/repository/f/crop/" as admin;
4. Create folder for new crop with the same name and open it;
5. Create "covers" folder and open it;
6. Upload picture;
7. Create gallery;
8. Go to "https://sandbox.genesys-pgr.org/c" and open created crop (make sure that image is uploaded);
9. Go to "https://sandbox.genesys-pgr.org/admin/repository/f/crop/" as admin and delete created folder;
10. Go to the `/c` page and wait for the information on the page to be updated (this may take about 15 minutes);
**Expected result:**
When crop don't have attached pictures on the `/c` page, default picture should be displayed;
**Actual result:**
Default image isn`t displayed;
![image](/uploads/b3084593046e145aee3e077fd43c9c24/image.png)Anastasiia KarasAnastasiia Karashttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/699Country names missing2020-04-09T18:52:38+02:00Matija ObrezaCountry names missinghttps://sandbox.genesys-pgr.org/partners/9daee3b7-8c70-43d1-b8ec-bc111d7e6942 does not list countries except for the first entry:
![image](/uploads/fa43888b28c0e4133fa25e68d956261a/image.png)https://sandbox.genesys-pgr.org/partners/9daee3b7-8c70-43d1-b8ec-bc111d7e6942 does not list countries except for the first entry:
![image](/uploads/fa43888b28c0e4133fa25e68d956261a/image.png)1.0Oleksii SavranOleksii Savranhttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/700Missing flags2020-04-14T10:07:46+02:00Matija ObrezaMissing flagsGenesys has a lot of data for ISO3 country codes for which we don't have a flag image:
![image](/uploads/b78a5d2dabbec36aef33f80df023472a/image.png)
We need a pre-processor that generates an array of existing `flags/${ISO}.png` so that...Genesys has a lot of data for ISO3 country codes for which we don't have a flag image:
![image](/uploads/b78a5d2dabbec36aef33f80df023472a/image.png)
We need a pre-processor that generates an array of existing `flags/${ISO}.png` so that we can use it in our application:
```tsx
{ ISO3_FLAGS[iso3] & <img src={ `/flags/${iso3}.png}` } /> }
```1.0Oleksii SavranOleksii Savranhttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/701Run automated tests2020-04-10T14:58:44+02:00Matija ObrezaRun automated testsWe updated the libraries and need to ensure all works as expected.
@kmorhalenko please run the automated tests and report if anything is different.We updated the libraries and need to ensure all works as expected.
@kmorhalenko please run the automated tests and report if anything is different.1.0Kiril MorhalenkoKiril Morhalenkohttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/702Login form label2020-04-17T13:18:09+02:00Matija ObrezaLogin form labelPlease replace the label *Username* with label: **Email address** in the login forms (nav bar and /login page)Please replace the label *Username* with label: **Email address** in the login forms (nav bar and /login page)1.0Oleksii SavranOleksii Savranhttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/703Login with G+ button dead2020-04-18T01:34:58+02:00Matija ObrezaLogin with G+ button dead"Login with Google" button in the menu is not responding, but it works on the */login* page
Also check:
![image](/uploads/865994a6500237b3346c459e422136a8/image.png)"Login with Google" button in the menu is not responding, but it works on the */login* page
Also check:
![image](/uploads/865994a6500237b3346c459e422136a8/image.png)1.0Oleksii SavranOleksii Savran