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

[Feature] Make GeoServer permission page clearer that there are more permissions to set, currently this is misleading #604

Open
tlvu opened this issue Apr 13, 2024 · 2 comments
Assignees
Labels
feature New feature to be developed

Comments

@tlvu
Copy link
Contributor

tlvu commented Apr 13, 2024

Is your feature request related to a problem? Please describe.
When upgrading to birdhouse-deploy 1.37.0 (bird-house/birdhouse-deploy#348), we have to enable more permissions for GeoServer.

However the permission page make it looks like what we see is all there is, but in fact there are a lot more and we have to scroll horizontally, but there are no visible indication that we have to scroll horizontally.

Screenshot from 2024-04-13 13-09-22

Describe the solution you'd like
Display all the permissions at once or make the scroll bar always appear.

Currently the scroll bar only appear when we mouse over the scroll bar region, which is very misleading. When we simply select an option (ex: "Allow, Recursive"), the scroll bar do not even appear. We have to accidentally mouse over the tiny scroll bar region for the scroll bar to appear.

@tlvu tlvu added the feature New feature to be developed label Apr 13, 2024
@tlvu
Copy link
Contributor Author

tlvu commented Apr 13, 2024

FYI @mishaschwartz

@fmigneault
Copy link
Collaborator

The scrollbar visibility is a browser-specific configuration.
https://superuser.com/questions/1720362/firefox-scroll-bar-disappearing
https://www.reddit.com/r/reactjs/comments/x0tikw/can_a_website_force_to_always_show_scrollbars_or/

There are a few CSS tricks here and there, but they are browser-specific as well.
For example: https://developer.mozilla.org/en-US/docs/Web/CSS/::-webkit-scrollbar
https://developer.mozilla.org/en-US/docs/Web/CSS/::-webkit-scrollbar#browser_compatibility
We can give it a try, but not sure about the result across browsers/OS.

I'm not sure if there is an easy alternative either without scrollbar visibility tricks.
The thing about this scrollbar is that it is auto applied by the browser if overflow is detected.
It seems like detecting this to add some indicator dynamically might be really complicated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature to be developed
Projects
None yet
Development

No branches or pull requests

2 participants