One context-related issue I’ve encountered which hasn’t been canvased yet, is that context could be used to set the canonical url of a forum topic. When I say I’ve encountered this issue, it’s some feedback we’ve received on the plugin. See further
And the subsequent discussion.
What I’m currently thinking is the following:
- When working with a topic (thread etc)
- If a Note in that topic has a resolvable
context - If the
contextresolves to a Collection. - Use a resolvable URL for the Collection as the canonical url
- My current candidate for a “resolvable url” is the
urlproperty of the Collection as the Discourse plugin already serializes the topic url as theurlof Topic Collections.
- My current candidate for a “resolvable url” is the
Interested in thoughts on any of the above.