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

Fixed scrollbar issues #182

Merged
merged 3 commits into from Aug 18, 2022
Merged

Fixed scrollbar issues #182

merged 3 commits into from Aug 18, 2022

Conversation

caffeinatedMike
Copy link
Contributor

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 as flDebugScroll. I've also added a 10px bottom padding to show the end of the inner panel (for aesthetics sake).

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.
@caffeinatedMike caffeinatedMike changed the title Fixed scrollbar issue due to incorrect classname Fixed scrollbar issues Aug 2, 2022
@caffeinatedMike
Copy link
Contributor Author

Pinging @nickjj

@nickjj
Copy link
Contributor

nickjj commented Aug 2, 2022

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.

@florianm
Copy link

florianm commented Aug 3, 2022

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.

@caffeinatedMike
Copy link
Contributor Author

caffeinatedMike commented Aug 3, 2022

@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.

@caffeinatedMike
Copy link
Contributor Author

@nickjj Finally had a moment to record the before/after. Hope this helps! LGTM!

flask-debugtoolbar-before-and-after.mp4

@nickjj
Copy link
Contributor

nickjj commented Aug 11, 2022

Hey, thanks for making the video. This looks good. @jeffwidman, do you have any last minute feedback before merging this in?

@nickjj nickjj merged commit ff01910 into pallets-eco:master Aug 18, 2022
@nickjj
Copy link
Contributor

nickjj commented Aug 18, 2022

Thanks for the contribution, it'll make its way into the next release.

@florianm
Copy link

Thanks @nickjj! Do you have a rough timeline on the next release? This could make its way into the upcoming CKAN 2.10 release.

@nickjj
Copy link
Contributor

nickjj commented Aug 19, 2022

There's no ETA but there's also #183 which is close to being ready to be merged.

@lmiguelvargasf
Copy link

@nickjj , any updates on the release date?

@nickjj
Copy link
Contributor

nickjj commented Oct 7, 2022

@lmiguelvargasf sort of seeing if #185 will materialize into a PR.

@samuelhwilliams
Copy link

It would be super to see a release go out soon 🤞 - this bug seems to have been hanging around a while 🥲

@Gauravp-NEC
Copy link

Thanks for the contribution, it'll make its way into the next release.

@nickjj , What is the planned date of next release?

@nickjj
Copy link
Contributor

nickjj commented Dec 31, 2022

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?

@jeffwidman
Copy link
Member

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!)

@caffeinatedMike
Copy link
Contributor Author

Could definitely use a manual release because this feature has caused the extension to be unusable in my projects for about 4 months now.

@jeffwidman
Copy link
Member

Yah, I hear you. I started to cut a release and ran into #197 / #198, those should both probably land first to make the process slightly more straightforward.

@Gauravp-NEC
Copy link

@nickjj , Any update on date of next release?

@tvuotila tvuotila mentioned this pull request Aug 11, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 30, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Vertical scroll-bar needed on some pages
7 participants