-
Notifications
You must be signed in to change notification settings - Fork 8
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
Refactor: notifications #148
Refactor: notifications #148
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #148 +/- ##
=========================================
Coverage ? 80.66%
=========================================
Files ? 64
Lines ? 4959
Branches ? 0
=========================================
Hits ? 4000
Misses ? 959
Partials ? 0
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This refactor of notifications is highly valuable and useful.
The BioPortal team acknowledges the potential value in receiving notifications for new user/ontology additions. However, BioPortal does not curate ontologies, so such notifications could potentially generate unnecessary noise. Having an option to disable these specific notifications send to the support email would be greatly appreciated.
Ideally there should be an option for ontology admins to opt in/out of the notifications when ontology is processed/pull fails.
<li>Click the "Edit submission information" link.</li> | ||
<li>In the Location row, verify that you entered a valid URL for daily loading of your ontology in the URL text area.</li> | ||
</ol> | ||
If you need further assistance, please <a href="mailto:[email protected]">contact us</a> via the BioPortal support mailing list. | ||
If you need further assistance, please <a href="mailto:%support_mail%">contact us</a> via the %ui_name% support mailing list. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This PR introduces a new configuration variable LinkedData.settings.admin_emails to enable notifications sent to OntoPortal Administrators, addressing the necessity of replacing hard-coded email addresses.
However, upon deployment in BioPortal, this change will result in end users receiving emails requesting them to contact administrators of BioPortal instead of the expected support email list. To mitigate this, it might be necessary to introduce a secondary configuration option, something equivalent to $SUPPORT_EMAIL in the UI. This new option would serve to differentiate between contacting support and contacting administrators unless BioPortal team chooses to change the default method of contacting support for these kind of notifications.
merged PR into |
Changes :