Closed xilopaint closed 2 years ago
@melonamin what's your opinion here?
Implemented as requested.
But overall if I were you I would explicitly handle "no internet" condition and would output a custom icon\message.
Hey @melonamin, what's the source of the icon? It seems to me slightly small:
I usually get distracted during my work when the yellow warning sign (⚠️) appears on my menu bar. It's obtrusive and not consistent with the b&w standard of macOS native menu bar icons.
It wouldn't be such a big problem if one gets errors just for plugins in development, but that's not the case. If a plug-in relies on internet connection, errors will happen whenever there is a lack of connectivity. Because of this I get myself catching exceptions just for avoiding the yellow icon. For example:
I think the icon should be less obtrusive and aimed to warn the user only when they are looking at the menu bar plugin and not when they are doing something else. So I suggest replacing the yellow warning icon with some b&w version from SF Symbols, which are much more SwiftBar friendly:
I see two options. This is a warning symbol:
And this is a truly error symbol:
Personally, I find the second one more appropriate as we're talking about errors and not just warnings, but both are good for me.