-
Notifications
You must be signed in to change notification settings - Fork 13.7k
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
Added table to view providers in airflow ui under admin tab #15385
Conversation
@ShakaibKhan Thanks for the contribution! Love this. Can you rebase to master, please :) |
Is there a way that we could parse the descriptions to convert the URLs (that most of them contain) to actual links? |
Tried implementing this with adding some anchor tags around links but having issues with jinja adding quotes to multiline descriptions |
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.
The PR looks great! Just a few minor comments to improve consistency/readability. We can merge this tomorrow if you're able to make the changes and will rebase to master.
tests/www/test_views.py
Outdated
class TestProvidersView(TestBase): | ||
def test_should_list_providers_on_page_with_details(self): | ||
resp = self.client.get('/providers') | ||
self.check_content_in_response("Providers", resp) |
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.
Can you validate that the necessary permissions are included?
f31e782
to
dd38176
Compare
Made readability changes and rebased but am uncertain how to check for permissions in the views_test.py |
Thanks @ShakaibKhan. You can call |
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 master at your convenience, or amend the last commit of the PR, and push it with --force-with-lease. |
@ShakaibKhan Looks like a test is failing since you added another view that adds an additional query. If you can just increment the number of expected queries in the test that should fix it. |
The Workflow run is cancelling this PR. It has some failed jobs matching ^Pylint$,^Static checks,^Build docs$,^Spell check docs$,^Provider packages,^Checks: Helm tests$,^Test OpenAPI*. |
d2495a9
to
183f151
Compare
@ShakaibKhan, looks like |
The monolithic test_view.py is no longer being brought back.
Awesome work, congrats on your first merged pull request! |
Thank you for your contribution @ShakaibKhan |
❤️ it |
The provider package names in the UI are now linked to the documentation of the provider (in the exact version provider is installed in!). Follow up after apache#15385
The provider package names in the UI are now linked to the documentation of the provider (in the exact version provider is installed in!). Follow up after #15385
Added page in Airflow UI for provider package info