mirror of
https://github.com/healthchecks/healthchecks.git
synced 2026-04-25 15:05:49 +03:00
[GH-ISSUE #787] [feature] add custom integration icon #553
Labels
No labels
bug
bug
bug
feature
good-first-issue
new integration
pull-request
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/healthchecks#553
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @setop on GitHub (Feb 1, 2023).
Original GitHub issue: https://github.com/healthchecks/healthchecks/issues/787
Sometime in a project you have many using integrations of the same type like email or web-hook. Web-hook are especially useful to integrate with tools that are not directly proposed by HC.
Unfortunately, all these integrations ends up with the same icon on the integration list :
It would be nice to be able to customize the integration icon in order to override the default one.
For example if I use a webhook to send SMS notification, I'd like to be able to put a nice icon on it :
@cuu508 commented on GitHub (Feb 1, 2023):
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.
@setop commented on GitHub (Feb 1, 2023):
Oh, I see, that's clever :)
I've seen the tooltip. It's good but not as good as a custom icon.
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.
@cuu508 commented on GitHub (Feb 7, 2023):
Yeah, I think it's a neat idea, but the effort to implement it, and the resulting extra complexity is not worth it.