Favicon with badges - notifications #594

Open
opened 2025-11-02 03:29:16 -06:00 by GiteaMirror · 4 comments
Owner

Originally created by @lcges on GitHub (Mar 30, 2017).

My suggestion is to exchange early notifications with a new model.
OLD: Favicon + (notification digit) + Title
NEW: Favicon with badges + Title

This way we will save some space.

Suggested library: http://lab.ejci.net/favico.js/

2017-03-30t14 45 40 02 00-123x91
gitea_not

Originally created by @lcges on GitHub (Mar 30, 2017). My suggestion is to exchange early notifications with a new model. OLD: Favicon + (notification digit) + Title NEW: Favicon with badges + Title This way we will save some space. Suggested library: http://lab.ejci.net/favico.js/ ![2017-03-30t14 45 40 02 00-123x91](https://cloud.githubusercontent.com/assets/19255071/24505180/4441f91a-1559-11e7-8368-f6fc26fdff6d.png) ![gitea_not](https://cloud.githubusercontent.com/assets/19255071/24539230/d247f054-15ed-11e7-9964-b8b00cfd922e.jpg)
GiteaMirror added the topic/uiissue/confirmedtype/feature labels 2025-11-02 03:29:17 -06:00
Author
Owner

@stale[bot] commented on GitHub (Feb 16, 2019):

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs during the next 2 weeks. Thank you for your contributions.

@stale[bot] commented on GitHub (Feb 16, 2019): This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs during the next 2 weeks. Thank you for your contributions.
Author
Owner

@Ryuno-Ki commented on GitHub (Jun 5, 2022):

Which file would need to change here?

I can't tell from looking at

73382d2132/templates/base/head.tmpl (L6)

Since we use SVG for the favicon, that could be turned inline (and become dynamic this way).

@Ryuno-Ki commented on GitHub (Jun 5, 2022): Which file would need to change here? I can't tell from looking at https://github.com/go-gitea/gitea/blob/73382d2132f8f242245d83f66c92761e0b477b91/templates/base/head.tmpl#L6 Since we use SVG for the favicon, that could be turned inline (and become dynamic this way).
Author
Owner

@lunny commented on GitHub (Jun 6, 2022):

Should we create a dynamic graph for that?

@lunny commented on GitHub (Jun 6, 2022): Should we create a dynamic graph for that?
Author
Owner

@Ryuno-Ki commented on GitHub (Jun 11, 2022):

I don't know Golang enough. Are there libraries to aid with it? Otherwise it will be a bit hairy to write (I could take a stab, but not for the upcoming release).

https://css-tricks.com/svg-favicons-and-all-the-fun-things-we-can-do-with-them/ gives you some ideas on what you could do with a SVG favicon.

I mean, the web being the place it is yield to http://www.p01.org/defender_of_the_favicon/ and friends 😆

@Ryuno-Ki commented on GitHub (Jun 11, 2022): I don't know Golang enough. Are there libraries to aid with it? Otherwise it will be a bit hairy to write (I could take a stab, but not for the upcoming release). https://css-tricks.com/svg-favicons-and-all-the-fun-things-we-can-do-with-them/ gives you some ideas on what you could do with a SVG favicon. I mean, the web being the place it is yield to http://www.p01.org/defender_of_the_favicon/ and friends :laughing:
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#594