> I'm not sure who uses it and what for<br>
<br>
I do! 🙂 I have it in my RSS reader so I can monitor the notes in an area.<br>
<br>
> so that notes reappear when they have a new comment right?<br>
<br>
Correct.<br>
<br>
> But it has this weird dual thing of showing both the latest comment <br>
(that caused it to be included) and the whole thread?<br>
<br>
Yes. When there's a "comment" on a note (including the opening of the <br>
note), there's an entry in the feed, which includes that comment, and <br>
then all the comments in/on that note. So when a note is opened, the <br>
first comment is displayed twice.<br>
<br>
> you change doesn't really fix that because we still get the <br>
duplication the second time round - why is it a problem for a new note <br>
and not for subsequent comments?<br>
<br>
My ruby skills are underdeveloped 😉, so I didn't try too much. This <br>
patch is an improvement, while not making things perfect.<br>
<br>
Yes when there's the (e.g.) 5th comment on a note, that comment will <br>
appear twice (at the top and as part of the 'whole note'). IMO this <br>
isn't so bad. Including the whole note (w/ all comments in chronological <br>
order) in each feed entry is good. And including, at the top, the <br>
comment that caused this feed is good too. So I think removing the 5th <br>
comment from the 'whole note' section is bad, and removing it from the <br>
top is bad too.<br>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2029#issuecomment-431890638">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABWnLT3kC9em-wl_Ft-J-DBEdyTyfz2yks5unfSrgaJpZM4XyAW2">mute the thread</a>.<img src="https://github.com/notifications/beacon/ABWnLaja-DrdnViy4uYK_j6Fd0z6QrLTks5unfSrgaJpZM4XyAW2.gif" height="1" width="1" alt="" /></p>
<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/openstreetmap/openstreetmap-website","title":"openstreetmap/openstreetmap-website","subtitle":"GitHub repository","main_image_url":"https://assets-cdn.github.com/images/email/message_cards/header.png","avatar_image_url":"https://assets-cdn.github.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/openstreetmap/openstreetmap-website"}},"updates":{"snippets":[{"icon":"PERSON","message":"@rory in #2029: \u003e I'm not sure who uses it and what for\n\nI do! 🙂 I have it in my RSS reader so I can monitor the notes in an area.\n\n \u003e so that notes reappear when they have a new comment right?\n\nCorrect.\n\n \u003e But it has this weird dual thing of showing both the latest comment \n(that caused it to be included) and the whole thread?\n\nYes. When there's a \"comment\" on a note (including the opening of the \nnote), there's an entry in the feed, which includes that comment, and \nthen all the comments in/on that note. So when a note is opened, the \nfirst comment is displayed twice.\n\n \u003e you change doesn't really fix that because we still get the \nduplication the second time round - why is it a problem for a new note \nand not for subsequent comments?\n\nMy ruby skills are underdeveloped 😉, so I didn't try too much. This \npatch is an improvement, while not making things perfect.\n\nYes when there's the (e.g.) 5th comment on a note, that comment will \nappear twice (at the top and as part of the 'whole note'). IMO this \nisn't so bad. Including the whole note (w/ all comments in chronological \norder) in each feed entry is good. And including, at the top, the \ncomment that caused this feed is good too. So I think removing the 5th \ncomment from the 'whole note' section is bad, and removing it from the \ntop is bad too.\n"}],"action":{"name":"View Pull Request","url":"https://github.com/openstreetmap/openstreetmap-website/pull/2029#issuecomment-431890638"}}}</script>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/openstreetmap-website/pull/2029#issuecomment-431890638",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/2029#issuecomment-431890638",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
},
{
"@type": "MessageCard",
"@context": "http://schema.org/extensions",
"hideOriginalBody": "false",
"originator": "AF6C5A86-E920-430C-9C59-A73278B5EFEB",
"title": "Re: [openstreetmap/openstreetmap-website] Don't duplicate note comments in RSS feeds for new notes (#2029)",
"sections": [
{
"text": "",
"activityTitle": "**Rory McCann**",
"activityImage": "https://assets-cdn.github.com/images/email/message_cards/avatar.png",
"activitySubtitle": "@rory",
"facts": [
]
}
],
"potentialAction": [
{
"name": "Add a comment",
"@type": "ActionCard",
"inputs": [
{
"isMultiLine": true,
"@type": "TextInput",
"id": "IssueComment",
"isRequired": false
}
],
"actions": [
{
"name": "Comment",
"@type": "HttpPOST",
"target": "https://api.github.com",
"body": "{\n\"commandName\": \"IssueComment\",\n\"repositoryFullName\": \"openstreetmap/openstreetmap-website\",\n\"issueId\": 2029,\n\"IssueComment\": \"{{IssueComment.value}}\"\n}"
}
]
},
{
"name": "Close pull request",
"@type": "HttpPOST",
"target": "https://api.github.com",
"body": "{\n\"commandName\": \"PullRequestClose\",\n\"repositoryFullName\": \"openstreetmap/openstreetmap-website\",\n\"pullRequestId\": 2029\n}"
},
{
"targets": [
{
"os": "default",
"uri": "https://github.com/openstreetmap/openstreetmap-website/pull/2029#issuecomment-431890638"
}
],
"@type": "OpenUri",
"name": "View on GitHub"
},
{
"name": "Unsubscribe",
"@type": "HttpPOST",
"target": "https://api.github.com",
"body": "{\n\"commandName\": \"MuteNotification\",\n\"threadId\": 398984630\n}"
}
],
"themeColor": "26292E"
}
]</script>