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 2022/03/22 08:50:09 UTC

[GitHub] [airflow] talnagar opened a new issue #22418: auto refresh Dags home page

talnagar opened a new issue #22418:
URL: https://github.com/apache/airflow/issues/22418


   ### Description
   
   Similar to auto refresh in the DAG page, it would be nice to have this option in the home page as well. 
   ![image](https://user-images.githubusercontent.com/7373236/159442263-60bbcd58-50e5-4a3d-8d6f-d31a65a6ff81.png)
   
   ### Use case/motivation
   
   having an auto refresh at the home page will let users have a live view of running dags and tasks.
   
   
   
   
   ### Related issues
   
   _No response_
   
   ### Are you willing to submit a PR?
   
   - [X] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
   


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [airflow] bbovenzi edited a comment on issue #22418: auto refresh Dags home page

Posted by GitBox <gi...@apache.org>.
bbovenzi edited a comment on issue #22418:
URL: https://github.com/apache/airflow/issues/22418#issuecomment-1075255163


   I was saving any rewrite I would do for the future full react ui in `airflow/ui` vs the current `airflow/www`.
   
   But that doesn't mean we couldn't do something for the current UI. I think you could start by following the logic in `graph.js` and add autorefresh to `lastDagRunsHandler()` and `taskStatsHandler()` for unpaused dags that have an active dag run.


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [airflow] talnagar commented on issue #22418: auto refresh Dags home page

Posted by GitBox <gi...@apache.org>.
talnagar commented on issue #22418:
URL: https://github.com/apache/airflow/issues/22418#issuecomment-1076341712


   I'll look at the code and will give it a try


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [airflow] potiuk edited a comment on issue #22418: auto refresh Dags home page

Posted by GitBox <gi...@apache.org>.
potiuk edited a comment on issue #22418:
URL: https://github.com/apache/airflow/issues/22418#issuecomment-1074983244


   From earlier discussions yes. It is viable but @bbovenzi   as far as I remember gave up because of the complexity involved (in favour of rewriting the page in the future). I believe doing it in the current stage might be simply hacky and not worth it. But you might try sure :)


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [airflow] boring-cyborg[bot] commented on issue #22418: auto refresh Dags home page

Posted by GitBox <gi...@apache.org>.
boring-cyborg[bot] commented on issue #22418:
URL: https://github.com/apache/airflow/issues/22418#issuecomment-1074892690


   Thanks for opening your first issue here! Be sure to follow the issue template!
   


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [airflow] potiuk commented on issue #22418: auto refresh Dags home page

Posted by GitBox <gi...@apache.org>.
potiuk commented on issue #22418:
URL: https://github.com/apache/airflow/issues/22418#issuecomment-1076460579


   Good luck :)


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [airflow] potiuk commented on issue #22418: auto refresh Dags home page

Posted by GitBox <gi...@apache.org>.
potiuk commented on issue #22418:
URL: https://github.com/apache/airflow/issues/22418#issuecomment-1074983244


   From earlier discussions yes. It is viable but @bbovenzi   as far as I remember gave up because of the complexity involved (in favour of rewriting the page in the future). I believe doing it in the current stage might be simply Jacky and not worth it. But you might try sure :)


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [airflow] bbovenzi commented on issue #22418: auto refresh Dags home page

Posted by GitBox <gi...@apache.org>.
bbovenzi commented on issue #22418:
URL: https://github.com/apache/airflow/issues/22418#issuecomment-1075255163


   I was saving any rewrite I would do for the future full react ui in `airflow/ui` vs the current `airflow/www`.
   
   But that doesn't mean we couldn't do something for the current UI. I think a start could be to follow the logic in `graph.js` and add autorefresh to `lastDagRunsHandler()` and `taskStatsHandler()` for unpaused dags that have an active dag run.


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [airflow] talnagar commented on issue #22418: auto refresh Dags home page

Posted by GitBox <gi...@apache.org>.
talnagar commented on issue #22418:
URL: https://github.com/apache/airflow/issues/22418#issuecomment-1074893020


   I'll be happy to implement it myself if you think it's a viable feature. 


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org