Skip to content

Migrate dag js#15823

Merged
ryanahamilton merged 6 commits intoapache:masterfrom
astronomer:migrate-dag-js
May 13, 2021
Merged

Migrate dag js#15823
ryanahamilton merged 6 commits intoapache:masterfrom
astronomer:migrate-dag-js

Conversation

@bbovenzi
Copy link
Copy Markdown
Contributor

@bbovenzi bbovenzi commented May 13, 2021

Somehow we missed one file in #14115 of migrating all js from html files to their own files. It may have been blocked on other outstanding PRs that touched the UI.

This PR fixes that for dag.html. Gantt, Tree, and Task Instance views also use some functions from dag.js, so that is now being imported a better way.


^ Add meaningful description above

Read the Pull Request Guidelines for more information.
In case of fundamental code change, Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in UPDATING.md.

@boring-cyborg boring-cyborg Bot added area:UI Related to UI/UX. For Frontend Developers. area:webserver Webserver related Issues labels May 13, 2021
Copy link
Copy Markdown
Contributor

@ryanahamilton ryanahamilton left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great, thanks @bbovenzi 👏

@github-actions github-actions Bot added the okay to merge It's ok to merge this PR as it does not require more tests label May 13, 2021
@github-actions
Copy link
Copy Markdown
Contributor

The PR is likely OK to be merged with just subset of tests for default Python and Database versions without running the full matrix of tests, because it does not modify the core of Airflow. If the committers decide that the full tests matrix is needed, they will add the label 'full tests needed'. Then you should rebase to the latest master or amend the last commit of the PR, and push it with --force-with-lease.

Copy link
Copy Markdown
Contributor

@ryanahamilton ryanahamilton left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like some related test failures

show_external_log_redirect may be undefined. Wrapping <meta> tag in the if statement that was in javascript previously
@ryanahamilton ryanahamilton merged commit 8799b9f into apache:master May 13, 2021
@ryanahamilton ryanahamilton deleted the migrate-dag-js branch May 13, 2021 19:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:UI Related to UI/UX. For Frontend Developers. area:webserver Webserver related Issues okay to merge It's ok to merge this PR as it does not require more tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants