-
Notifications
You must be signed in to change notification settings - Fork 14.5k
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
Display alert messages on dashboard from local settings #18284
Conversation
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.
looks good -- we should add docs on it too
The PR most likely needs to run full matrix of tests because it modifies parts of the core of Airflow. However, committers might decide to merge it quickly and take the risk. If they don't merge it quickly - please rebase it to the latest main at your convenience, or amend the last commit of the PR, and push it with --force-with-lease. |
Unrelated test failures:
|
|
That should be fixed by #18308 |
4c5e590
to
3adf6fb
Compare
3adf6fb
to
df0e9aa
Compare
df0e9aa
to
1b39c55
Compare
The unrelated |
Allow flash messages to be displayed on the UI dashboard from `airflow_local_settings`. This feature can be used to announce things to all users, warn about setup limitations/issues, and probably other things I haven't considered. The message, category, and role(s) the flash message should be shown to can be set, allowing for varied use of this feature.
45c469f
to
3bf356a
Compare
Allow alert messages to be displayed on the UI dashboard from
airflow_local_settings
. This feature can be used to announce things toall users, warn about setup limitations/issues, and probably other
things I haven't considered.
The message, category, and role(s) the flash message should be shown to
can be configured.
Here is an example:
In
airflow_local_settings
:View as an Admin user:
View as a User user:
related: #18098