idigbio / idb-portal Goto Github PK
View Code? Open in Web Editor NEWiDigBio search portal
Home Page: https://www.idigbio.org/portal
License: GNU General Public License v3.0
iDigBio search portal
Home Page: https://www.idigbio.org/portal
License: GNU General Public License v3.0
The portal shows "specimen" as the value for basis-of-record, but if a user wants to search by that field, they need to enter "PreservedSpecimen," which isn't apparent.
@wilsotc please feel free to edit this issue if I've mis-characterized anything.
This record is published without coordinates - https://www.gbif.org/occurrence/199452881, but appears on iDigBio's map as having 0 in the decimalLatitude and decimalLongitude fields, and is therefore showing up on the map incorrectly. Is it putting in default values when it imports from GBIF?
Edit: Sorry, here is the link on iDigBio: https://www.idigbio.org/portal/records/d94e148c-e100-4a03-bdb2-e5345fb6a309
Currently, when a requested collections page does not exist the 404 page is rendered in the display:
https://www.idigbio.org/portal/collections/ebe1c67f-4c55-440b-a3cc-1b140278b795
I'll take a look at the display logic and see if I can put together a PR for this issue, this ticket is just to document the error as found.
If this can be updated, then we can close redmine ticket 628
Spelling error "successfully"
Add "and is supported for"
idb-portal/app/views/tutorial.html
[line24]
The iDigBio Portal requires the use of an HTML5 compliant browser with cookies enabled. The Portal has been tested successfully against, and is supported for, the following browsers:
Chrome
Firefox
Safari
Internet Explorer 10,11
The flags listed in
https://github.com/iDigBio/idb-portal/blob/master/public/client/js/lib/dq_flags.js
should match what is documented in the backend wiki
https://github.com/iDigBio/idigbio-search-api/wiki/Data-Quality-Flags
which should match what is available in the backend / index.
@danstoner discovered that sometimes this page:
https://www.idigbio.org/portal/publishers
shows 0 for the "API" portion of the stats (both summary and by-publisher).
Sometimes, reloading will show an appropriate response. You can see the network request come back with an empty result set when 0s appear.
My hunch is a a timeout/race condition, as the search consistently returns results, but the response times are 400-1200ms.
app/controllers/publishers.js
calls "render" on publishers.
which includes a parallel async call like this in the script:
idbapi.summary('stats/api',{inverted: "true",minDate:"now-1d"},function(resp){
an equivalent curl request is:
curl --location --request POST 'search.idigbio.org/v2/summary/stats/api' \
--header 'Content-Type: text/plain' \
--data-raw '{inverted: "true",minDate:"now-1d"}'
Recordset pages in the iDigBio portal contain contact information that is not editable through iDigBio. There are frequent requests to update this information in iDigBio when in fact the information should be edited in the source IPT or other system. See: http://redmine.idigbio.org/issues/3846 for a recent request.
Add a link on the recordset page with information on how to update the contact information. This will vary by recordset so the text needs to include information for various scenarios (IPT, Symbiota, etc.)
When searching for:
dwc:class:Insecta
and
dwc:basisOfRecord:PreservedSpecimen
dwc:institutionCode:CM
(Carnegie Museum of Natural History)
Expected:
when searching for records with class Insecta, only records of class Insecta are returned.
Actual:
Search results include record https://www.idigbio.org/portal/records/729bdadb-8e42-4c32-8068-cac41ab005e9 of class Gastropoda
An email address entered by users who are using the portal to download records may not be passed through if the user does not enter text in the search boxes. The outcome is that users are not notified when their downloads are complete and repeatedly submit identical jobs.
Steps to reproduce:
I suspect the address is not getting passed to the Download API for some reason.
If the backend download system fails the portal keeps displaying that as Status "pending".
E.g. on a current download, the status url is requesting: https://api.idigbio.org/v2/download/f1f91566-3b1f-4478-b3ed-af32703f5cca yield response:
{
"complete": false,
"core_source": "indexterms",
"core_type": "records",
"expires": "2017-01-11T12:22:30.268094",
"form": "dwca-csv",
"mediarecord_fields": null,
"mq": null,
"record_fields": null,
"rq": {
"scientificname": "alligator mississippiensis"
},
"status_url": "https://api.idigbio.org/v2/download/f1f91566-3b1f-4478-b3ed-af32703f5cca",
"task_status": "FAILURE"
}
but the portal keeps requesting that about every 4s and the status pane in the download tab keeps saying "pending"
https://github.com/iDigBio/idb-portal/blob/master/README.md#stand-alone-map-module-use
I deployed this locally and on CodePen. Both examples fail to render the map correctly. There appear to be multiple layers that are not positioned correctly.
https://codepen.io/cngodles/live/c521f42339969f34d9159bd5ecfbc93f
In idb-portal/config/config.js , the redis server adddresses are hard-coded.
Pull out and parameterize.
If you search via a yyyy-mm-dd format, all is well, but if you put only a 4-digit year into the start+end boxes, you'll get results outside of that range.
Options here would be (in no particular order):
Darin Core Basis of Record (dwc:basisOfRecord) removed because of invalid value.
This needs to be corrected here:
https://github.com/iDigBio/idb-portal/blob/master/public/client/js/lib/dq_flags.js#L6
regarding https://www.idigbio.org/portal/publishers
The lists in each section used to be sortable by clicking on each column heading. The little up/down arrow indicators for sort are not visible and clicking in the column header does not seem to do anything.
My Chrome dev console contains:
Uncaught TypeError: $(...).tablesorter is not a function
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.