-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve display of assertions on records pages #372
Comments
thanks to the i18n work @vjrj did, we can actually override i18n properties by putting updated messages_en.properties in any of the following paths: messageSource.setBasenames(
"file:https:///var/opt/atlas/i18n/downloads-plugin/messages",
"file:https:///opt/atlas/i18n/downloads-plugin/messages",
"file:https:///var/opt/atlas/i18n/biocache-hubs/messages",
"file:https:///opt/atlas/i18n/biocache-hubs/messages",
"WEB-INF/grails-app/i18n/messages",
"classpath:messages",
"${application.config.biocache.baseUrl}/facets/i18n"
) |
Fixed the majority this in 3.0.6 of biocache-service @nickdos i was able to change the i18n of the assertions without making any changes to ala-hub/biocache-hub .
I don't think we need to tackle any changes in biocache-hubs for pipelines v1. |
i think this has been verified by @peggynewman - moving to Done |
? Help shows still errors to I think we need to keep this open while the spreadsheet placeholders are updated. I think we need to confirm the expand collapse requirement to hide all assertions. |
I've updated all the assertions codes to map to previous names where available and added the new assertions to the google sheet. Note: the assertions names displayed as labels are still configured with the legacy names because biocache-hub uses the assertions name to generate the wiki link (eg. |
@brucehyslop I was under the impression help, even if it was only placeholders was going to be fixed. Is that fix still not in this release? see image below Also related to the screenshot above, we still have both "Coordinate precision invalid" and "Coordinate precision not valid" probably one is ALA and the other GBIF. I was under the impression we are not checking this so the assertion didn't have to be there otherwise it would be passed for all records regardless. Happy to be corrected. |
@javier-molina what was this image captured? There was a commit on Mon 26th May that resolved the duplicate "Coordinate precision invalid" assertion. This was merged on Tue 27th and should have been deployed shortly afterwards. As for the help tooltips, I tested all of them last week and didn't find any that where missing. My only thought is that the cache of the google sheet that contains the data may not have been refreshed on every ala-hub node and the load balancer was directing me to an updated node when I test. |
Hi @brucehyslop I just tested now. Help is showing properly now. Duplicate precision invalid/not valid still showing though. |
@javier-molina I can't seem replicate this. Can you provide the occurrence record id |
@brucehyslop I should've added this ages ago |
And "Missing coordinate precision " has to go too please. |
Removing the The update has been made however the until the deployment of the latest biocache-service snapshot release and flushing of the biocache-hubs caches there may be an issue with the tooltips being out of sync with the assertion. Note: this will only effect ALAOccurrenceIssues |
…LIKELY from ALAOccurrenceIssue (duplicate of GBIF OccurrenceIssue)
Also removed duplicate assertion |
I still saw 2 entries on https://biocache-test.ala.org.au/occurrences/03068f05-d4ff-41b7-aef2-cec84bee75f5 |
…COORDINATE_PRECISION_UNCERTAINTY_MISMATCH assertion
changed label for the assertion |
…nes-#372-show-hide-passed-assertions AtlasOfLivingAustralia/la-pipelines#372 hide passed assertions by default
… assertion code `1`
The cause broken tooltips is biocache-hub is returning the old assertions codes (https://biocache-dq-test.ala.org.au/dataQuality/allCodes) however the assertions codes are retrieved from biocache-service (https://nci3-biocache-service.ala.org.au/ws/assertions/codes) which has the correct codes. Possible a cache issue however the cache should not contain pre-pipeline assertion codes, a rebuild and deployment to NCI3 should not have maintained the cache. |
Has there been a change to the deployment or config? This was working last week (Friday). |
Found the issue. |
There was an issue where all assertions appeared to have wiki links whether there was actual pages created for the assertions with that name or not. This meant, if a page hadn't been created, any user clicking on the link would be presented with a wiki creation page and asked to create their own. To fix this I edited the data quality checks google doc spreadsheet on the "Data Quality Checks - Pipelines" tab to remove the text "wiki" in the wiki link column for all those assertions that don't yet have a page. I then refreshed the cache at https://biocache-dq-test.ala.org.au/admin This should have resulted in the info for assertions with a page displaying a link, and the info for pages without links not displaying a link. See this image from Prod. Actual result is an error message on all links whether a page exists or not. I will recheck on Monday morning, but it looks like something else is broken. |
@javier-molina Yes, biocache-dq-test is missing the added param that was also missing in AVH. I'll check ansible and make sure its saved there before fixing the dq-test site. |
Tested by:
Expected results
Actual results
Wondering if the code is referencing the right worksheet in the DataQuality Checks google doc? The correct sheet with all new assertion names is https://docs.google.com/spreadsheets/d/1tAfQUsIzUNfa6Tn5Ezq2cfbMVB0QeXIyp7N0We2lBAY/edit?hl=en&hl=en&hl=en#gid=820855861 Data Quality Checks - Pipelines |
Retested |
* #379 Records from DigiVol don't show "Flag an issue" button * updated version to 3.0.3-SNAPSHOT for next iteration * Feature/duplicate record (#429) Add duplicate assertion type to flag an issue * enhanced duplicate record flag (#431) * release 3.0.3 (#432) * version to 3.0.4-SNAPSHOT * #434 fix duplicate record facet labels Code formatting * Feature my annotation (#435) * allow user to subscribe to 'my annotation' alert when flagging an issue * Fix jquery.i18n load errors * $.param() doesn't format object correctly (#438) * Release/3.0.4 (#442) * 3.0.5-SNAPSHOT * #443 fixes for flash.message exposing apiKey * Revert "Fix jquery.i18n load errors" * Translation of Map legend button and pagination next and previous button * release 3.0.5 (#449) * 3.0.6-SNAPSHOT * AtlasOfLivingAustralia/la-pipelines#372 hide passed assertions by default * i18n en differentiate between duplicate_status and duplicate_type * Bugfix/la pipelines 445 dq profile category dialog display (#456) * AtlasOfLivingAustralia/la-pipelines#445 process array of filters rather then combined filter * AtlasOfLivingAustralia/la-pipelines#445 increase width of DQ profile modal * AtlasOfLivingAustralia/la-pipelines#372 removed test for data quality assertion code `1` * Fix for AtlasOfLivingAustralia/la-pipelines/issues/467 Fix for incorrect sort param for subsequent (paginated) calls for the species list column in EYA. * update biocache-hubs since backend now returns 404 when no record found. * Update README.md * fixed an issue in reading local json files * border-radius for active filters (#462) * wrap taxon name with "" * removed log code * clean log * AtlasOfLivingAustralia/la-pipelines#419 (#465) pass filters and descriptions as JSON array standardise display of filters for DQ profile and category * Release/3.0.6 (#468) * 3.0.7-SNAPSHOT * no strip . in taxon (#469) * handle the case where taxa query returns empty JSON object (404) (#472) * make 'disableAll' and 'expand' configurable (#473) * make 'disableAll' and 'expand' configurable * when 'quality profile' is changed, update drop-down immediately (#474) * use 'fa' for font-awesome 4.x * Issue 470 refine state selection (#476) advanced search UI refine: state list be populated per country selected * style changes to admin page for dq admin link (#477) * fixed a type in flag an issue error message (#478) * added sound file metadata and sound file link to record detail page. (#479) * explicitly set 'user_facets' as String in cookie (#480) * updated css style for #occurrenceSounds * updated message.properties * location display logic updated (#485) * Avh issue120 avh styling (#487) * remove some inline styles * updated left side panel dq filters display * fix the 'view excluded records' on left side panel doesn't work issue. * fix the 'filter details' not shown on left side panel issue * style change, left side panel dq spin * Issue 334 update ehcache (#488) updated to ehcache 3.0 * updated getJsonElements to handle JSON error better (#490) * removed persistence settings * release 3.0.7 Co-authored-by: Rita Chen <[email protected]> Co-authored-by: Nick dos Remedios <[email protected]> Co-authored-by: vjrj <[email protected]> Co-authored-by: alice.ainsa <[email protected]> Co-authored-by: Dave Martin <[email protected]> Co-authored-by: Bruce Hyslop <[email protected]> Co-authored-by: adam-collins <[email protected]>
* #379 Records from DigiVol don't show "Flag an issue" button * updated version to 3.0.3-SNAPSHOT for next iteration * Feature/duplicate record (#429) Add duplicate assertion type to flag an issue * enhanced duplicate record flag (#431) * release 3.0.3 (#432) * version to 3.0.4-SNAPSHOT * #434 fix duplicate record facet labels Code formatting * Feature my annotation (#435) * allow user to subscribe to 'my annotation' alert when flagging an issue * Fix jquery.i18n load errors * $.param() doesn't format object correctly (#438) * Release/3.0.4 (#442) * 3.0.5-SNAPSHOT * #443 fixes for flash.message exposing apiKey * Revert "Fix jquery.i18n load errors" * Translation of Map legend button and pagination next and previous button * release 3.0.5 (#449) * 3.0.6-SNAPSHOT * AtlasOfLivingAustralia/la-pipelines#372 hide passed assertions by default * i18n en differentiate between duplicate_status and duplicate_type * Bugfix/la pipelines 445 dq profile category dialog display (#456) * AtlasOfLivingAustralia/la-pipelines#445 process array of filters rather then combined filter * AtlasOfLivingAustralia/la-pipelines#445 increase width of DQ profile modal * AtlasOfLivingAustralia/la-pipelines#372 removed test for data quality assertion code `1` * Fix for AtlasOfLivingAustralia/la-pipelines/issues/467 Fix for incorrect sort param for subsequent (paginated) calls for the species list column in EYA. * update biocache-hubs since backend now returns 404 when no record found. * Update README.md * fixed an issue in reading local json files * border-radius for active filters (#462) * wrap taxon name with "" * removed log code * clean log * AtlasOfLivingAustralia/la-pipelines#419 (#465) pass filters and descriptions as JSON array standardise display of filters for DQ profile and category * Release/3.0.6 (#468) * 3.0.7-SNAPSHOT * no strip . in taxon (#469) * handle the case where taxa query returns empty JSON object (404) (#472) * make 'disableAll' and 'expand' configurable (#473) * make 'disableAll' and 'expand' configurable * when 'quality profile' is changed, update drop-down immediately (#474) * use 'fa' for font-awesome 4.x * Issue 470 refine state selection (#476) advanced search UI refine: state list be populated per country selected * style changes to admin page for dq admin link (#477) * fixed a type in flag an issue error message (#478) * added sound file metadata and sound file link to record detail page. (#479) * explicitly set 'user_facets' as String in cookie (#480) * updated css style for #occurrenceSounds * updated message.properties * location display logic updated (#485) * Avh issue120 avh styling (#487) * remove some inline styles * updated left side panel dq filters display * fix the 'view excluded records' on left side panel doesn't work issue. * fix the 'filter details' not shown on left side panel issue * style change, left side panel dq spin * Issue 334 update ehcache (#488) updated to ehcache 3.0 * updated getJsonElements to handle JSON error better (#490) * removed persistence settings * release 3.0.7 (#493) * 3.0.8-SNAPSHOT * the converted value should be put back to map to be used somewhere else * updated 'exclude count' font style * release 3.0.8 Co-authored-by: Rita Chen <[email protected]> Co-authored-by: Nick dos Remedios <[email protected]> Co-authored-by: vjrj <[email protected]> Co-authored-by: alice.ainsa <[email protected]> Co-authored-by: Dave Martin <[email protected]> Co-authored-by: Bruce Hyslop <[email protected]> Co-authored-by: adam-collins <[email protected]>
… assertion code `1`
… assertion code `1`
Fixes required in biocache-hub:
add i18n codes for all assertions to so lowercase values are shownremove the links and icons in ToC tomissing
andunchecked
assertionsdataQualityChecksUrl
)Fixes required in biocache-service:
The text was updated successfully, but these errors were encountered: