Plots2: 'click to unfollow' is not working in /tag section

Created on 26 Dec 2018  Â·  13Comments  Â·  Source: publiclab/plots2

Please describe the problem (or idea)

What happened just before the problem occurred? Or what problem could this idea solve?

image

here we are not able to unfollow the tags direct which we are following and it is redirected to this page,
but we should be able to unfollow directly from /tags

image

Please show us where to look

https://publiclab.org/tags

What's your PublicLab.org username?

geekychaser

This can help us diagnose the issue:

Browser, version, and operating system

Many bugs are related to these -- please help us track it down and reproduce what you're seeing!


Thank you!

Your help makes Public Lab better! We deeply appreciate your helping refine and improve this site.

To learn how to write really great issues, which increases the chances they'll be resolved, see:

https://publiclab.org/wiki/developers#Contributing+for+non-coders

JavaScript Ruby hackoctoberfest help wanted

All 13 comments

@jywarren @SidharthBansal can i give it a try?

Hi @geekychaser .. I don't find any unfollow button on the page. I think the following button was meant to function like this...
However, I think we can change this. So instead of the following button we show unfollow and its function would be to remove that subscription

This seems good.

@oorjitchowdhary on hovering over the following its show click here to unfollow.
image

so on clicking it button should turn to follow again rather than redirecting to other page where we need to unfollow again

I just went through the issue on PL. You're right.
The following button should be firstly renamed to unfollow.
Then we see, if the button is clicked you're redirected to /unsubscribe/tag/tag_name. I think this where the problem is.
If you click unfollow on the /tags page or /subscriptions, you're redirected to some URL like subscriptions?_=1545829506

so on clicking it button should turn to follow again rather than redirecting to other page where we need to unfollow again

When you've successfully unsubscribed to a tag. You go to /tags again and then you'd have to refresh it once again to see it the button change to follow.

I think this page is missing AJAX. Sorry if I'm wrong

yes exactly this is the issue, and then you there again need to click on this button to this button to unfollow
image

Hi @geekychaser @oorjitchowdhary do you guys like to work on this issue together?

I think we need to set the data-method to delete in the a tag here!

@gauravano I think both of them have abandoned this task.

Hey @SidharthBansal , if no one is working on this issue, can I give it a try?

I think you can take this

On Tue, 8 Oct 2019, 7:51 am Sneha Prasad, notifications@github.com wrote:

Hey @SidharthBansal https://github.com/SidharthBansal , if no one is
working on this issue, can I give it a try?

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/publiclab/plots2/issues/4406?email_source=notifications&email_token=AFAAEQ5WNT2MIX7GAC5K6UTQNPVEJA5CNFSM4GMG2JO2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEASNBLA#issuecomment-539283628,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFAAEQY3PHDF67NGRXSV3ODQNPVEJANCNFSM4GMG2JOQ
.

Hi @gauravano @geekychasser, I would like to work on this issue. Could you assign it to me? Thanks.

Hi @renugasaraswathy, please go ahead. Thanks!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jywarren picture jywarren  Â·  3Comments

grvsachdeva picture grvsachdeva  Â·  3Comments

first-timers[bot] picture first-timers[bot]  Â·  3Comments

grvsachdeva picture grvsachdeva  Â·  3Comments

keshavsethi picture keshavsethi  Â·  3Comments