GithubHelp home page GithubHelp logo

dorian-marchal / concrete5-kint-debug Goto Github PK

View Code? Open in Web Editor NEW
5.0 5.0 2.0 192 KB

Add debugging tools to a Concrete5 website

License: MIT License

PHP 66.45% CSS 10.23% JavaScript 20.90% Makefile 2.42%

concrete5-kint-debug's People

Contributors

dorian-marchal avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

concrete5-kint-debug's Issues

Change the color of the trace

  • The trace colour of #DDD is virtually impossible to read against the default background in elemental. I had to hack the css. I can imagine the opposite issue for themes that have a dark background. Perhaps you could provide a way for users to configure the colours (a site configuration option? a dashboard page?), or just change the default colour to something less likely to get lost against the background, or provide a background colour for the debug trace, or whatever mechanism makes sense.

Fix kint calls in Ajax request

  • (This is not an approval requirement, just thoughts on improving the addon) When I deliberately added a d() call to a block controller method that was called by both regular block display and by an ajax callback, the debug output broke the ajax response. I can imagine there being situations where developers would want the debug disabled within ajax responses, and other situations where they really need it to be enabled in ajax responses, even if it breaks something later. So a means of switching on and off output within ajax calls would be a good enhancement.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.