plots2 icon indicating copy to clipboard operation
plots2 copied to clipboard

'Follow' button redirect to "/subscriptions" from "/tags"

Open oorjitchowdhary opened this issue 7 years ago • 6 comments

Please describe the problem (or idea)

When you click on the follow button of a tag at /tags, you're subscribed to that tag but you're also redirected to your subscriptions page. I think the redirect is redundant, just the subscription would be good enough.

Another issue

When you go back to /tags after subscribing to a particular tag, the follow button isn't updated to following. It updates only when you refresh the page once again.

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

follow_tags_error

Please show us where to look

https://publiclab.org/tags

What's your PublicLab.org username?

oorjit_chowdhary

Browser, version, and operating system

Chrome, Windows 10


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

oorjitchowdhary avatar Dec 25 '18 19:12 oorjitchowdhary

@oorjitchowdhary I think after follow is clicked than it should be redirect to same page and doing so will resolve both the problems ?

Rishabh-Kumar-Bothra avatar Dec 26 '18 12:12 Rishabh-Kumar-Bothra

I tried rendering on same page after click but the tag is not subscribed then.

Rishabh-Kumar-Bothra avatar Dec 27 '18 11:12 Rishabh-Kumar-Bothra

@gauravano some guidance required to proceed as i tried to convert the following button to unfollow after click but if i tried to render it to same page then the tag is not subcribed

Rishabh-Kumar-Bothra avatar Dec 29 '18 15:12 Rishabh-Kumar-Bothra

@gauravano I think we can make it asynchronous. We could update the follow to following or unfollow without reloading and I think that would be very efficient. Any suggestions?

shubhscoder avatar Dec 30 '18 17:12 shubhscoder

Also, upon clicking unfollow, the user is redirected to unsubscribe/tag/tagname where he is supposed to click the folllowing button again to unfollow. But for a new user this can be quite hard and painful. What if we change the follow button to unfollow button then and there without any redirection when his request for subscription gets completed?

shubhscoder avatar Dec 30 '18 17:12 shubhscoder

Moved to #4565

oorjitchowdhary avatar Jan 08 '19 21:01 oorjitchowdhary