Skip to content

Conversation

@MeghnaAJ
Copy link
Member

@MeghnaAJ MeghnaAJ commented Jun 24, 2025

DEV: remove support for 'Discourse Showcased Categories'

This PR fixes the search banner that was not showing up because of recent changes in core and Advanced search banner plugin.

This PR also removes support for 'Discourse Showcased Categories' that was an optional feature but was broken for a while and was not being used.

Here's how the default theme looks now:

Screenshot 2025-06-24 at 12 01 52 PM

"https://github.com/discourse/discourse-showcased-categories.git",
"https://github.com/discourse/discourse-search-banner.git"
],
"components": ["https://github.com/discourse/discourse-search-banner.git"],
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we still need to use this component? Could we use core's SiteSetting.enable_welcome_banner and SiteSetting.search_experience overrides similar to how we do for Horizon? This way we could remove the extension code throughout the theme completely.

https://github.com/discourse/horizon/blob/abf22a666859e8b0ff782ab21d83b29c1c5e2283/settings.yml#L1-L11

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's an excellent question, Keegan. I considered the same approach, but ultimately decided not to remove the "discourse-search-banner" component. For sites that already have the Mint theme installed, removing the component-specific styling would cause the layout to break. Does that make sense?

@MeghnaAJ MeghnaAJ merged commit 2e7b000 into main Jun 27, 2025
4 checks passed
@MeghnaAJ MeghnaAJ deleted the fix-banner branch June 27, 2025 04:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

4 participants