You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2020/03/31 01:33:00 UTC

[jira] [Commented] (AIRFLOW-6628) Dag search autocomplete is filtered by page context

    [ https://issues.apache.org/jira/browse/AIRFLOW-6628?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17071378#comment-17071378 ] 

ASF subversion and git services commented on AIRFLOW-6628:
----------------------------------------------------------

Commit bd8ac8c8c9b7ee3c07b25af8a1ff24d0bc9b92a2 in airflow's branch refs/heads/v1-10-test from Kaxil Naik
[ https://gitbox.apache.org/repos/asf?p=airflow.git;h=bd8ac8c ]

[AIRFLOW-6628] DAG auto-complete now suggests from all acessible DAGs (#7251)

The auto complete on the dag search box utilises the page search context
which prevents auto completing dags which dont match the current query.

On the dags page with no search provided it executes a query that loads
every dag_id in the system to pass to the typeahead widget. On systems
with a lot of dags this makes the page large and slow.

Add a JSON endpoint to provide correct auto complete behaviour and
reduce page load time.

cherry-picked from 1a9d21861


> Dag search autocomplete is filtered by page context
> ---------------------------------------------------
>
>                 Key: AIRFLOW-6628
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-6628
>             Project: Apache Airflow
>          Issue Type: Bug
>          Components: ui, webserver
>    Affects Versions: 2.0.0, 1.10.7, 1.10.10
>            Reporter: Robin Edwards
>            Assignee: Robin Edwards
>            Priority: Minor
>             Fix For: 1.10.10
>
>
> The auto complete on the dag search box utilises the page search context which prevents it auto completing dags which dont match the current query
> Further still on the home page with no search provided it executes a query that loads every dag_id in the system for it to be passed to the typeahead widget. On systems with a lot of dags this makes the page slow.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)