Genesys Website issueshttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues2019-05-22T11:43:58+02:00https://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/317Assets: /assets/locales2019-05-22T11:43:58+02:00Matija ObrezaAssets: /assets/localesWe need to increase cache timeout headers for assets (to 1 month at least) and for that we must embed some sort of hash into the asset filename.
`/locales/en/translations.json` should be `/locales/en/translations-HASH.json` where `HASH`...We need to increase cache timeout headers for assets (to 1 month at least) and for that we must embed some sort of hash into the asset filename.
`/locales/en/translations.json` should be `/locales/en/translations-HASH.json` where `HASH` is a md5/sha1 hash of the file content (not hash of the commit).0.1Viacheslav PavlovViacheslav Pavlovhttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/316Logo assets2019-05-22T12:54:19+02:00Matija ObrezaLogo assets`/assets` contains 4 SVGs that are loaded using separate HTTP GET:
![image](/uploads/4150ab13267f6db8275ba5f6d6043ba7/image.png)
Can we convert these to "code" so they get embedded in JS/CSS? Think material icons.`/assets` contains 4 SVGs that are loaded using separate HTTP GET:
![image](/uploads/4150ab13267f6db8275ba5f6d6043ba7/image.png)
Can we convert these to "code" so they get embedded in JS/CSS? Think material icons.0.1Oleksii SavranOleksii Savranhttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/315CSS web fonts2019-05-24T10:22:11+02:00Matija ObrezaCSS web fonts"Audit" tool in Chrome suggests
![image](/uploads/929fb730ea09be60f343009611dcc664/image.png)
https://developers.google.com/web/updates/2016/02/font-display
Please update CSS accordingly."Audit" tool in Chrome suggests
![image](/uploads/929fb730ea09be60f343009611dcc664/image.png)
https://developers.google.com/web/updates/2016/02/font-display
Please update CSS accordingly.0.1Oleksii SavranOleksii Savranhttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/312Bug: Accessions Overview SSR2019-05-20T19:45:41+02:00Matija ObrezaBug: Accessions Overview SSRSSR with filter code applied uses a very strange API URL that does not exist **/api/v1/acn/v18461d86381494a49a0faaa913f74c3da** (`/overview/` part is missing:
Opening beta.genesys-pgr.org/a/v18461d86381494a49a0faaa913f74c3da logs:
```
...SSR with filter code applied uses a very strange API URL that does not exist **/api/v1/acn/v18461d86381494a49a0faaa913f74c3da** (`/overview/` part is missing:
Opening beta.genesys-pgr.org/a/v18461d86381494a49a0faaa913f74c3da logs:
```
Incoming request, url: /a/v18461d86381494a49a0faaa913f74c3da
Backend API request to /api/v1/acn/v18461d86381494a49a0faaa913f74c3da
Incoming request, url: /proxy/api/v1/acn/v18461d86381494a49a0faaa913f74c3da
Will HTTP Proxy filter? true
HTTP proxy to https://api.genesys-pgr.org/api/v1/acn/v18461d86381494a49a0faaa913f74c3da
You have triggered an unhandledRejection, you may have forgotten to catch a Promise rejection:
Error: Request failed with status code 404
at createError (/var/www/genesys-ui/server/server.js:1:432189)
at settle (/var/www/genesys-ui/server/server.js:1:434620)
at IncomingMessage.handleStreamEnd (/var/www/genesys-ui/server/server.js:1:423088)
at IncomingMessage.emit (events.js:202:15)
at endReadableNT (_stream_readable.js:1129:12)
at args.(anonymous function) (/usr/local/lib/node_modules/pm2/node_modules/event-loop-inspector/index.js:138:29)
at processTicksAndRejections (internal/process/next_tick.js:76:17)
Server info fetched in 83ms
```
My guess is that the bug is caused in `server.ts` in the redirect to DOI and it uses a regexp pattern that is way too broad:
```
:lang(/[a-z]{2})?/a/:uuid([a-z\\-0-9]+)
```
The pattern for `uuid` must be better, maybe:
```
// 79480324-a570-494c-a33e-524ab1b91755
.{8}(\\-.{4}){3}\\-.{12}
```
React routes still work properly, because routes using `filterCode` match before the route with `uuid`.
## Update
It's much worse, this bug affects any URL starting with `/a/`.0.1Andrey GarnitskiyAndrey Garnitskiyhttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/311Overviews: "Other" and "Missing"2019-06-04T18:24:44+02:00Matija ObrezaOverviews: "Other" and "Missing"The number for **Other** records should not be clickable:
![image](/uploads/59a1a238a42efc53631bb0306b7fe06f/image.png)
Also:
- If value for "Other" is 0, then it should not render.
- If value for "Missing" is 0, then it should not re...The number for **Other** records should not be clickable:
![image](/uploads/59a1a238a42efc53631bb0306b7fe06f/image.png)
Also:
- If value for "Other" is 0, then it should not render.
- If value for "Missing" is 0, then it should not render.
This applies to all sections of all Overviews across the site.0.1Maxym BorodenkoMaxym Borodenkohttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/310Bug: Autocomplete "Provenance"2019-05-21T17:46:15+02:00Matija ObrezaBug: Autocomplete "Provenance"Autocompleter for "Provenance of material" is not autocompleting: https://beta.genesys-pgr.org/a/overviewAutocompleter for "Provenance of material" is not autocompleting: https://beta.genesys-pgr.org/a/overview0.1Oleksii SavranOleksii Savranhttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/308Mobile: Login and Language dropdowns2019-05-24T11:19:26+02:00Matija ObrezaMobile: Login and Language dropdownsOn mobiles, the Login and Language dropdowns behave very strange: they don't open as you would expect.On mobiles, the Login and Language dropdowns behave very strange: they don't open as you would expect.0.1Oleksii SavranOleksii Savranhttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/307Links in footer2019-05-20T17:56:22+02:00Matija ObrezaLinks in footerLinks in footer are obsolete. Please update:
- Report issue: mailto=helpdesk@genesys-pgr.org&subject=Issue with Genesys
- Source code: https://gitlab.croptrust.org/genesys-pgr/genesys-serverLinks in footer are obsolete. Please update:
- Report issue: mailto=helpdesk@genesys-pgr.org&subject=Issue with Genesys
- Source code: https://gitlab.croptrust.org/genesys-pgr/genesys-server0.1Viacheslav PavlovViacheslav Pavlovhttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/305Add menu item to "Documentation"2019-05-15T14:05:45+02:00Matija ObrezaAdd menu item to "Documentation"Add link "Passport data" (/documentation/basics) to "Documentation" section.
Content is at https://beta.genesys-pgr.org/documentation/basics.Add link "Passport data" (/documentation/basics) to "Documentation" section.
Content is at https://beta.genesys-pgr.org/documentation/basics.0.1Oleksii SavranOleksii Savranhttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/304Center-align Snackbar2019-05-15T14:05:45+02:00Matija ObrezaCenter-align SnackbarThe Snackbar now covers the big "Add" **+** icon. Center-align the snackbar.
![image](/uploads/913b4ffb6be07435e88b8c7d114d8d2d/image.png)The Snackbar now covers the big "Add" **+** icon. Center-align the snackbar.
![image](/uploads/913b4ffb6be07435e88b8c7d114d8d2d/image.png)0.1Oleksii SavranOleksii Savranhttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/303Bug: My List counter2019-05-14T17:35:27+02:00Matija ObrezaBug: My List counterUser reports that the counter position is not valid in Microsoft Edge 42.17134.1.0 Microsoft EdgeHTML 17.17134:
[cid_image001.jpg_01D50991.61036CE0](/uploads/3b02f7008290a4af4deeeb3563441dde/cid_image001.jpg_01D50991.61036CE0)User reports that the counter position is not valid in Microsoft Edge 42.17134.1.0 Microsoft EdgeHTML 17.17134:
[cid_image001.jpg_01D50991.61036CE0](/uploads/3b02f7008290a4af4deeeb3563441dde/cid_image001.jpg_01D50991.61036CE0)0.1Viacheslav PavlovViacheslav Pavlovhttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/302Add ? to full-text search input2019-05-15T17:35:43+02:00Matija ObrezaAdd ? to full-text search inputWe wish to add a **?** material icon with `<Link` to */content/help/how-to-use-genesys*.
Please add `endAdornment` to the **Full-text search** accession filter with this icon and link.
![image](/uploads/f499dad92cc646d382a2bf45e19c10b1...We wish to add a **?** material icon with `<Link` to */content/help/how-to-use-genesys*.
Please add `endAdornment` to the **Full-text search** accession filter with this icon and link.
![image](/uploads/f499dad92cc646d382a2bf45e19c10b1/image.png)0.1Oleksii SavranOleksii Savranhttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/301Delay image load and display2019-05-15T16:45:22+02:00Matija ObrezaDelay image load and displayWe want to prevent the browser from loading image data from remote server if they are not in view.
Update the `<CropImage` control and use existing `react-visibility-sensor` to toggle visibility of the `<img`. This toggle from `hidden` ...We want to prevent the browser from loading image data from remote server if they are not in view.
Update the `<CropImage` control and use existing `react-visibility-sensor` to toggle visibility of the `<img`. This toggle from `hidden` to `visible` must be done only once.
Maybe using CSS `visibility: hidden|visible` (on the `img`) will work?0.1Viacheslav PavlovViacheslav Pavlovhttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/300Bug: Download metadata for institute2019-05-14T15:01:31+02:00Matija ObrezaBug: Download metadata for instituteFrom institute page https://beta.genesys-pgr.org/wiews/CIV033 I access the institute files. From there I want to download metadata, but it is using URL `https://beta.genesys-pgr.org/proxy/api/v1/repository/download/folder-metadata//wiews...From institute page https://beta.genesys-pgr.org/wiews/CIV033 I access the institute files. From there I want to download metadata, but it is using URL `https://beta.genesys-pgr.org/proxy/api/v1/repository/download/folder-metadata//wiews/CIV033` that results in **404 Not found**.
Please re-test uploading of metadata, too.0.1Viacheslav PavlovViacheslav Pavlovhttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/299Subsets: Creators2019-05-15T17:18:29+02:00Matija ObrezaSubsets: CreatorsEditing **Creators** does not support all functions we have available for Datasets:
- Autocomplete Creator by name (and prefill)
- Creator Roles are not displayed with their descriptions
![image](/uploads/05819a2343d7e5e2d61641d549117a...Editing **Creators** does not support all functions we have available for Datasets:
- Autocomplete Creator by name (and prefill)
- Creator Roles are not displayed with their descriptions
![image](/uploads/05819a2343d7e5e2d61641d549117aa3/image.png)0.1Oleksii SavranOleksii Savranhttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/298Partners list2019-05-15T14:14:19+02:00Matija ObrezaPartners listExploring https://beta.genesys-pgr.org/partners we should be displaying more information:
- Display `shortName` of partner
- Display `countries` of partner
Display `shortName` as `<b>{ partner.shortName }</b>` before partner name. ![im...Exploring https://beta.genesys-pgr.org/partners we should be displaying more information:
- Display `shortName` of partner
- Display `countries` of partner
Display `shortName` as `<b>{ partner.shortName }</b>` before partner name. ![image](/uploads/6904a535af455f7f17d8aa8b94c5ede4/image.png). The `PartnerLink` component should be a link to partner page.
Display countries of partner in the card body, before partner description. Decoded country names (for the current language) would be best. That way, if there is no description, there is some content in that area.0.1Oleksii SavranOleksii Savranhttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/297CSS for PrettyDate position2019-05-10T12:59:41+02:00Matija ObrezaCSS for PrettyDate positionIf you hover over any date using `<PrettyDate` the full date information is shown far above the value you are hovering over:
![image](/uploads/5839139b973c40339f729c432a4b40b4/image.png)
Please add CSS that ensures the info is displaye...If you hover over any date using `<PrettyDate` the full date information is shown far above the value you are hovering over:
![image](/uploads/5839139b973c40339f729c432a4b40b4/image.png)
Please add CSS that ensures the info is displayed with a black border and white background just a few pixels above the date.0.1Oleksii SavranOleksii Savranhttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/296Confirm delete actions2019-05-14T09:55:42+02:00Matija ObrezaConfirm delete actionsI noticed I can delete ACL permissions entry without confirming what I am deleting. Every "Delete" action in the user interface should display the confirmation dialog before such destructive action.
Please add confirmation dialogs to al...I noticed I can delete ACL permissions entry without confirming what I am deleting. Every "Delete" action in the user interface should display the confirmation dialog before such destructive action.
Please add confirmation dialogs to all delete operations.0.1Viacheslav PavlovViacheslav Pavlovhttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/295Dashboard: Descriptors2019-05-10T14:16:21+02:00Matija ObrezaDashboard: DescriptorsSelecting multiple descriptor entries and hitting "Delete selected" only deletes the first one.
![image](/uploads/091409ce61161ca560d1bf0cbceb17e0/image.png)
- It is canceling the previous API call
- Maybe best to issue calls one after...Selecting multiple descriptor entries and hitting "Delete selected" only deletes the first one.
![image](/uploads/091409ce61161ca560d1bf0cbceb17e0/image.png)
- It is canceling the previous API call
- Maybe best to issue calls one after the other?0.1Oleksii SavranOleksii Savranhttps://gitlab.croptrust.org/genesys-pgr/genesys-ui/-/issues/294Dashboard: Dataset descriptors2019-05-10T13:09:58+02:00Matija ObrezaDashboard: Dataset descriptorsIn dataset editor, when I apply filters for descriptors the 1st page is loaded correctly. But on scroll, it does not load the next page correctly -- the filters are lost.In dataset editor, when I apply filters for descriptors the 1st page is loaded correctly. But on scroll, it does not load the next page correctly -- the filters are lost.0.1Oleksii SavranOleksii Savran