Give Us Feedback: control on which page the icon is displayed
We would like to control on which page the new "Give Us Feedback" tool icon (May 2022 release) is displayed.
We are using this tool only for reporting broken links. We need the icon only on the Full View of the search results, but currently, it must be displayed on all pages.
Actually, most of the feedbacks from our users have been sent by accidentally clicking the icon on the Brief View of the search results, Primo VE home page, etc.
So, it would be helpful if we could control on which page the icon is displayed.
Please support this idea.
-
Petra Gratzl commented
We support this idea but would like to have the possibility in Primo Classic!
-
Christian commented
A note about the CSS work-a-round:
When you open the "full view" of a record the HTML code for this pages looks like:
<body class="md-dialog-is-showing" ...>
<primo-explore>
<prm-report-problem>
Due to a CSS directive the "Feedback" dialog is displayes.However, when you reload such a "full view" page, the HMTL codes changes to:
<body>
<primo-explore>
<prm-report-problem>
Now the class "md-dialog-is-showing" and the CSS directive does not work anymore and the "Give us Feedback" section is not displayed.
The work-a-round does not work in this case.Please provide us a solution via the Primo backend (Primo BO) where we can define on which pages in Primo the "Feedback" dialog should be displayed.
Thank you in advance! -
Yuki Suzuki commented
Dear Christian,
Thank you for your kind information. We have implemented the CSS code you suggested. -
Christian commented
It is the same with us, also we have only one option active ('Report a broken link'), because we currently use another tool for general user requests. So the feedback option only makes sense in the full display, but Ex Libris support told us that this configuration possibility is not planned for the near future.
Therefore, currently we control the display resp. non-display via CSS:/* Generally do not show the 'Feedback tool' ... */
prm-report-problem {
visibility: hidden;
}
/* ... but show it only on the Full Display screen (desktop view) ... */
body.md-dialog-is-showing prm-report-problem,
prm-full-view-page prm-report-problem {
visibility: visible;
}
/* ... and also on mobile devices (not only in 'landscape mode') ... */
body.md-dialog-is-showing prm-report-problem div.report-container button#reportProblem,
prm-full-view-page prm-full-view-page prm-report-problem {
display: block;
}
/* ... but do not show it in top menu ('...' menu) */
body.md-dialog-is-showing primo-explore.background-dark prm-report-problem {
visibility: hidden;
}
div button.report-problem-menu-mobile {
display: none;
} -
Manu Schwendener commented
In the meantime you could use https://developers.exlibrisgroup.com/blog/report-a-broken-link-in-primove