-
Notifications
You must be signed in to change notification settings - Fork 28.5k
[SPARK-7298] Harmonize style of new visualizations #5942
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
mateiz
commented
May 6, 2015
- Colors on the timeline now match the rest of the UI
- The expandable buttons to show timeline view, DAG, etc are now more visible
- Timeline text is smaller
- DAG visualization text and colors are more consistent throughout
- Fix some JavaScript style issues
- Various small fixes throughout (e.g. inconsistent capitalization, some confusing names, HTML escaping, etc)
Merged build triggered. |
Merged build started. |
Test build #31979 has started for PR 5942 at commit |
<strong>Scheduling Mode: </strong> | ||
{listener.schedulingMode.map(_.toString).getOrElse("Unknown")} | ||
</li> | ||
{ |
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.
I removed this because this info is already on the homepage
Test build #31979 has finished for PR 5942 at commit
|
Merged build finished. Test PASSed. |
Test PASSed. |
@mateiz Could you post before and after screenshots :) |
@zsxwing you should take a look at the changes to the streaming UI |
also pinging @andrewor14 |
@@ -352,7 +353,7 @@ private[spark] object UIUtils extends Logging { | |||
<div> | |||
<span class="expand-dag-viz" onclick={s"toggleDagViz($forJob);"}> | |||
<span class="expand-dag-viz-arrow arrow-closed"></span> | |||
<strong>DAG visualization</strong> | |||
<a>DAG Visualization</a> |
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.
Small typo. This shouldn't be an <a />
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.
No, why would it be? </a>
is proper HTML syntax.
Merged build triggered. |
Merged build started. |
Test build #32128 has started for PR 5942 at commit |
<link rel="stylesheet" href={prependBaseUri("/static/webui.css")} | ||
type="text/css" /> | ||
<link rel="stylesheet" href={prependBaseUri("/static/timeline-view.css")} | ||
type="text/css"></link> |
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.
small nit: this can be />
to be consistent with the other lines.
@mateiz The new colors look great! One thing that would be good to add is synchronize hovers over the two graphs on the job page. E.g. if I mouseover a stage on the timeline, it should light up in the DAG and vice versa. I can add this separately if you prefer. |
Test build #32128 has finished for PR 5942 at commit
|
Merged build finished. Test PASSed. |
Test PASSed. |
Yeah let's add that separately. BTW I will take a bit of time to tweak the DAG view as well, and after that I think I'm done with this PR. |
Build triggered. |
Build started. |
DAG parts LGTM. |
Cool, thanks! I've reduced the spacing too with your hint. |
Merged build triggered. |
Merged build started. |
Test build #32196 has started for PR 5942 at commit |
Test build #32189 has finished for PR 5942 at commit
|
Merged build finished. Test PASSed. |
Test PASSed. |
Test build #32196 has finished for PR 5942 at commit
|
Merged build finished. Test FAILed. |
Test FAILed. |
Merged build triggered. |
Merged build started. |
Test build #32239 has started for PR 5942 at commit |
This looks cool Matei. I did some basic playing around and found a case where it looks like the job level DAG is broken. Not sure if it was added by this patch though (ping @andrewor14 as well):
|
Yeah that seems to be a bug in the JS for drawing DAGs that might've been there before (look at the JS console during it, you will see an error printed). |
Sounds good - the changes in this patch LGTM. On Fri, May 8, 2015 at 4:33 PM, Matei Zaharia notifications@github.com
|
Test build #32239 has finished for PR 5942 at commit
|
Merged build finished. Test PASSed. |
Test PASSed. |
@pwendell , @andrewor14 is fixing it in #6002 |
Thanks @zsxwing. Yes it's currently broken for SQL. There are a few upcoming fixes:
|
- Colors on the timeline now match the rest of the UI - The expandable buttons to show timeline view, DAG, etc are now more visible - Timeline text is smaller - DAG visualization text and colors are more consistent throughout - Fix some JavaScript style issues - Various small fixes throughout (e.g. inconsistent capitalization, some confusing names, HTML escaping, etc) Author: Matei Zaharia <matei@databricks.com> Closes #5942 from mateiz/ui and squashes the following commits: def38d0 [Matei Zaharia] Add some tooltips 4c5a364 [Matei Zaharia] Reduce stage and rank separation slightly 43dcbe3 [Matei Zaharia] Some updates to DAG fac734a [Matei Zaharia] tweaks 6a6705d [Matei Zaharia] More fixes 67629f5 [Matei Zaharia] Various small tweaks (cherry picked from commit a1ec08f) Signed-off-by: Matei Zaharia <matei@databricks.com>
- Colors on the timeline now match the rest of the UI - The expandable buttons to show timeline view, DAG, etc are now more visible - Timeline text is smaller - DAG visualization text and colors are more consistent throughout - Fix some JavaScript style issues - Various small fixes throughout (e.g. inconsistent capitalization, some confusing names, HTML escaping, etc) Author: Matei Zaharia <matei@databricks.com> Closes apache#5942 from mateiz/ui and squashes the following commits: def38d0 [Matei Zaharia] Add some tooltips 4c5a364 [Matei Zaharia] Reduce stage and rank separation slightly 43dcbe3 [Matei Zaharia] Some updates to DAG fac734a [Matei Zaharia] tweaks 6a6705d [Matei Zaharia] More fixes 67629f5 [Matei Zaharia] Various small tweaks
- Colors on the timeline now match the rest of the UI - The expandable buttons to show timeline view, DAG, etc are now more visible - Timeline text is smaller - DAG visualization text and colors are more consistent throughout - Fix some JavaScript style issues - Various small fixes throughout (e.g. inconsistent capitalization, some confusing names, HTML escaping, etc) Author: Matei Zaharia <matei@databricks.com> Closes apache#5942 from mateiz/ui and squashes the following commits: def38d0 [Matei Zaharia] Add some tooltips 4c5a364 [Matei Zaharia] Reduce stage and rank separation slightly 43dcbe3 [Matei Zaharia] Some updates to DAG fac734a [Matei Zaharia] tweaks 6a6705d [Matei Zaharia] More fixes 67629f5 [Matei Zaharia] Various small tweaks
- Colors on the timeline now match the rest of the UI - The expandable buttons to show timeline view, DAG, etc are now more visible - Timeline text is smaller - DAG visualization text and colors are more consistent throughout - Fix some JavaScript style issues - Various small fixes throughout (e.g. inconsistent capitalization, some confusing names, HTML escaping, etc) Author: Matei Zaharia <matei@databricks.com> Closes apache#5942 from mateiz/ui and squashes the following commits: def38d0 [Matei Zaharia] Add some tooltips 4c5a364 [Matei Zaharia] Reduce stage and rank separation slightly 43dcbe3 [Matei Zaharia] Some updates to DAG fac734a [Matei Zaharia] tweaks 6a6705d [Matei Zaharia] More fixes 67629f5 [Matei Zaharia] Various small tweaks