-
-
Notifications
You must be signed in to change notification settings - Fork 970
Notification Improvements #9721
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
Open
SchrodingersGat
wants to merge
14
commits into
inventree:master
Choose a base branch
from
SchrodingersGat:notification-tweaks
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+196
−76
Open
Changes from all commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
9183462
Add global setting to control notifications
SchrodingersGat 14fa129
Hide UI elements
SchrodingersGat 0b3a5e8
Prevent notifications if setting is disabled
SchrodingersGat 0c71dad
Add specific setting for "low stock" notification category
SchrodingersGat 0d035a0
Update docs for notifications
SchrodingersGat 81ea57b
Remove duplicate setting doc
SchrodingersGat d23cb27
Additional unit tests
SchrodingersGat 970c7e2
Fix typo
SchrodingersGat 520da0e
Merge branch 'master' into notification-tweaks
SchrodingersGat 80897b6
Simplify unit test code
SchrodingersGat c6b8a55
Merge branch 'notification-tweaks' of github.com:SchrodingersGat/Inve…
SchrodingersGat 8268a13
Merge branch 'master' into notification-tweaks
SchrodingersGat e29997d
Add setting to control error notifications
SchrodingersGat 61da687
Merge branch 'notification-tweaks' of github.com:SchrodingersGat/Inve…
SchrodingersGat File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
--- | ||
title: Notifications | ||
--- | ||
|
||
## Notifications System | ||
|
||
InvenTree provides a notification system which allows users to receive notifications about various events that occur within the system. | ||
|
||
## Notification Types | ||
|
||
### User Interface | ||
|
||
Notifications are displayed in the user interface. New notifications are announced in the header. | ||
{% with id="notification_header", url="part/notification_header.png", description="One new notification in the header" %} | ||
{% include 'img.html' %} | ||
{% endwith %} | ||
|
||
They can be viewed in a flyout. | ||
{% with id="notification_flyout", url="part/notification_flyout.png", description="One new notification in the flyout" %} | ||
{% include 'img.html' %} | ||
{% endwith %} | ||
|
||
All current notifications are listed in the inbox. | ||
{% with id="notification_inbox", url="part/notification_inbox.png", description="One new notification in the notification inbox" %} | ||
{% include 'img.html' %} | ||
{% endwith %} | ||
|
||
All past notification are listed in the history. They can be deleted one-by-one or all at once from there. | ||
{% with id="notification_history", url="part/notification_history.png", description="One old notification in the notification history" %} | ||
{% include 'img.html' %} | ||
{% endwith %} | ||
|
||
|
||
Users can also receive notifications via email. This is particularly useful for important events that require immediate attention. | ||
|
||
!!! warning "Email Configuration Required" | ||
External notifications require correct [email configuration](../start/config.md#email-settings). They also need to be enabled in the settings under notifications`. | ||
|
||
!!! warning "Valid Email Address" | ||
Each user must have a valid email address associated with their account to receive email notifications | ||
|
||
### Third-Party Integrations | ||
|
||
In addition to the built-in notification system, InvenTree can be integrated with third-party services such as Slack or Discord to send notifications. This allows users to receive real-time updates in their preferred communication channels. | ||
|
||
Third party integrations rely on the [plugin system](../plugins/index.md) to provide the necessary functionality. | ||
|
||
## Notification Options | ||
|
||
The following [global settings](../settings/global.md) control the notification system: | ||
|
||
| Name | Description | Default | Units | | ||
| ---- | ----------- | ------- | ----- | | ||
{{ globalsetting("NOTIFICATIONS_ENABLE") }} | ||
{{ globalsetting("NOTIFICATIONS_ERRORS") }} | ||
{{ globalsetting("NOTIFICATIONS_LOW_STOCK") }} | ||
{{ globalsetting("INVENTREE_DELETE_NOTIFICATIONS_DAYS") }} | ||
|
||
## Notification Categories | ||
|
||
### Error Notifications | ||
|
||
If enabled, InvenTree can send notifications about errors that occur within the system. This is useful for administrators to monitor the health of the application and address issues promptly. | ||
|
||
!!! info "Staff Only" | ||
Error notifications are only sent to staff users. Regular users will not receive these notifications. | ||
|
||
### Part Notifications | ||
|
||
There are many types of notifications associated with parts in InvenTree. These notifications can be configured to alert users about various events, such as low stock levels, build orders, and more. | ||
|
||
Read the [part notification documentation](../part/notification.md) for more details. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
How are we notifying superusers about errors with this disabled?