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

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

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

[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)

Reply via email to