MiniProfiler / rack-mini-profiler

Profiler for your development and production Ruby rack apps.
MIT License
3.68k stars 400 forks source link

Display name in badge #602

Closed nateberkopec closed 6 months ago

nateberkopec commented 6 months ago

This changes the badge to display the page name, along with some alignment changes.

This greatly improves usability for SPA apps which can make dozens of requests on a single page.

Also, always display the totals control, even when there is only one request. This hides the full page name when there is only one request, keeping the badge nice and small.

Before:

image

After:

image