-
Notifications
You must be signed in to change notification settings - Fork 29k
[SPARK-27201][WebUI] Toggle full job description on click #24145
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
core/src/main/resources/org/apache/spark/ui/static/additional-metrics.js
Outdated
Show resolved
Hide resolved
|
I'm OK with that. Does it still allow you to click the link in the cell? just want to make sure it doesn't interfere with single clicks on the hyperlink. |
|
Test build #103672 has started for PR 24145 at commit |
|
@srowen Yes, the link still works. |
felixcheung
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
SGTM
|
Retest this please. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1, LGTM (Pending Jenkins). This is much nicer than before. Previously, it's only one-way (expanding only). Now, it's two-way (expand and collapse by toggle). Thanks, @gengliangwang !
|
Test build #103707 has finished for PR 24145 at commit
|
|
retest this please |
|
Test build #103718 has finished for PR 24145 at commit
|
|
Merged to master. |
### What changes were proposed in this pull request? On clicking job description in jobs page, the description was not shown fully. Add the function for the click event on description. ### Why are the changes needed? when there is a long description of a job, it cannot be seen fully in the UI. The feature was added in #24145 But it is missed after #25374 Before change:  After change: on Double click over decription  ### Does this PR introduce any user-facing change? No ### How was this patch tested? Manually test Closes #26222 from PavithraRamachandran/jobs_description_tooltip. Authored-by: Pavithra Ramachandran <pavi.rams@gmail.com> Signed-off-by: Gengliang Wang <gengliang.wang@databricks.com>
On clicking job description in jobs page, the description was not shown fully. Add the function for the click event on description. when there is a long description of a job, it cannot be seen fully in the UI. The feature was added in apache#24145 But it is missed after apache#25374 Before change:  After change: on Double click over decription  No Manually test Closes apache#26222 from PavithraRamachandran/jobs_description_tooltip. Authored-by: Pavithra Ramachandran <pavi.rams@gmail.com> Signed-off-by: Gengliang Wang <gengliang.wang@databricks.com>
What changes were proposed in this pull request?
Previously, in #6646 there was an improvement to show full job description after double clicks.
I think this is a bit hard to be noticed by some users. I suggest changing the event to one click.
Also, after the full description is shown, another click should be able to hide the overflow text again.
Before click:

After click:

Click again:

How was this patch tested?
Manually check.