-
Notifications
You must be signed in to change notification settings - Fork 28.2k
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-10864] [Web UI] app name is hidden if window is resized #9874
Conversation
Can you post before and after screenshots? |
This is probably fine but yeah would be good to see screenshots. |
@ajbozarth the last one is "before" right? I suppose it's an open question whether you want the name to be hidden if the window is narrow rather than wrap the tabs to the next line, but I like the change. |
@srowen, yes it put them in reverse order for some reason. |
ok to test |
Test build #46552 has finished for PR 9874 at commit
|
OK by me. The new behavior seems fine and I don't see a downside |
Thanks, merging into master 1.6. |
Currently the Web UI navbar has a minimum width of 1200px; so if a window is resized smaller than that the app name goes off screen. The 1200px width seems to have been chosen since it fits the longest example app name without wrapping. To work with smaller window widths I made the tabs wrap since it looked better than wrapping the app name. This is a distinct change in how the navbar looks and I'm not sure if it's what we actually want to do. Other notes: - min-width set to 600px to keep the tabs from wrapping individually (will need to be adjusted if tabs are added) - app name will also wrap (making three levels) if a really really long app name is used Author: Alex Bozarth <ajbozart@us.ibm.com> Closes #9874 from ajbozarth/spark10864. (cherry picked from commit 83653ac) Signed-off-by: Andrew Or <andrew@databricks.com>
Currently the Web UI navbar has a minimum width of 1200px; so if a window is resized smaller than that the app name goes off screen. The 1200px width seems to have been chosen since it fits the longest example app name without wrapping.
To work with smaller window widths I made the tabs wrap since it looked better than wrapping the app name. This is a distinct change in how the navbar looks and I'm not sure if it's what we actually want to do.
Other notes: