My sense is that a PR would be the better route here. But let me pose the concept as I understand it:
- This would create a new
/comments
route that requires two parameters:url
anduser-click
. This URL would be used under the “Start Discussion” link. - The
user-click
parameter would be appended by javascript when clicked to stop crawlers from triggering it. - If a topic already exists for the embed url passed as a parameter, then the user is redirected to that topic.
- If the topic does not exist, the topic is created as per usual.
My biggest question is around settings. Is this intended to be the default way this should work or is this a setting enabled in the embed setup? We may need someone from the team to answer that one. Especially if this is to be a PR.