Genesys Website issueshttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues2019-08-13T14:17:05+02:00https://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/462Redirect /api/*2019-08-13T14:17:05+02:00Matija ObrezaRedirect /api/*Add a redirect to all HTTP requests to `/api/*` to `$API_URL/api/*`/.
This should instruct clients to switch to https://api.genesys-pgr.org in Production.Add a redirect to all HTTP requests to `/api/*` to `$API_URL/api/*`/.
This should instruct clients to switch to https://api.genesys-pgr.org in Production.0.1Oleksii SavranOleksii Savranhttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/461robots.txt2019-08-13T22:46:49+02:00Matija Obrezarobots.txthttps://www.genesys-pgr.org/robots.txt reports `Disallow: /` when `ALLOW_ROBOTS=true`.
Docker container settings have:
```
- "SSR=true"
- "ALLOW_ROBOTS=true"
```
`robots.ts` does:
```js
const allow = process.env.ALLOW_ROB...https://www.genesys-pgr.org/robots.txt reports `Disallow: /` when `ALLOW_ROBOTS=true`.
Docker container settings have:
```
- "SSR=true"
- "ALLOW_ROBOTS=true"
```
`robots.ts` does:
```js
const allow = process.env.ALLOW_ROBOTS === 'true' ? 'Allow: /' : 'Disallow: /';
```0.1Oleksii SavranOleksii Savranhttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/455Feature: Upload progress2019-08-07T16:36:36+02:00Matija ObrezaFeature: Upload progressWhen uploading larger dataset attachments (20MB+) user has no visual indication of upload progress.
Can we have some sort of progress bar or `34% complete` while the upload is running?When uploading larger dataset attachments (20MB+) user has no visual indication of upload progress.
Can we have some sort of progress bar or `34% complete` while the upload is running?0.1Oleksii SavranOleksii Savranhttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/450Use default language for articles2019-08-06T17:20:04+02:00Matija ObrezaUse default language for articlesI've recently enabled the Czech language on https://sandbox.genesys-pgr.org/cs/. We don't have `cs` translations for some CMS content and the page is blank. See https://sandbox.genesys-pgr.org/cs/content/about/about
If content is not av...I've recently enabled the Czech language on https://sandbox.genesys-pgr.org/cs/. We don't have `cs` translations for some CMS content and the page is blank. See https://sandbox.genesys-pgr.org/cs/content/about/about
If content is not available in selected language, default language (`en`) content should be loaded and displayed.0.1Viacheslav PavlovViacheslav Pavlovhttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/449Descriptor editor with stepper2019-08-07T12:23:27+02:00Matija ObrezaDescriptor editor with stepperUpgrade the current descriptor editor with the Stepper with 2 steps:
1. Basic information
2. Review and publish
Please check why the `crop` is not selected.Upgrade the current descriptor editor with the Stepper with 2 steps:
1. Basic information
2. Review and publish
Please check why the `crop` is not selected.0.1Oleksii SavranOleksii Savranhttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/440Bulk operations for Subsets2019-08-06T12:56:50+02:00Matija ObrezaBulk operations for SubsetsThe dashboard for Subsets is missing bulk operations (Select all, Publish, Reject, ...). Please add bulk operations to Subsets, similar to Datasets and Descriptor Lists.The dashboard for Subsets is missing bulk operations (Select all, Publish, Reject, ...). Please add bulk operations to Subsets, similar to Datasets and Descriptor Lists.0.1Oleksii SavranOleksii Savranhttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/436Delayed Google login2019-08-01T09:11:57+02:00Matija ObrezaDelayed Google loginThe login with Google now loads on every page and on slow connections it prevents the completion of page load.
Please implement something along the lines of:
1. Introduce a new button for "Login with Google"
1. Load google-oauth-login ...The login with Google now loads on every page and on slow connections it prevents the completion of page load.
Please implement something along the lines of:
1. Introduce a new button for "Login with Google"
1. Load google-oauth-login components only after the button has been clicked
1. Trigger authentication0.1Oleksii SavranOleksii Savranhttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/434Add Reset password link2019-07-30T14:24:59+02:00Matija ObrezaAdd Reset password linkAdd link to */forgot-password* to the dropdown menu:
![image](/uploads/7255c7088a5607ca1ddf290d8d2a28d2/image.png)
Translations for the menu title already exist in from https://beta.genesys-pgr.org/loginAdd link to */forgot-password* to the dropdown menu:
![image](/uploads/7255c7088a5607ca1ddf290d8d2a28d2/image.png)
Translations for the menu title already exist in from https://beta.genesys-pgr.org/login0.1Oleksii SavranOleksii Savranhttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/430Catalog dashboard: Datasets multi-action2019-07-24T11:44:59+02:00Matija ObrezaCatalog dashboard: Datasets multi-actionMultiple datasets cannot be un-published:
![image](/uploads/7dc4230c4a4bebcbad071a967e36b3d8/image.png)
```
37genesys.8b1006952d7838ab3609.js:1 Previous call was canceled
37v223EamQ44Y:1 Uncaught (in promise) Previous call was canceled...Multiple datasets cannot be un-published:
![image](/uploads/7dc4230c4a4bebcbad071a967e36b3d8/image.png)
```
37genesys.8b1006952d7838ab3609.js:1 Previous call was canceled
37v223EamQ44Y:1 Uncaught (in promise) Previous call was canceled
```
We fixed a similar bug for deleting descriptors some time ago.0.1Maxym BorodenkoMaxym Borodenkohttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/429Better SSR startup2019-07-30T13:20:44+02:00Matija ObrezaBetter SSR startupIn the current implementation, if the expressjs server with Genesys website is started when the backend is unreachable it results in a very dead website.
Update the expressjs service startup so that it will first obtain the necessary co...In the current implementation, if the expressjs server with Genesys website is started when the backend is unreachable it results in a very dead website.
Update the expressjs service startup so that it will first obtain the necessary config from the backend and only then start up the Genesys website.
Ideally, the solution would respond with a simple error message "Waiting for Genesys server to be available" (error code 500 or so) while it's trying to obtain the necessary information from the API.0.1Viacheslav PavlovViacheslav Pavlovhttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/428Bug Apply Filters: Dataset traits2019-07-24T16:22:03+02:00Matija ObrezaBug Apply Filters: Dataset traits> Apply Filter is not working to add descriptors to DATASET
>
> https://beta.genesys-pgr.org/dashboard/datasets/898bebca-4f68-4bdd-9f7f-2ad52e87fe20/edit/traits-observed
![ApplyFilterNotWorking](/uploads/e74932e529e97432fa651bc853d1fcd7...> Apply Filter is not working to add descriptors to DATASET
>
> https://beta.genesys-pgr.org/dashboard/datasets/898bebca-4f68-4bdd-9f7f-2ad52e87fe20/edit/traits-observed
![ApplyFilterNotWorking](/uploads/e74932e529e97432fa651bc853d1fcd7/ApplyFilterNotWorking.png)0.1Viacheslav PavlovViacheslav Pavlovhttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/426Bug Image Browser jumps to top2019-07-30T13:27:01+02:00Matija ObrezaBug Image Browser jumps to top1. Open https://beta.genesys-pgr.org/a/images/v2JX1EV04My
2. Scroll to the bottom of the page to load more images
3. Page jumps to top (and it shouldn't).1. Open https://beta.genesys-pgr.org/a/images/v2JX1EV04My
2. Scroll to the bottom of the page to load more images
3. Page jumps to top (and it shouldn't).0.1Viacheslav PavlovViacheslav Pavlovhttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/422BUG Admin CMS: Activity posts2019-07-17T17:46:07+02:00Matija ObrezaBUG Admin CMS: Activity postsCannot open list of Activity posts in Admin CMS:
```
TypeError: Cannot read property 'replace' of null
at Function.a.htmlTitleToText (genesys.b8430e2044648900d4b6.js:1)
at genesys.b8430e2044648900d4b6.js:1
at Do (vendors.b84...Cannot open list of Activity posts in Admin CMS:
```
TypeError: Cannot read property 'replace' of null
at Function.a.htmlTitleToText (genesys.b8430e2044648900d4b6.js:1)
at genesys.b8430e2044648900d4b6.js:1
at Do (vendors.b8430e2044648900d4b6.js:1)
at ha (vendors.b8430e2044648900d4b6.js:1)
at pa (vendors.b8430e2044648900d4b6.js:1)
at Ka (vendors.b8430e2044648900d4b6.js:1)
at Va (vendors.b8430e2044648900d4b6.js:1)
at qa (vendors.b8430e2044648900d4b6.js:1)
at Ba (vendors.b8430e2044648900d4b6.js:1)
at ga (vendors.b8430e2044648900d4b6.js:1)
Fo @ vendors.b8430e2044648900d4b6.js:1
Vo.n.callback @ vendors.b8430e2044648900d4b6.js:1
Ui @ vendors.b8430e2044648900d4b6.js:1
Wi @ vendors.b8430e2044648900d4b6.js:1
Za @ vendors.b8430e2044648900d4b6.js:1
Ka @ vendors.b8430e2044648900d4b6.js:1
Va @ vendors.b8430e2044648900d4b6.js:1
qa @ vendors.b8430e2044648900d4b6.js:1
Ba @ vendors.b8430e2044648900d4b6.js:1
ga @ vendors.b8430e2044648900d4b6.js:1
enqueueSetState @ vendors.b8430e2044648900d4b6.js:1
_.setState @ vendors.b8430e2044648900d4b6.js:1
t @ vendors.b8430e2044648900d4b6.js:1
(anonymous) @ vendors.b8430e2044648900d4b6.js:1
Promise.then (async)
n._loadModule @ vendors.b8430e2044648900d4b6.js:1
n.componentWillMount @ vendors.b8430e2044648900d4b6.js:1
lo @ vendors.b8430e2044648900d4b6.js:1
Do @ vendors.b8430e2044648900d4b6.js:1
ha @ vendors.b8430e2044648900d4b6.js:1
pa @ vendors.b8430e2044648900d4b6.js:1
Ka @ vendors.b8430e2044648900d4b6.js:1
Va @ vendors.b8430e2044648900d4b6.js:1
qa @ vendors.b8430e2044648900d4b6.js:1
ns @ vendors.b8430e2044648900d4b6.js:1
Dn @ vendors.b8430e2044648900d4b6.js:1
```0.1Oleksii SavranOleksii Savranhttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/403Create gallery button missing2019-06-27T17:28:26+02:00Matija ObrezaCreate gallery button missingIn file repository admin I cannot "Create gallery" anymore. The button is missing, but the "View gallery" button is there?
![image](/uploads/1bc415f9ddc39cc15793a1903a4f5f63/image.png)In file repository admin I cannot "Create gallery" anymore. The button is missing, but the "View gallery" button is there?
![image](/uploads/1bc415f9ddc39cc15793a1903a4f5f63/image.png)0.1Andrey GarnitskiyAndrey Garnitskiyhttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/395SSR crop details2019-07-17T08:22:08+02:00Matija ObrezaSSR crop detailsSSR does not include Diversity Tree.
Open https://beta.genesys-pgr.org/c/banana observe that the page does not display the "Diversity tree".
Open https://beta.genesys-pgr.org/ click **Banana**, the tree is displayed.SSR does not include Diversity Tree.
Open https://beta.genesys-pgr.org/c/banana observe that the page does not display the "Diversity tree".
Open https://beta.genesys-pgr.org/ click **Banana**, the tree is displayed.0.1Viacheslav PavlovViacheslav Pavlovhttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/391Swap title and main heading 22019-06-24T10:26:05+02:00Matija ObrezaSwap title and main heading 2Same as #332 and #326, swap for remaining pages (accession, partner, institute, network, crop).
For Partner, make the `shortName` **bold**, no `#` (same as partner link):
```
<b>{ shortName }<b> { title }
```Same as #332 and #326, swap for remaining pages (accession, partner, institute, network, crop).
For Partner, make the `shortName` **bold**, no `#` (same as partner link):
```
<b>{ shortName }<b> { title }
```0.1Oleksii SavranOleksii Savranhttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/390ClickAwayListener problems2019-06-20T15:04:11+02:00Matija ObrezaClickAwayListener problemsNavigate to https://sandbox.genesys-pgr.org/datasets/overview apply any filter.
Every action on the page results in:
```
vendors.654a4362ab5c142937fe.js:1 Uncaught Invariant Violation: Minified React error #185; visit https://reactjs.o...Navigate to https://sandbox.genesys-pgr.org/datasets/overview apply any filter.
Every action on the page results in:
```
vendors.654a4362ab5c142937fe.js:1 Uncaught Invariant Violation: Minified React error #185; visit https://reactjs.org/docs/error-decoder.html?invariant=185 for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
at e.exports (https://sandbox.genesys-pgr.org/vendors.654a4362ab5c142937fe.js:1:714929)
at d (https://sandbox.genesys-pgr.org/vendors.654a4362ab5c142937fe.js:1:1286843)
at ga (https://sandbox.genesys-pgr.org/vendors.654a4362ab5c142937fe.js:1:1365433)
at Object.enqueueSetState (https://sandbox.genesys-pgr.org/vendors.654a4362ab5c142937fe.js:1:1340993)
at n._.setState (https://sandbox.genesys-pgr.org/vendors.654a4362ab5c142937fe.js:1:1282569)
at https://sandbox.genesys-pgr.org/vendors.654a4362ab5c142937fe.js:1:660381
```
This makes the page unresponsive.
The reason is the `ClickAwayListener` in `PrettyFilters` calls to `setState`.0.1Oleksii SavranOleksii Savranhttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/387Amphibian preview: rows not refreshed2019-06-19T01:27:14+02:00Matija ObrezaAmphibian preview: rows not refreshedRows are not properly refreshed when switching tabs:
![image](/uploads/dc5be0b70a35b554fccbf77f89e41d99/image.png)
Contains rows from sheet 0!Rows are not properly refreshed when switching tabs:
![image](/uploads/dc5be0b70a35b554fccbf77f89e41d99/image.png)
Contains rows from sheet 0!0.1Matija ObrezaMatija Obrezahttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/384Links to Partner2019-06-19T11:29:51+02:00Matija ObrezaLinks to PartnerAll links to partner should be using the **`SHORTNAME`** `Full name` notation, not just the `Full name` (when possible):
![image](/uploads/0d33e7b239ca1ca9f692d04bc773d847/image.png)
This is mostly in datasets, subsets and descriptor l...All links to partner should be using the **`SHORTNAME`** `Full name` notation, not just the `Full name` (when possible):
![image](/uploads/0d33e7b239ca1ca9f692d04bc773d847/image.png)
This is mostly in datasets, subsets and descriptor lists.0.1Oleksii SavranOleksii Savranhttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/383Bug: Image display2019-06-21T00:14:05+02:00Matija ObrezaBug: Image displayImage in gallery view does not keep image aspect and distorts image display:
![image](/uploads/2d1823535e8d9a11c671de3839cd8e89/image.png)Image in gallery view does not keep image aspect and distorts image display:
![image](/uploads/2d1823535e8d9a11c671de3839cd8e89/image.png)0.1Oleksii SavranOleksii Savran