plots2 icon indicating copy to clipboard operation
plots2 copied to clipboard

Problems with parent powertag

Open publiclab-mimi opened this issue 7 years ago • 4 comments

I want to make this page (https://publiclab.org/wiki/student-led-community-science-in-the-classroom-a-curriculum) the parent page for this page (https://publiclab.org/notes/mimiss/05-07-2019/workshop-i-how-do-communities-respond-to-environmental-problems)

but I'm having trouble with the powertag.

I think it should be parent:student-led-community-science-in-the-classroom-a-curriculum but it doesn't link back to the wiki. Instead, using that parent tag gives me the following:

Screen Shot 2019-05-07 at 11 43 11 AM

Wondering if this is a powertag problem or a me problem

publiclab-mimi avatar May 07 '19 16:05 publiclab-mimi

Oh, is it possible that having /both/ series:_____ and parent:______ is causing one to show instead of the other? Could you try removing series:_____ for now to see if the parent tag alert shows up instead? Either way, we can look into the code for this section and fix this. Thanks!

On Tue, May 7, 2019 at 12:44 PM publiclab-mimi [email protected] wrote:

I want to make this page ( https://publiclab.org/wiki/student-led-community-science-in-the-classroom-a-curriculum) the parent page for this page ( https://publiclab.org/notes/mimiss/05-07-2019/workshop-i-how-do-communities-respond-to-environmental-problems )

but I'm having trouble with the powertag.

I think it should be parent:student-led-community-science-in-the-classroom-a-curriculum but it doesn't link back to the wiki. Instead, using that parent tag gives me the following:

[image: Screen Shot 2019-05-07 at 11 43 11 AM] https://user-images.githubusercontent.com/48802639/57317296-5fce5b80-70bd-11e9-8a58-5fbf037efa91.png

Wondering if this is a powertag problem or a me problem

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/publiclab/plots2/issues/5674, or mute the thread https://github.com/notifications/unsubscribe-auth/AAAF6J2CQT4TICNZ3KAF7HLPUGWVRANCNFSM4HLKTSFA .

jywarren avatar May 07 '19 18:05 jywarren

Unfortunately removing the series tag didn’t fix the parent page problem

On May 7, 2019, at 1:56 PM, Jeffrey Warren [email protected] wrote:

Oh, is it possible that having /both/ series:_____ and parent:______ is causing one to show instead of the other? Could you try removing series:_____ for now to see if the parent tag alert shows up instead? Either way, we can look into the code for this section and fix this. Thanks!

On Tue, May 7, 2019 at 12:44 PM publiclab-mimi [email protected] wrote:

I want to make this page ( https://publiclab.org/wiki/student-led-community-science-in-the-classroom-a-curriculum) the parent page for this page ( https://publiclab.org/notes/mimiss/05-07-2019/workshop-i-how-do-communities-respond-to-environmental-problems )

but I'm having trouble with the powertag.

I think it should be parent:student-led-community-science-in-the-classroom-a-curriculum but it doesn't link back to the wiki. Instead, using that parent tag gives me the following:

[image: Screen Shot 2019-05-07 at 11 43 11 AM] https://user-images.githubusercontent.com/48802639/57317296-5fce5b80-70bd-11e9-8a58-5fbf037efa91.png

Wondering if this is a powertag problem or a me problem

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/publiclab/plots2/issues/5674, or mute the thread https://github.com/notifications/unsubscribe-auth/AAAF6J2CQT4TICNZ3KAF7HLPUGWVRANCNFSM4HLKTSFA .

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/publiclab/plots2/issues/5674#issuecomment-490212636, or mute the thread https://github.com/notifications/unsubscribe-auth/ALUKWT6RTTLWFQ77ZYUDNPLPUHGE7ANCNFSM4HLKTSFA.

publiclab-mimi avatar May 07 '19 19:05 publiclab-mimi

Hi @publiclab-mimi - I looked at this again and finally figured out that i had not noticed the "child" page was a note, not a wiki. We don't currently have parent page "backlinks" implemented on notes. I can add this (it's a pretty easy addition to the code segment below) but do you think it should "stack" below the existing This is part of a series on student-community-science. alert box? Or should the "series" alert box block a parent one?

Thanks!

https://github.com/publiclab/plots2/blob/3a05ae2d547c71d5a7d173741586397947fcbc00/app/views/notes/show.html.erb#L4-L14

Here is the code from the wiki template that generates this alert. We can just copy it back over into the notes template:

https://github.com/publiclab/plots2/blob/3a05ae2d547c71d5a7d173741586397947fcbc00/app/views/wiki/_header.html.erb#L55-L60

jywarren avatar May 18 '21 20:05 jywarren

I think series would supersede parent but I'm open to whatever works best! -Mimi

On May 18, 2021, at 3:16 PM, Jeffrey Warren @.***> wrote:

Hi @publiclab-mimi https://github.com/publiclab-mimi - I looked at this again and finally figured out that i had not noticed the "child" page was a note, not a wiki. We don't currently have parent page "backlinks" implemented on notes. I can add this (it's a pretty easy addition to the code segment below) but do you think it should "stack" below the existing This is part of a series on student-community-science. alert box? Or should the "series" alert box block a parent one?

Thanks!

https://github.com/publiclab/plots2/blob/3a05ae2d547c71d5a7d173741586397947fcbc00/app/views/notes/show.html.erb#L4-L14 https://github.com/publiclab/plots2/blob/3a05ae2d547c71d5a7d173741586397947fcbc00/app/views/notes/show.html.erb#L4-L14 — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/publiclab/plots2/issues/5674#issuecomment-843525332, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALUKWTYTHOK3WEV3WJQQBMLTOLDKTANCNFSM4HLKTSFA.

publiclab-mimi avatar May 18 '21 20:05 publiclab-mimi