Facebook-style Topic Modal - Is it better?

I’ve just added two new settings to make it much more flexible for custom layouts:

  • trigger_style: Choose between making the entire topic row clickable (row) or adding a small expand icon (button) that opens the preview while leaving the normal topic link untouched.

  • plugin_outlet: When using the button style, you can specify the exact plugin outlet where the expand icon is rendered (defaults to topic-list-after-title).

This allows custom themes to attach the trigger button to their own custom plugin outlets as needed.

I actually just activated this exact standalone component on my site. I completely removed my original code from my theme and replaced it with this component running via <PluginOutlet />.

Plus, I also fixed a bug with the read tracking functionality.

I’d like to test it in a live production environment for a short while to make sure everything is solid before open-sourcing it.


By the way, I’ve temporarily switched the Theme Creator preview to the button trigger type for a short while so you can test!