Skip to content
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

auto refresh Dags home page #22418

Closed
2 tasks done
talnagar opened this issue Mar 22, 2022 · 6 comments · Fixed by #22900
Closed
2 tasks done

auto refresh Dags home page #22418

talnagar opened this issue Mar 22, 2022 · 6 comments · Fixed by #22900
Assignees
Labels
kind:feature Feature Requests

Comments

@talnagar
Copy link
Contributor

Description

Similar to auto refresh in the DAG page, it would be nice to have this option in the home page as well.
image

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?

  • Yes I am willing to submit a PR!

Code of Conduct

@talnagar talnagar added the kind:feature Feature Requests label Mar 22, 2022
@boring-cyborg
Copy link

boring-cyborg bot commented Mar 22, 2022

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

@talnagar
Copy link
Contributor Author

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

@potiuk
Copy link
Member

potiuk commented Mar 22, 2022

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 :)

@bbovenzi
Copy link
Contributor

bbovenzi commented Mar 22, 2022

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.

@talnagar
Copy link
Contributor Author

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

@potiuk
Copy link
Member

potiuk commented Mar 23, 2022

Good luck :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind:feature Feature Requests
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants