Skip to content
This repository has been archived by the owner on Aug 23, 2018. It is now read-only.

GOLDENG 92: Allow all users to view/edit snoovatars #72

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

helen-tang
Copy link

@helen-tang helen-tang commented Aug 14, 2018

This PR addresses: https://reddit.atlassian.net/browse/GOLDENG-92

  • r2: Profile Page option to “View / Edit My Snoovatar” for your own self will be available to all users, not just Premium users

Originally, users who were not gold users were not able to view their snoovatars. We now want to open that up to all users.

UPDATE
This PR also removes this dialogue from the Snoovatar creation page as it's no longer relevant:
screen shot 2018-08-21 at 9 40 36 am

@@ -46,7 +46,7 @@ def GET_partners(self):
vuser=VExistingUname("username"),
)
def GET_snoovatar(self, vuser):
if not vuser or vuser._deleted or not vuser.gold:
if not vuser or vuser._deleted:
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should we put this behind a feature flag?

@@ -46,7 +46,7 @@ def GET_partners(self):
vuser=VExistingUname("username"),
)
def GET_snoovatar(self, vuser):
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are a couple more checks that affect snoovatars due to the VGold validator on some of the endpoints below

VGold

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@MelissaCole
Copy link
Contributor

The r2 link is still hidden behind user.gold (in reddit-public)

@MelissaCole
Copy link
Contributor

💅 A few things

@jonowar
Copy link

jonowar commented Aug 15, 2018

this is what Melissa was talking about: https://github.com/reddit/reddit-public/blob/master/r2/r2/templates/profilebar.html#L117-L129
This button:
image

@helen-tang
Copy link
Author

@jonowar @MelissaCole Yep! I have a separate PR incoming for R2! Just got caught up in some Snoosweek things so I haven't pushed it up.

@jonowar
Copy link

jonowar commented Aug 15, 2018

💅

@helen-tang helen-tang changed the title Allow all users to view/edit snoovatars GOLDENG 92: Allow all users to view/edit snoovatars Aug 21, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants