Skip to content

Comments

[SPARK-46438][UI] Fix the broken scope of toggleFramegraph when registering onclick event for the Frame Graph header#44394

Closed
yaooqinn wants to merge 3 commits intoapache:masterfrom
yaooqinn:SPARK-46438
Closed

[SPARK-46438][UI] Fix the broken scope of toggleFramegraph when registering onclick event for the Frame Graph header#44394
yaooqinn wants to merge 3 commits intoapache:masterfrom
yaooqinn:SPARK-46438

Conversation

@yaooqinn
Copy link
Member

What changes were proposed in this pull request?

This PR fixes the broken scope of toggleFramegraph when registering onclick event for the Frame Graph header. Otherwise, the Frame Graph cannot be collapsed.

Why are the changes needed?

bugfix for UI.

Does this PR introduce any user-facing change?

no

How was this patch tested?

added a new test for toggleFramegraph in ui-tests.

Was this patch authored or co-authored using generative AI tooling?

no

…tering onclick event for the Frame Graph header
…tering onclick event for the Frame Graph header
@yaooqinn
Copy link
Member Author

expect($("[name=spark] title").html()).toBe('spark (50.000%, 1 samples)');
});

test('toggleFlamegraph', function () {
Copy link
Member

Choose a reason for hiding this comment

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

Thank you for adding this, @yaooqinn .

Copy link
Member

@dongjoon-hyun dongjoon-hyun left a comment

Choose a reason for hiding this comment

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

+1, LGTM.
Merged to master.

@yaooqinn
Copy link
Member Author

Thank you @dongjoon-hyun

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants