All Apps and Add-ons

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

niteshp
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

hhunsinger_splu
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.

helge
Builder

@hhunsinger_spluWe have several apps in Splunkbase where the icon's background color is white (example). How can we have it changed to transparent?

The icon's PNG file has transparent corners and we do not specify a color in default.xml.

0 Karma

niteshp
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

hhunsinger_splu
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

niteshp
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

hhunsinger_splu
Splunk Employee
Splunk Employee

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

0 Karma

TGeorgeDN
Engager

Same problem with our app https://splunkbase.splunk.com/app/4317/

Added color in initial version 0.9.0, removed color in 0.9.1

Is there any hope of a convenient fix? E.g. can I request the deletion of the initial version instead of the complete app/add-on and resubmitting?

0 Karma

niteshp
Explorer

Hi @hhunsinger

This is the app we have developed

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

Thank you 🙂

0 Karma

kamlesh_vaghela
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

niteshp
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

kamlesh_vaghela
SplunkTrust
SplunkTrust

Yes niteshp, another way also new for me.

thanks

0 Karma
Get Updates on the Splunk Community!

Introducing Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...