Giter Club home page Giter Club logo

Comments (3)

cuu508 avatar cuu508 commented on July 1, 2024 1

Yeah, I think it's a neat idea, but the effort to implement it, and the resulting extra complexity is not worth it.

from healthchecks.

cuu508 avatar cuu508 commented on July 1, 2024

The integration icons in the "My Checks" page use an icon font. This is done for performance reasons – if an account has many checks, there can be potentially hundreds of icons, and using an <img> element for each one can slow down the browser to the point the where it is noticeably sluggish.

The limitations of using an icon font are: each icon can have only one color, and it is not easy to add new icons.

One thing that may help somewhat: you can give integrations names. If the integration has a name, the name will display in a tooltip when you hover over the icon.

from healthchecks.

setop avatar setop commented on July 1, 2024

use an icon font

Oh, I see, that's clever :)

name will display in a tooltip when you hover over the icon

I've seen the tooltip. It's good but not as good as a custom icon.

it is not easy to add new icons

Yeah, I just had a look at the 'static/font' folder. It would be feasible to add an icon. But the main difficulty is that the icon is currently based on the integration type, not an other property of the check that should be managed.

Maybe this goodies does not worth the effort after all.

from healthchecks.

Related Issues (20)

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.