All Apps and Add-ons
Highlighted

Why App Icon background color did not update with new release on app?

Explorer

In our first release of app we have included one default.xml in nav folder which was having a default green color background and when I read I came to know that app icon on splunkbase shows the same color as the background color for splunkbase icon which we have provided in navigation XML file.

But as its an add-on so actually we don't require any navigation XML so I removed that XML in our next release of the app but then with that release, the background color of app icon on Splunkbase didn't update and its still showing the default green background.

I thought it will be updated to white color.

Note :- The app icon is having transparent background.

Thank you

Tags (3)
0 Karma
Highlighted

Re: Why App Icon background color did not update with new release on app?

SplunkTrust
SplunkTrust

Hi niteshp,

Yes, I have the same issue with my TA. In my case, my app and TA has the same transparent icon. On splunkbase, app shows icon in my desired color but TA shows green. So I have placed navigation default.xml with default values in TA with my desired color and It's working fine. As my TA is not visible to the app list, navigation will not display in any case.

For you, just add navigation xml with your app color.

default/data/ui/nav/default.xml

<nav search_view="search" color="#5B9BD5">
  <view name="search" default='true' />
  <view name="datasets" />
  <view name="reports" />
  <view name="alerts" />
  <view name="dashboards" />
</nav>

I hope this will work for you.
Thanks

0 Karma
Highlighted

Re: Why App Icon background color did not update with new release on app?

Explorer

Thanks for your reply @kamlesh_vaghela

Yes, putting back navigation xml will definitely work but I am trying to see if there is any other way as I don't need that navigation XML.

0 Karma
Highlighted

Re: Why App Icon background color did not update with new release on app?

SplunkTrust
SplunkTrust

Yes niteshp, another way also new for me.

thanks

0 Karma
Highlighted

Re: Why App Icon background color did not update with new release on app?

Splunk Employee
Splunk Employee

Hello. I'm an engineer on the Splunkbase team. We recently made a change where releases that do not specify an app icon color in the XML will default to transparent. We used to default to white. This means that for any releases without a specified background color that were uploaded after the change, the background will be transparent. But for releases that existed on the system prior to the change, the background color will continue to be white. Hope this helps explain the confusing behavior.

Highlighted

Re: Why App Icon background color did not update with new release on app?

Explorer

Thank you for your reply @hhunsinger

But Our first version of TA had an XML with green background color and now we have removed the navigation XML from TA. So by your explanation I think the background color will remain to be green.
Am I right?

If that is so will there be any possibility of changing it to white without adding navigation XML?

Thank you

0 Karma
Highlighted

Re: Why App Icon background color did not update with new release on app?

Splunk Employee
Splunk Employee

Hi @niteshp. The background color reflect the color of the most recent release. So, if you uploaded a new release with no background color specified, it will change from green to transparent. The only way to have a background color of white will be to add it in the XML.

0 Karma
Highlighted

Re: Why App Icon background color did not update with new release on app?

Explorer

Thanks @hhunsinger

So in my recent release I haven't specified any color so ideally it should be transparent but still its showing green background color from first release.

0 Karma
Highlighted

Re: Why App Icon background color did not update with new release on app?

Splunk Employee
Splunk Employee

Hi @niteshp. What's your app? I can take a look to see what's going on.

0 Karma
Highlighted

Re: Why App Icon background color did not update with new release on app?

Explorer

Hi @hhunsinger

This is the app we have developed

https://splunkbase.splunk.com/app/3706/

Thank you 🙂

0 Karma