"response" post links no longer show
Some posts on the site are marked as a "response" to another post, using the tag response:______ where _____ is a node id. Like this one:
https://publiclab.org/notes/warren/08-30-2018/web-working-group-update-23-august-2018
See the tag?

The code driving this is here, but it's not working!
https://github.com/publiclab/plots2/blob/e2818af2e81338f34ebe2684b3c183531a290670/app/views/sidebar/_related.html.erb#L38-L45
We could use some help figuring out why. Maybe try running Node.last.responses in the rails console? Or looking at the code for node.responses?
https://github.com/publiclab/plots2/blob/e2818af2e81338f34ebe2684b3c183531a290670/app/models/node.rb#L346-L350
This could probably use a unit test to ensure it doesn't break again!
@jywarren So, just to confirm that I got this right...The idea is that when an author posts a note he manually adds a tag to his note in the form response:xxxxxx, where xxxxx is the id of another note. Then, in his note it should appear a sidebar with the legend this is a response to and the tag linking to the responded note?.
The problem being that in this particular note the sidebar with the tag linking to the responded note is not being displayed?
that's right -and it's not just the one note, but that sidebar section that's coded seems never to be activated anymore -- no posts show a list of responses.
Eventually we want to add more automated systems for adding these tags! but there are quite a few already tagged manually :-)
On Sat, Sep 1, 2018 at 8:44 AM Gabriel [email protected] wrote:
@jywarren https://github.com/jywarren So, just to confirm that I got this right...The idea is that when an author posts a note he manually adds a tag to his note in the form response:xxxxxx, where xxxxx is the id of another note. Then, in his note it should appear a sidebar with the legend this is a response to and the tag linking to the responded note?.
The problem being that in this particular note https://publiclab.org/notes/warren/08-30-2018/web-working-group-update-23-august-2018 the sidebar with the tag linking to the responded answer is not being displayed?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/publiclab/plots2/issues/3279#issuecomment-417857188, or mute the thread https://github.com/notifications/unsubscribe-auth/AABfJwcNEKbLY3MyhYReE_6ZaKIdT1-Bks5uWoEFgaJpZM4WVeSA .
@jywarren I think this is working now? Do correct me if I am missing something
