Difficulty understanding the enable welcome banner setting

It’s odd that this is persisting even after refreshing in the app :thinking: When we save these values on the server we send a MessageBus message to the client here which should update the reactive UI:

But it feels like somehow your settings have gotten true/false flipped here? What do you see if you do this in the rails console for your site?

SiteSetting.theme_site_settings

You will see something like this, the numbers represent the theme ID:

{1=>{:enable_welcome_banner=>false, :search_experience=>"search_icon"},
 -1=>{:enable_welcome_banner=>false, :search_experience=>"search_icon"},
 -2=>{:enable_welcome_banner=>false, :search_experience=>"search_field"}}

Try toggling it and seeing what values appear (you will need to close/reopen the rails console each time you change the value).

Then can you try this:

SiteSetting.theme_site_settings_json(THEME_ID)

Replacing the THEME_ID with the one that is having issues.

Edit: Ah didn’t realise this was on a hosted site, I can look :eyes:

2 Likes