[
https://issues.apache.org/jira/browse/AIRFLOW-1741?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16213040#comment-16213040
]
ASF subversion and git services commented on AIRFLOW-1741:
----------------------------------------------------------
Commit 974b493fc929e46a67c1b68f2e7ef9581f2cde0d in incubator-airflow's branch
refs/heads/v1-9-test from [~ashb]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-airflow.git;h=974b493 ]
[AIRFLOW-1741] Correctly hide second chart on task duration page
A timing/load order bug meant that this ".trigger"
call was happening
too early, resulting in a trigger being sent
before the hook callback
had been registered, meaning we didn't hide the
second chart correctly
on page load.
Closes #2711 from ashb/AIRFLOW-1741-task-duration-
charts-load
(cherry picked from commit 3d4feb60906a4e4edbd1dba4b397db1a0b5be8ed)
Signed-off-by: Bolke de Bruin <[email protected]>
> Task Duration shows two charts on first page load.
> --------------------------------------------------
>
> Key: AIRFLOW-1741
> URL: https://issues.apache.org/jira/browse/AIRFLOW-1741
> Project: Apache Airflow
> Issue Type: Bug
> Components: ui
> Affects Versions: 1.8.0
> Reporter: Ash Berlin-Taylor
> Assignee: Ash Berlin-Taylor
> Priority: Minor
> Fix For: 1.9.0
>
>
> As reported in AIRFLOW-930
> > When you first load the page, two charts are shown: Cumulative and
> > Non-cumulative. However, when you toggle the "Cumulative Duration" button,
> > one of the charts disappears, and you can now only switch between the two.
> This is because of an issue with the the chart code running a trigger too
> early - before the trigger callback has been registered.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)