rahim123 reports that bulk selection actions (specifically the moderator dropdown menu) are missing in Sam’s Simple Theme, though selection checkboxes appear. The feature works fine in the default Discourse theme. Attempts to add CSS for bulk selection had no effect. pmusaraj confirms the Dismiss button (for non-moderators) works, but rahim123 clarifies they’re missing the moderator-specific bulk actions menu. Lilly suggests ensuring both theme and Discourse are up-to-date, but rahim123 confirms they are. Lilly shares a screenshot showing the menu working on their test forum with the theme. rahim123 notes this has been an issue for years, even after briefly fixing it with custom code. Lilly suspects the issue may stem from using the stable branch, as the bulk actions menu was recently added to the theme. Testing in safe mode (rahim123) confirms the menu appears only when themes are disabled. Lilly explains that the theme no longer includes bulk selection code explicitly — it relies on core Discourse functionality after old code was removed during a template refactor (commit). rahim123 concludes that the theme now relies on core fallback, but they never saw it work until adding custom code — the source of which is now lost rahim123.
Ah OK, yes, that works for me both here and on my forum. But the bulk actions menu for moderators is a separate dropdown menu that appears with more options, that’s what I’m missing.
Hmm weird. Since I started using it a few years ago bulk selection actions never appeared with Sam’s Simple Theme. While working on some other theme component a year or so ago I did run across a code snippet that made it start working, but I either removed it by accident or it stopped working with an update.
The only possible difference I can think of is that I’m on the stable branch, but like I said this has been a long-standing issue for years for me.
With ?safe_mode=no_plugins no, the menu doesn’t appear. With ?safe_mode=no_themes%2Cno_plugins it does work but that’s obviously just because it disables 3rd party themes.
So if I understand correctly, the old version of Sam’s Simple Theme had handling for bulk selection, and then Discourse changed the way it worked, and then Sam’s Simple Theme recently had that old handling removed and now it’s undefined in Sam’s Simple Theme so that it works by falling back to the core bulk selection code?
So I guess what I don’t understand is that bulk selection never worked for me with Sam’s Simple Theme until I added a few lines of code a year or so ago, I can’t remember if it was CSS or JS in the HEAD.