Skip to content

Commit

Permalink
Delete all old dag pages and redirect to grid view (#37988)
Browse files Browse the repository at this point in the history
* Delete all old dag pages and redirect to grid view

* Fix linting

* Fix session

* Relax type to appease Mypy

* cleanup dagjs and forward audit log params

* Remove nvd3

* Remove python nvd3 in a separate pr

* newsfragment

* Fix static check in main

* remove extraneous auth checks

---------

Co-authored-by: Tzu-ping Chung <uranusjr@gmail.com>
  • Loading branch information
bbovenzi and uranusjr committed Mar 25, 2024
1 parent 256911a commit e6e5fdb
Show file tree
Hide file tree
Showing 18 changed files with 91 additions and 1,423 deletions.
20 changes: 0 additions & 20 deletions airflow/www/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@
from airflow.compat.functools import cache
from airflow.configuration import conf
from airflow.providers_manager import ProvidersManager
from airflow.utils import timezone
from airflow.utils.types import DagRunType
from airflow.www.validators import ReadOnly, ValidConnID
from airflow.www.widgets import (
Expand Down Expand Up @@ -99,25 +98,6 @@ class DateTimeForm(FlaskForm):
execution_date = DateTimeWithTimezoneField("Logical date", widget=AirflowDateTimePickerWidget())


class DateTimeWithNumRunsForm(FlaskForm):
"""Date time and number of runs form for tree view, task duration and landing times."""

base_date = DateTimeWithTimezoneField(
"Anchor date", widget=AirflowDateTimePickerWidget(), default=timezone.utcnow()
)
num_runs = SelectField(
"Number of runs",
default=25,
choices=(
(5, "5"),
(25, "25"),
(50, "50"),
(100, "100"),
(365, "365"),
),
)


class DagRunEditForm(DynamicForm):
"""Form for editing DAG Run.
Expand Down
1 change: 0 additions & 1 deletion airflow/www/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,6 @@
"jshint": "^2.13.4",
"lodash": "^4.17.21",
"moment-timezone": "^0.5.43",
"nvd3": "^1.8.6",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"react-icons": "^4.9.0",
Expand Down
52 changes: 0 additions & 52 deletions airflow/www/static/css/calendar.css

This file was deleted.

0 comments on commit e6e5fdb

Please sign in to comment.