Skip to content

Conversation

@gengliangwang
Copy link
Member

@gengliangwang gengliangwang commented Mar 19, 2019

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:
short

After click:
full

Click again:
short

How was this patch tested?

Manually check.

@gengliangwang
Copy link
Member Author

@wangyum @srowen

@srowen
Copy link
Member

srowen commented Mar 19, 2019

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.

@SparkQA
Copy link

SparkQA commented Mar 19, 2019

Test build #103672 has started for PR 24145 at commit dafe9f1.

@gengliangwang
Copy link
Member Author

@srowen Yes, the link still works.

Copy link
Member

@felixcheung felixcheung left a comment

Choose a reason for hiding this comment

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

SGTM

@dongjoon-hyun
Copy link
Member

Retest this please.

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 (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 !

@dongjoon-hyun dongjoon-hyun changed the title [SPARK-27201][WebUI] Show full job description on click [SPARK-27201][WebUI] Toggle full job description on click Mar 20, 2019
@SparkQA
Copy link

SparkQA commented Mar 20, 2019

Test build #103707 has finished for PR 24145 at commit dafe9f1.

  • This patch fails due to an unknown error code, -9.
  • This patch merges cleanly.
  • This patch adds no public classes.

@wangyum
Copy link
Member

wangyum commented Mar 20, 2019

retest this please

@SparkQA
Copy link

SparkQA commented Mar 20, 2019

Test build #103718 has finished for PR 24145 at commit dafe9f1.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@HyukjinKwon
Copy link
Member

Merged to master.

gengliangwang pushed a commit that referenced this pull request Oct 24, 2019
### 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:
![Screenshot from 2019-10-23 11-23-00](https://user-images.githubusercontent.com/51401130/67361914-827b0080-f587-11e9-9181-d49a6a836046.png)
After change: on Double click over decription
![Screenshot from 2019-10-23 11-20-02](https://user-images.githubusercontent.com/51401130/67361936-932b7680-f587-11e9-9e59-d290abed4b70.png)

### 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>
PavithraRamachandran added a commit to PavithraRamachandran/spark that referenced this pull request Oct 31, 2019
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:
![Screenshot from 2019-10-23 11-23-00](https://user-images.githubusercontent.com/51401130/67361914-827b0080-f587-11e9-9181-d49a6a836046.png)
After change: on Double click over decription
![Screenshot from 2019-10-23 11-20-02](https://user-images.githubusercontent.com/51401130/67361936-932b7680-f587-11e9-9e59-d290abed4b70.png)

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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants