Understanding Solved Plugin

I am trying to understand the solved plugin to get a better idea of creating plugins. I had a few questions about code snippets from the solved plugin.

In the tutorial for developing plugins, there was a path field, why isn’t there one in the solved route-map?

In the plugin.rb file, I couldn’t find the solved plugin version of

add_admin_route 'purple_tentacle.title', 'purple-tentacle'

How does the solved plugin, achieve the solved interface in the user activity? How are the notifications linked to this interface?

Thank you


As per the above code a common filter path is already available in Discourse core. So we don’t need to add the solved activity filter u/:username/activity/solved again in plugin code.