Giter Club home page Giter Club logo

collective_stats_logviewer's People

Watchers

 avatar  avatar  avatar  avatar

collective_stats_logviewer's Issues

Main stat for each url needs color-coding

For each url, there is one main stat that is displayed. Under Slow Pages it's average rendering time, Server Chokers it's total server time, and Memory Hogs it's percent of memory used. We want to color code those values depending on how severe they are.

eg, if a url has an average rendering time greater than 10 seconds, it should be red, between 5-10, orange, and between 1.5-5, yellow. These are just arbitrary thresholds and colors, but you get the idea.

We'll need to assign css classes which will change the color of the text (we may already have some we can use as part of the bootstrap library), and then use jquery to check the value of that stat, and add a class as necessary.

/cc @teddymcw, @pitonisaX, @plesf

Prevent multiple ajax requests from being sent when user clicks link more than once

Right now when a user clicks a link to reveal more details about a url, it sends an ajax request to the server and populates detailed information about that url based off of information it receives back. The problem is that if the user clicks that link again to collapse those details, another ajax request is sent. If they click it again to see those details, ANOTHER ajax request is sent. Really, we only need to have one sent the first time. We should find a way to prevent subsequent ajax calls after the first one.

/cc @teddymcw, @pitonisaX, @plesf

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.