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

Add debug views hints #759

Merged
merged 5 commits into from
Oct 9, 2017
Merged

Conversation

natanfelles
Copy link
Contributor

// Compare Environment or some DebugBar Config?
if (ENVIRONMENT == 'development')
{
$output = '<div class="debug-view"><div class="debug-view-path">' . $file . '</div>'
Copy link
Member

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.

@@ -306,4 +306,9 @@ public function parser()
$this->parser = Services::parser();
}

public function blocks()
Copy link
Member

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.

@@ -0,0 +1,14 @@
<div class="block a">
Copy link
Member

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.

@lonnieezell lonnieezell merged commit 05a7a9e into codeigniter4:develop Oct 9, 2017
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

Successfully merging this pull request may close these issues.

2 participants