Skip to content

Commit cff8dbb

Browse files
jschefflGitOps Bot
authored andcommitted
Reduce default columns of Dag Run and Task Instance lists (apache#55968)
1 parent d755bae commit cff8dbb

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

airflow-core/src/airflow/ui/src/pages/DagRuns.tsx

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,13 @@ export const DagRuns = () => {
180180
const { dagId } = useParams();
181181
const [searchParams, setSearchParams] = useSearchParams();
182182

183-
const { setTableURLState, tableURLState } = useTableURLState();
183+
const { setTableURLState, tableURLState } = useTableURLState({
184+
columnVisibility: {
185+
conf: false,
186+
dag_version: false,
187+
end_date: false,
188+
},
189+
});
184190
const { pagination, sorting } = tableURLState;
185191
const [sort] = sorting;
186192
const orderBy = sort ? [`${sort.desc ? "-" : ""}${sort.id}`] : ["-run_after"];

airflow-core/src/airflow/ui/src/pages/TaskInstances/TaskInstances.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,8 +216,11 @@ export const TaskInstances = () => {
216216
const [searchParams] = useSearchParams();
217217
const { setTableURLState, tableURLState } = useTableURLState({
218218
columnVisibility: {
219+
dag_version: false,
220+
end_date: false,
219221
executor: false,
220222
hostname: false,
223+
pool: false,
221224
queue: false,
222225
},
223226
});

0 commit comments

Comments
 (0)