-
Notifications
You must be signed in to change notification settings - Fork 28
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
iconproducer: Add percentage to generated icon #294
Conversation
ref. #231 |
Found a second issue:
EDIT: Could well be that this was always so. |
Note: this is probably some remnant when the reported percentage was in float
@stefonarch Fixed the (old)100% bug |
Nice, thanks, so it was never noticed without the numbers? My 2 cents:
|
Yes. It was there (hidden) intentionally, because of usage of the svg-path-arc...
I used the pre-existing graphics, but just moved it to the left/right-upper corner, because leaving them underneath the percentage number was awkward.
I don't think it is worth the hassles and code complication.
Added to tooltip. |
|
I think this is the most suitable, or colors for the +/i signs. But we shouldn't overload the icon, we already have eventually the "pause" emblem when idleness checks are paused. Some mockups, I'm not at all familiar with svg: without signs: Also replace 100% with just nothing, or the lightning bolt or another symbol? |
I haven't tried it yet but I think the problem is that we can't include several details in an icon that can be small. IMO, the percent sign can be removed because it makes the text too small. @palinek's first design (in his screenshots) was better; only the plus and minus signs could be raised to the top layer, maybe with different colors, as @stefonarch suggested. There's no space for ⚡. |
For me without the % it looks too much like a street sign, can't help. |
LOL! Personally, I think we'd better not take complaints about showing the number too seriously; otherwise, we might ruin the current neat design. Custom command plugin exists. |
Had the same idea, if we change than better a new one, maybe alongside with the old one which many users are familiar with and which has a particular nice design. |
I agree that keeping the old icon and adding a new one with the text is the best approach. The old icon isn't designed to include text. But doing it will need time and motivation. I, for one, don't understand the urgency of showing the percentage on the icon or beside it. |
Anyway, the now improved tooltip is nice and should be merged - provide info when asked for. |
The left design is very nice. The right one makes the text unreadable, and its reddish color is too alarming. I think the translucent white background isn't needed with this design — the icon is also more attractive without it — and the whole icon can be made opaque. |
Both are the same design :). It is using the same green gradient, which is used in the pre-existing circle icon. The gradient is overlapped by pure red color (when discharging) with changing opacity from 0.0 - 60% to 1.0 - 0%. Maybe we can decrease the 60% level when the red begins to come into play. |
I got it after seeing the code. IMHO, red is too alarming and makes the text hard to read on thin panels. Yellow? |
They seem OK. I'd remove the translucent square background and make the icon opaque, but I guess it's a matter of taste. |
Then:
Am I too cautious? |
No, you think logically, while I ignore rare special cases. You're right. Perhaps we'd better merge it as it is; later, we could think about aesthetic details. |
OK... so I'll update the PR to include 4 icon types:
|
Would be wonderful. |
There are some small issues left IMHO:
|
IMHO, if a sign needs to be red, it'll be the minus sign. Apart from the look, if the PR works fine now, please merge it. I agree that the appearance needs improvement and I have a plan to make a PR. |
In opening comment I said directly, that I'm no designer... |
I am, but also the naming should be reconsidered as I mentioned |
IMO, the design is OK. I'll make only minor modifications, with @stefonarch's help. |
This PR is only about the appearance — after #294. It doesn't change the functionality.
This PR is only about the appearance — after #294. It doesn't change the functionality.
This PR is only about the appearance — after #294. It doesn't change the functionality.
@lxqt/lxqt Note: I'm not a designer, feel free to enhance the graphics