-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Add debug views hints #759
Conversation
system/View/View.php
Outdated
// Compare Environment or some DebugBar Config? | ||
if (ENVIRONMENT == 'development') | ||
{ | ||
$output = '<div class="debug-view"><div class="debug-view-path">' . $file . '</div>' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should have an inline style set to display: none
so that in case someone is in debug mode and has the Toolbar filter turned off, these don't get displayed.
application/Controllers/Checks.php
Outdated
@@ -306,4 +306,9 @@ public function parser() | |||
$this->parser = Services::parser(); | |||
} | |||
|
|||
public function blocks() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The Checks controller is not something that is going to survive long and should not be the sole method of testing.
application/Views/blocks/a.php
Outdated
@@ -0,0 +1,14 @@ | |||
<div class="block a"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please remove theses 'blocks' views. I realize they were used while you were testing, but they're not something we want to ship with the framework.
#758