Skip to content

Make Gantt tooltip the same as Tree and Graph view - #8220

Merged
ashb merged 2 commits into
apache:masterfrom
ashb:gantt-tooltip-same-as-tree
Apr 9, 2020
Merged

Make Gantt tooltip the same as Tree and Graph view#8220
ashb merged 2 commits into
apache:masterfrom
ashb:gantt-tooltip-same-as-tree

Conversation

@ashb

@ashb ashb commented Apr 8, 2020

Copy link
Copy Markdown
Member

To make this work I needed to change the fields exposed via the json
representation to those expected via the tiTooltip function.

Closes #8210.

Before

image

After:

image


Make sure to mark the boxes below before creating PR: [x]


In case of fundamental code change, Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in UPDATING.md.
Read the Pull Request Guidelines for more information.

To make this work I needed to change the fields exposed via the json
representation to those expected via the `tiTooltip` function.

Closes apache#8210
@boring-cyborg boring-cyborg Bot added the area:webserver Webserver related Issues label Apr 8, 2020
@ashb
ashb force-pushed the gantt-tooltip-same-as-tree branch from 49d8c92 to 25f8e2e Compare April 8, 2020 17:55
@ashb

ashb commented Apr 8, 2020

Copy link
Copy Markdown
Member Author

Though it loos like there is a bug in the Duration display for the tiTooltip function I reused.

@ashb
ashb requested review from kaxil and mik-laj April 9, 2020 10:13

var keyFunction = function(d) {
return d.startDate + d.taskName + d.endDate;
return d.start_ate + d.task_id + d.end_date;

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typo

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Whops :)

Comment thread airflow/www/static/js/gantt-chart-d3v2.js Outdated

@kaxil kaxil left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1 Typo that needs fixing or else LGTM

Co-Authored-By: Kaxil Naik <kaxilnaik@gmail.com>
@ashb
ashb merged commit 08c9b0a into apache:master Apr 9, 2020
@ashb
ashb deleted the gantt-tooltip-same-as-tree branch April 9, 2020 20:20
@ashb ashb added this to the Airflow 1.10.11 milestone Apr 9, 2020
@kaxil kaxil mentioned this pull request Apr 14, 2020
5 tasks
kaxil added a commit that referenced this pull request Apr 14, 2020
After #8220 we do not need task_types and extra_links variables
@kaxil kaxil mentioned this pull request Apr 14, 2020
5 tasks
kaxil pushed a commit that referenced this pull request Apr 14, 2020
To make this work I needed to change the fields exposed via the json
representation to those expected via the `tiTooltip` function.

Closes #8210
kaxil added a commit that referenced this pull request Apr 16, 2020
Extra link didn't appear after changes in  #8220 for Gantt View
kaxil added a commit that referenced this pull request Apr 16, 2020
After #8220 we do not need task_types and extra_links variables
kaxil added a commit that referenced this pull request Apr 16, 2020
Extra link didn't appear after changes in  #8220 for Gantt View
leahecole pushed a commit to GoogleCloudPlatform/composer-airflow that referenced this pull request Feb 11, 2021
After apache/airflow#8220 we do not need task_types and extra_links variables

GitOrigin-RevId: bc93bae16989ce86caee56058a84af3c6dd4a739
leahecole pushed a commit to GoogleCloudPlatform/composer-airflow that referenced this pull request Feb 11, 2021
Extra link didn't appear after changes in  apache/airflow#8220 for Gantt View

GitOrigin-RevId: 504c711a6a7a0631745d3a36d628739e7540c7aa
leahecole pushed a commit to GoogleCloudPlatform/composer-airflow that referenced this pull request Feb 23, 2021
After apache/airflow#8220 we do not need task_types and extra_links variables

GitOrigin-RevId: bc93bae16989ce86caee56058a84af3c6dd4a739
leahecole pushed a commit to GoogleCloudPlatform/composer-airflow that referenced this pull request Feb 23, 2021
Extra link didn't appear after changes in  apache/airflow#8220 for Gantt View

GitOrigin-RevId: 504c711a6a7a0631745d3a36d628739e7540c7aa
leahecole pushed a commit to GoogleCloudPlatform/composer-airflow that referenced this pull request Jun 4, 2021
Extra link didn't appear after changes in  apache/airflow#8220 for Gantt View

GitOrigin-RevId: 504c711a6a7a0631745d3a36d628739e7540c7aa
leahecole pushed a commit to GoogleCloudPlatform/composer-airflow that referenced this pull request Jun 4, 2021
After apache/airflow#8220 we do not need task_types and extra_links variables

GitOrigin-RevId: bc93bae16989ce86caee56058a84af3c6dd4a739
leahecole pushed a commit to GoogleCloudPlatform/composer-airflow that referenced this pull request Jun 4, 2021
Extra link didn't appear after changes in  apache/airflow#8220 for Gantt View

GitOrigin-RevId: 504c711a6a7a0631745d3a36d628739e7540c7aa
leahecole pushed a commit to GoogleCloudPlatform/composer-airflow that referenced this pull request Sep 15, 2021
After apache/airflow#8220 we do not need task_types and extra_links variables

GitOrigin-RevId: 54d3c9a55c974ecb1ea2b4524294ffbc42905ac2
leahecole pushed a commit to GoogleCloudPlatform/composer-airflow that referenced this pull request Sep 15, 2021
Extra link didn't appear after changes in  apache/airflow#8220 for Gantt View

GitOrigin-RevId: 1fbe8d8bee164de81e8ac9332e1d49f0de03b3e0
leahecole pushed a commit to GoogleCloudPlatform/composer-airflow that referenced this pull request Sep 17, 2021
After apache/airflow#8220 we do not need task_types and extra_links variables

GitOrigin-RevId: 54d3c9a55c974ecb1ea2b4524294ffbc42905ac2
leahecole pushed a commit to GoogleCloudPlatform/composer-airflow that referenced this pull request Sep 17, 2021
Extra link didn't appear after changes in  apache/airflow#8220 for Gantt View

GitOrigin-RevId: 1fbe8d8bee164de81e8ac9332e1d49f0de03b3e0
leahecole pushed a commit to GoogleCloudPlatform/composer-airflow that referenced this pull request Sep 23, 2021
After apache/airflow#8220 we do not need task_types and extra_links variables

GitOrigin-RevId: 54d3c9a55c974ecb1ea2b4524294ffbc42905ac2
leahecole pushed a commit to GoogleCloudPlatform/composer-airflow that referenced this pull request Sep 23, 2021
Extra link didn't appear after changes in  apache/airflow#8220 for Gantt View

GitOrigin-RevId: 1fbe8d8bee164de81e8ac9332e1d49f0de03b3e0
leahecole pushed a commit to GoogleCloudPlatform/composer-airflow that referenced this pull request Nov 25, 2021
After apache/airflow#8220 we do not need task_types and extra_links variables

GitOrigin-RevId: 54d3c9a55c974ecb1ea2b4524294ffbc42905ac2
leahecole pushed a commit to GoogleCloudPlatform/composer-airflow that referenced this pull request Nov 25, 2021
Extra link didn't appear after changes in  apache/airflow#8220 for Gantt View

GitOrigin-RevId: 1fbe8d8bee164de81e8ac9332e1d49f0de03b3e0
leahecole pushed a commit to GoogleCloudPlatform/composer-airflow that referenced this pull request Mar 9, 2022
After apache/airflow#8220 we do not need task_types and extra_links variables

GitOrigin-RevId: 54d3c9a55c974ecb1ea2b4524294ffbc42905ac2
leahecole pushed a commit to GoogleCloudPlatform/composer-airflow that referenced this pull request Mar 9, 2022
Extra link didn't appear after changes in  apache/airflow#8220 for Gantt View

GitOrigin-RevId: 1fbe8d8bee164de81e8ac9332e1d49f0de03b3e0
leahecole pushed a commit to GoogleCloudPlatform/composer-airflow that referenced this pull request Jun 3, 2022
After apache/airflow#8220 we do not need task_types and extra_links variables

GitOrigin-RevId: 54d3c9a55c974ecb1ea2b4524294ffbc42905ac2
leahecole pushed a commit to GoogleCloudPlatform/composer-airflow that referenced this pull request Jun 3, 2022
Extra link didn't appear after changes in  apache/airflow#8220 for Gantt View

GitOrigin-RevId: 1fbe8d8bee164de81e8ac9332e1d49f0de03b3e0
leahecole pushed a commit to GoogleCloudPlatform/composer-airflow that referenced this pull request Jun 6, 2022
After apache/airflow#8220 we do not need task_types and extra_links variables

GitOrigin-RevId: 54d3c9a55c974ecb1ea2b4524294ffbc42905ac2
leahecole pushed a commit to GoogleCloudPlatform/composer-airflow that referenced this pull request Jun 6, 2022
Extra link didn't appear after changes in  apache/airflow#8220 for Gantt View

GitOrigin-RevId: 1fbe8d8bee164de81e8ac9332e1d49f0de03b3e0
kosteev pushed a commit to GoogleCloudPlatform/composer-airflow that referenced this pull request Jul 8, 2022
After apache/airflow#8220 we do not need task_types and extra_links variables

GitOrigin-RevId: 54d3c9a55c974ecb1ea2b4524294ffbc42905ac2
kosteev pushed a commit to GoogleCloudPlatform/composer-airflow that referenced this pull request Jul 8, 2022
Extra link didn't appear after changes in  apache/airflow#8220 for Gantt View

GitOrigin-RevId: 1fbe8d8bee164de81e8ac9332e1d49f0de03b3e0
leahecole pushed a commit to GoogleCloudPlatform/composer-airflow that referenced this pull request Aug 26, 2022
After apache/airflow#8220 we do not need task_types and extra_links variables

GitOrigin-RevId: 54d3c9a55c974ecb1ea2b4524294ffbc42905ac2
leahecole pushed a commit to GoogleCloudPlatform/composer-airflow that referenced this pull request Aug 26, 2022
Extra link didn't appear after changes in  apache/airflow#8220 for Gantt View

GitOrigin-RevId: 1fbe8d8bee164de81e8ac9332e1d49f0de03b3e0
leahecole pushed a commit to GoogleCloudPlatform/composer-airflow that referenced this pull request Oct 3, 2022
After apache/airflow#8220 we do not need task_types and extra_links variables

GitOrigin-RevId: 54d3c9a55c974ecb1ea2b4524294ffbc42905ac2
leahecole pushed a commit to GoogleCloudPlatform/composer-airflow that referenced this pull request Oct 3, 2022
Extra link didn't appear after changes in  apache/airflow#8220 for Gantt View

GitOrigin-RevId: 1fbe8d8bee164de81e8ac9332e1d49f0de03b3e0
aglipska pushed a commit to GoogleCloudPlatform/composer-airflow that referenced this pull request Oct 7, 2022
After apache/airflow#8220 we do not need task_types and extra_links variables

GitOrigin-RevId: 54d3c9a55c974ecb1ea2b4524294ffbc42905ac2
aglipska pushed a commit to GoogleCloudPlatform/composer-airflow that referenced this pull request Oct 7, 2022
Extra link didn't appear after changes in  apache/airflow#8220 for Gantt View

GitOrigin-RevId: 1fbe8d8bee164de81e8ac9332e1d49f0de03b3e0
leahecole pushed a commit to GoogleCloudPlatform/composer-airflow that referenced this pull request Dec 7, 2022
After apache/airflow#8220 we do not need task_types and extra_links variables

GitOrigin-RevId: 54d3c9a55c974ecb1ea2b4524294ffbc42905ac2
leahecole pushed a commit to GoogleCloudPlatform/composer-airflow that referenced this pull request Dec 7, 2022
Extra link didn't appear after changes in  apache/airflow#8220 for Gantt View

GitOrigin-RevId: 1fbe8d8bee164de81e8ac9332e1d49f0de03b3e0
leahecole pushed a commit to GoogleCloudPlatform/composer-airflow that referenced this pull request Jan 27, 2023
After apache/airflow#8220 we do not need task_types and extra_links variables

GitOrigin-RevId: 54d3c9a55c974ecb1ea2b4524294ffbc42905ac2
leahecole pushed a commit to GoogleCloudPlatform/composer-airflow that referenced this pull request Jan 27, 2023
Extra link didn't appear after changes in  apache/airflow#8220 for Gantt View

GitOrigin-RevId: 1fbe8d8bee164de81e8ac9332e1d49f0de03b3e0
kosteev pushed a commit to kosteev/composer-airflow-test-copybara that referenced this pull request Sep 11, 2024
After apache/airflow#8220 we do not need task_types and extra_links variables

GitOrigin-RevId: 54d3c9a55c974ecb1ea2b4524294ffbc42905ac2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:webserver Webserver related Issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

UI time zone not used in Gantt charts tooltips

2 participants