Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Solution for gazillions of tabs #3

Open
Loirooriol opened this issue Jun 26, 2018 · 0 comments
Open

Solution for gazillions of tabs #3

Loirooriol opened this issue Jun 26, 2018 · 0 comments
Labels
enhancement New feature or request

Comments

@Loirooriol
Copy link
Owner

The counter is already a bit too small for 4-digit numbers. If someone has more than 10^4 tabs, I guess it won't be readable in SVG, and I believe Webextension badges only display 4 characters.

I could try something like

Int Short Long
1 1 1 1
12 12 12 12
123 123 123 123
1234 1k 1.2k 1234
12345 12k 12k 12.3k
123456 123k 123k 123k
1234567 1M 1.2M 1.23M
12345678 12M 12M 12.3M
123456789 123M 123M 123M

The "long" mode could use up to 5 characters but one being a narrow dot, so may be fine for SVG, but not for badges. The "short" mode never uses more than 4 characters, that's good. The "int" one is like "short" but without decimals; less information but maybe more clear.

I should investigate if they work well, and maybe add a pref to choose between them.

@Loirooriol Loirooriol added the enhancement New feature or request label Jun 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant