Skip to content

Conversation

@guoxiaolongzte
Copy link

What changes were proposed in this pull request?

Before I fix this issue, if the describtion is too long, the content is still displayed on a line, causing the cell to be stretched indefinitely. The UI page is very ugly.
Add a css class, if the overdone is too long, I will automatically intercept the string, with '...' to replace, if the user wants to see more detailed in the word, you can double click to describtion, then more lines show the detail of describtion, then the UI page comparison Regular.
Please refer to the attachment of issue 'SPARK-20005',before_fix_jobs.png, before_fix_stages.png and after_fix_jobs.png, after_fix_stages.png.
issue url:https://issues.apache.org/jira/browse/SPARK-20005.

How was this patch tested?

manual tests

Please review http://spark.apache.org/contributing.html before opening a pull request.

@AmplabJenkins
Copy link

Can one of the admins verify this patch?


override def tableCssClass: String =
"table table-bordered table-condensed table-striped " +
"table table-bordered table-condensed table-striped sortable " +
Copy link
Member

Choose a reason for hiding this comment

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

It doesn't sound like this just makes it wrap. I'm not sure what the implications are of this?

<tr>
<td><code>/applications/[app-id]/stages</code></td>
<td>A list of all stages for a given application.</td>
<br><code>?status=[active|complete|pending|failed]</code> list only stages in the state.
Copy link
Member

Choose a reason for hiding this comment

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

Unrelated?

Copy link
Author

Choose a reason for hiding this comment

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

sorry,this is Unrelated. I merge code is error about docs/monitoring.md.

@guoxiaolongzte guoxiaolongzte changed the title [SPARK-20005]fix 'There is no "Newline" in UI in describtion'. [SPARK-20005][WEB UI]fix 'There is no "Newline" in UI in describtion'. Apr 7, 2017
@guoxiaolongzte
Copy link
Author

@srowen
Look at the attachment of 'SPARK-20005', you know what happened.

sorry,this is Unrelated. I merge code is error about docs/monitoring.md.

@srowen
Copy link
Member

srowen commented Apr 10, 2017

Ping @guoxiaolongzte to fix or close but i'm not yet clear this does only what you intend.
CC @ajbozarth

@guoxiaolongzte
Copy link
Author

Does the PR nobody deal with it?@srowen

@srowen
Copy link
Member

srowen commented Apr 11, 2017

@guoxiaolongzte I'm not sure what you're asking. It is up to you to fix this pull request, or else close it if you're not going to.

@guoxiaolongzte guoxiaolongzte deleted the SPARK-20005 branch June 12, 2017 10:24
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.

3 participants