-
-
Notifications
You must be signed in to change notification settings - Fork 146
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
Fixed scrollbar issues #182
Conversation
When on small screens where the debug toolbar is longer than the screen there was no way to access the items listed at the bottom of the toolbar. Adding `overflow-y: auto` allows a scrollbar to be used when this is the case.
Pinging @nickjj |
Hi, Thanks for the PR, would it be possible to record a quick video of the before / after? This will make it easier for others to see what's happening visually. |
Just wanted to leave a note to say thanks for the fix, @caffeinatedMike! This PR comes just in time for a major CKAN release (2.10), and flask-debugtoolbar is immensely useful for CKAN developers. |
@nickjj unfortunately, due to time constraints I'm not able to do so. However, if you'd like to reproduce the issue you can do so by changing the height of the browser when a panel is shown. Before the fix, both the panel on the left and toolbar on the right would not show all their contents. After applying the changes in this PR you can reach the overflowing content on both of these via scrollbars that only show when there is overflowing content. @florianm Happy to help! I'm always glad to be able to contribute to the open source tools I use. |
@nickjj Finally had a moment to record the before/after. Hope this helps! LGTM! flask-debugtoolbar-before-and-after.mp4 |
Hey, thanks for making the video. This looks good. @jeffwidman, do you have any last minute feedback before merging this in? |
Thanks for the contribution, it'll make its way into the next release. |
Thanks @nickjj! Do you have a rough timeline on the next release? This could make its way into the upcoming CKAN 2.10 release. |
There's no ETA but there's also #183 which is close to being ready to be merged. |
@nickjj , any updates on the release date? |
@lmiguelvargasf sort of seeing if #185 will materialize into a PR. |
It would be super to see a release go out soon 🤞 - this bug seems to have been hanging around a while 🥲 |
@nickjj , What is the planned date of next release? |
I think we're pretty close to being able to ship a new release. We're still transitioning to a new CI set up and don't have any automation in place to run, test and ship new releases. @jeffwidman do you want to do 1 last manual release or would you like some of your open issues (#193, #192, #191, #190, #188) be completed first? |
I'm fine either way, but given those issues will probably require some work I'd say ship a manual release to get the bugfixes live for folks, then can cleanup the CI workflows as we have time (which seems to always be in short supply these days with young kids!) |
Could definitely use a manual release because this feature has caused the extension to be unusable in my projects for about 4 months now. |
@nickjj , Any update on date of next release? |
Fixes #181 where the scrollbar would not show on any page other than the
sqlalchemy_select.html
template. The scroll classname is now properly named and applied throughout all panel templates asflDebugScroll
. I've also added a 10px bottom padding to show the end of the inner panel (for aesthetics sake).