Skip to content
This repository was archived by the owner on Mar 1, 2025. It is now read-only.

ADD option to display values in multiple lines #4

Open
allanlaal opened this issue Aug 26, 2017 · 3 comments
Open

ADD option to display values in multiple lines #4

allanlaal opened this issue Aug 26, 2017 · 3 comments

Comments

@allanlaal
Copy link

allanlaal commented Aug 26, 2017

use case

currently I have only 260 tabs open in 58 windows.
I Click on the extension icon to toggle between views: I choose the "Tab count/Window Count" view

expected result

the extension icon shows: 260/58

actual result

the extension icon shows: 260/: (50% of the 5 is visible)

solution

since the extension icon itself is not important to users, please add an option to display values in multiple lines. Ideally 3 lines to support #5 aswell

example


260
[58]
(3)


where (3) is the number of tabs opened in current window (if #5 gets supported)

@asafh
Copy link
Owner

asafh commented Aug 27, 2017

Unforunately Chrome doesn't allow new lines in badge texts. Morover the badge text is limited to 4 characters and there isn't much around it.
The only place we could could show more info is with either the tooltip that appears when hovering (i.e. the "Tab count/Window Count" text), or a popup that opens on click. I feel like a popup is more usable as the hover tooltip is rather slow to appear. I'll try and get around to it this week.

Cheers

@allanlaal
Copy link
Author

damn Chrome and its limitations :(

is it possible to dynamically change the extension icon to a generated image with all the needed numbers to bypass this?

@asafh
Copy link
Owner

asafh commented Aug 28, 2017

Yeah good idea, that'll work. I've created a working proof of concept but I need to see how can I make it aesthetic/readable, and optionally customizable.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants