-
-
Notifications
You must be signed in to change notification settings - Fork 190
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
Tab icon in Admin 5 #1068
Comments
I have tested the Adapter with React - it behaves as expected.
A. |
OK, sounds good. How about a Change Request (Issue) for Admin to officially support non-FA icons? |
It seems like everything works fine. Currently you are using this: ioBroker.zigbee/io-package.json Line 183 in dbe52d2
I would prefer if admin 5 supported something like "adminTab": {
...
"icon": "zigbee.svg"
} See also my request here: ioBroker/ioBroker.admin#797 |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Admin 5 will no longer use tab specific icons but rather just the adapter icon. Thus, this is no longer an issue. |
Did you already test your adapter in Admin 5 with React? (I can't test it right now as I'm on my phone)
From what I can see, you used an HTML hack to use your own tab icon instead of a standard FA icon.
If you really want to keep using your icon, I would suggest to create a PR for Admin which makes it possible to support SVG icons other than FA. This would have to be done in a way that is backwards compatible.
I would also suggest to use a theme compatible svg (using the special color
currentColor
), so it is more in line with the FA icons of other tabs (ie monochrome). Here are examples how I achieved this for the dev portal: https://github.com/UncleSamSwiss/iobroker-dev-portal/blob/1cc4d5b10083b37c95c04e326886e096a2c7aa15/express/frontend/src/components/Icons.tsx#L27The text was updated successfully, but these errors were encountered: