You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2019/10/01 12:57:21 UTC

[GitHub] [airflow] ddossett opened a new pull request #6223: AIRFLOW-5578 Adding the ability to define custom IndexView

ddossett opened a new pull request #6223: AIRFLOW-5578 Adding the ability to define custom IndexView
URL: https://github.com/apache/airflow/pull/6223
 
 
   ### Jira
   
   - [x] My PR addresses the following [Jira Issue](https://issues.apache.org/jira/browse/AIRFLOW-5578)
   
   ### Description
   
   - [x] Here are some details about my PR, including screenshots of any UI changes:
   * The route that simply redirects to "/home" in airflow.www.blueprints has been replaced with an IndexView version from Flask-Appbuilder.
   * This IndexView is used as the default and should behave in exactly the same way as before.
   * I have added config option for defining your own IndexView class in default_webserver_config.py
   * The either the default IndexView or the one defined in default_webserver_config.py is used by the indexview keyword in the appbuilder setup in app.py
   * So now a user can define a custom IndexView and choose to do something else instead of a simple redirection.
   
   ### Tests
   
   - [x] My PR adds no unit tests
   
   ### Commits
   
   - [x] My commits all reference Jira issues in their subject lines, and I have squashed multiple commits if they address the same issue. In addition, my commits (closely) follow the guidelines.
   
   ### Documentation
   
   - [x] The config file contains a description of what to do. And the IndexView class has a basic docstring.
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services