GithubHelp home page GithubHelp logo

Comments (10)

guilhermesimoes avatar guilhermesimoes commented on June 14, 2024

Hm, that's an infinity symbol (∞). There is only space for 2 characters so the count cannot go over 99.

from favico.js.

adambom avatar adambom commented on June 14, 2024

Yeah, just noticed that in the source code. I get that we can only fit two characters, but putting an Infinity symbol is probably not the best solution. I know I'm going to get bug reports about this.

Is there anything we can do? Even just having 9+, which seems to be commented out in the code, would be a better solution.

from favico.js.

adambom avatar adambom commented on June 14, 2024

Could we reduce font size maybe?

from favico.js.

guilhermesimoes avatar guilhermesimoes commented on June 14, 2024

Funny that you ask for the 9+ since the count going over 10 was only changed due to popular request. Maybe that should be customizable?

from favico.js.

adambom avatar adambom commented on June 14, 2024

I realized that was silly. Sent a PR that should fix the problem more robustly.

from favico.js.

ejci avatar ejci commented on June 14, 2024

Honestly I never thought that someone will ever need to show badge number bigger than 99 in favicon :)

from favico.js.

ejci avatar ejci commented on June 14, 2024

Thanks for the PR. I will test it and release it with "tiny" modification.

from favico.js.

adambom avatar adambom commented on June 14, 2024

Lol. You should see the number of unread messages in my gmail inbox.

from favico.js.

guilhermesimoes avatar guilhermesimoes commented on June 14, 2024

Is it a good use case to use an icon badge to display the number of unread email messages though? To me, even a badge count over 9 is pushing it. But that's just my opinion 😆

from favico.js.

ejci avatar ejci commented on June 14, 2024

It will look like this:
1 12 123 1234 12345

from favico.js.

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.