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

Backport enhancements made in Debug panel for Yii 1.1 #14

Closed
samdark opened this issue Apr 23, 2015 · 1 comment
Closed

Backport enhancements made in Debug panel for Yii 1.1 #14

samdark opened this issue Apr 23, 2015 · 1 comment
Labels
type:enhancement Enhancement

Comments

@samdark
Copy link
Member

samdark commented Apr 23, 2015

Debug panel for Yii 1.1 implemented by @zhuravljov is an excellent port of 2.0 panel with some cool additions and changes we can port back.

Toolbar

Here's current 2.0 toolbar:

yii2_debug_toolbar

And here's 1.1 toolbar:

yii_11_debug_toolbar

We could remove "Yii Debugger" title and place version number w/o "Yii" there. Will save lots of space for custom panels. done

Index

Current:

yii2_debug_index

1.1:

yii_11_debug_index

Status code could be highlighted, dates could be formatted better. done

The stars there are to "pin" a request so it's never cleaned up when debug data limit is reached. These are also in request page:

yii_11_debug_pinning

DB panel

yii_11_debug_db

yii_11_debug_db_summary

yii_11_debug_db_connections

  1. Syntax highlighting Implement TextHighlighter yii2#52
  2. Ability to run EXPLAIN in place. done
  3. Resume (should be called summary) tab shows how many queries of the same type were made, ordering such query groups by execution time descending. Very useful for getting an idea of what could be optimized.
  4. Connections tab shows which connections were made.
@samdark samdark added the type:enhancement Enhancement label Apr 23, 2015
@samdark samdark changed the title Enhancements made in Debug panel for Yii 1.1 Backport enhancements made in Debug panel for Yii 1.1 Apr 23, 2015
@samdark samdark closed this as completed Oct 8, 2015
@samdark
Copy link
Member Author

samdark commented Oct 8, 2015

Splitted the rest into separate issues.

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

No branches or pull requests

1 participant