Skip to content
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

[SPARK-13124] [Web UI] Fixed CSS and JS issues caused by addition of JQuery DataTables #11038

Closed
wants to merge 3 commits into from

Conversation

ajbozarth
Copy link
Member

Made sure the old tables continue to use the old css and the new DataTables use the new css. Also fixed it so the Safari Web Inspector doesn't throw errors when on the new DataTables pages.

@ajbozarth
Copy link
Member Author

For reference here's what the issues look like, I returned them to their original look
css_issue
js_issue

Fixed:
spark-3611_cores
[Note: these screenshots where taken while working on #11039]

@ajbozarth
Copy link
Member Author

retest this please

@ajbozarth
Copy link
Member Author

@zhuoliu want to take a look since you added the DataTables

@zhuoliu
Copy link

zhuoliu commented Feb 3, 2016

Tested also for history page. Looks good to me.

@SparkQA
Copy link

SparkQA commented Feb 3, 2016

Test build #50630 has finished for PR 11038 at commit 75087f1.

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

@holdenk
Copy link
Contributor

holdenk commented Feb 3, 2016

So looking at the code we can't mix and match the old style and new style tables on the same page correct?

@ajbozarth
Copy link
Member Author

@holdenk not without changing a large amount of css or html. Both styles use common table classes in their basic css. This does seem to be one way though, only the old tables are affected when both css files are available, so we could potentially edit the old tables css to force use of the old style if we want to mix and match on the same page on a case by case basis.

@ajbozarth
Copy link
Member Author

@tgravescs since you did a lot of review on the DataTables addition do you want to take a look at this?

@tgravescs
Copy link
Contributor

Can you clarify when you see the exception with inspecting element?

Which browser and plugin, etc?

When I inspect it with firefox I don't see any errors

@ajbozarth
Copy link
Member Author

Last I checked I was seeing it on Safari, Firefox and Chrome, no plug-ins. I'll build master and spin up a Web UI and double check right now though.

@tgravescs
Copy link
Contributor

Ok, I'll try it again on clean apache build also.

@ajbozarth
Copy link
Member Author

Ok so I'm only seeing it in Safari now, and I did a couple searches based on only seeing it in Safari and I found a better fix, I'll push the change shortly

@ajbozarth
Copy link
Member Author

It seems that when a expected map file is missing Firefox and Chrome just ignore it, Safari on the other hand throws a 404 error. Given the map file doesn't exist to begin with it makes more sense to remove the reference to it than add the map file.

@SparkQA
Copy link

SparkQA commented Feb 11, 2016

Test build #51059 has finished for PR 11038 at commit 318c21f.

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

@tgravescs
Copy link
Contributor

+1

@asfgit asfgit closed this in 13c17cb Feb 11, 2016
@ajbozarth ajbozarth deleted the spark13124 branch February 11, 2016 16:02
superbobry pushed a commit to criteo-forks/spark that referenced this pull request Feb 15, 2017
…Query DataTables

Made sure the old tables continue to use the old css and the new DataTables use the new css. Also fixed it so the Safari Web Inspector doesn't throw errors when on the new DataTables pages.

Author: Alex Bozarth <ajbozart@us.ibm.com>

Closes apache#11038 from ajbozarth/spark13124.
superbobry pushed a commit to criteo-forks/spark that referenced this pull request Mar 20, 2017
…Query DataTables

Made sure the old tables continue to use the old css and the new DataTables use the new css. Also fixed it so the Safari Web Inspector doesn't throw errors when on the new DataTables pages.

Author: Alex Bozarth <ajbozart@us.ibm.com>

Closes apache#11038 from ajbozarth/spark13124.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
5 participants