apache / apache/airflow

AIP-84 | Add multisort to dags list request

Open
#46,383 28 comments 0 reactions 0 assignees View on GitHub
AIP-84 area:UI kind:feature
Dominant language
Python
Stars
46.9k
Forks
17.8k
Avg merge
2d 10h
Merged PRs (30d)
483

Description

In the UI, we default the dags list to show dags with the latest dag run first , which we pass as `-last_dag_run_start_date`. Problem is that the minus symbol seems to make the default sorts also reverse so any dags without a dag run will be in reverse alphabetical order which is counterintuitive for users.
If you reverse the dag run start date order, it will also change the alphabetical order.

Image

Contributor guide

Open the contributing guide

Research direction

Start by tracing the UI's dags list request and the `-last_dag_run_start_date` sort parameter. Confirm how multisort is represented and tested; done means dag run dates remain descending while dags without a run retain intuitive alphabetical ordering.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
api, frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.