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

Regression: client_timings UI, that contained 'show trivial' link, disappeared when upgrading from 1.0.2 to 1.1.6 #440

Closed
feliperaul opened this issue May 18, 2020 · 6 comments

Comments

@feliperaul
Copy link
Contributor

Before the upgrade, on v. 1.02, I had this section in my profile that allowed me, amongst other details, to click 'show trivial':

image

That square in the picture is a <div class="profiler-timings profiler-client-timings">.

However, after the upgrade to 1.1.6, that whole area disappeared:

image

Even setting Rack::MiniProfiler.config.show_trivial = true doesn't show it back.

@SamSaffron
Copy link
Member

Confirmed ... this has gone missing @OsamaSayegh can you have a look?

@SamSaffron
Copy link
Member

Note ... while looking at this... timing client side have gotten better over the years, there may be some improvements lurking.

@feliperaul
Copy link
Contributor Author

@SamSaffron @OsamaSayegh
I wanted to point out that the results in the latest version already include the trivial steps in the resulting HTML, but they are hidden by a display: none CSS, and there's no link anywhere to be seen to toggle them visible (as there was in the 1.0.2 version).

If I manually disable that CSS rule I get the result I'm looking for (the trivial steps show up).

image

@OsamaSayegh
Copy link
Collaborator

OK, thanks for reporting this @feliperaul. #441 should bring back client timings and the show trivial button. I've included a screenshot in the PR. Let me know if there is anything else missing.

@OsamaSayegh
Copy link
Collaborator

FYI @feliperaul version 2.0.2 is out with this fix 🎉 Thanks for your report!

@feliperaul
Copy link
Contributor Author

Thank you @OsamaSayegh and @SamSaffron !

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

No branches or pull requests

3 participants