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

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

Open
helen-tang wants to merge 2 commits intomasterfrom
snoovatars
Open

GOLDENG 92: Allow all users to view/edit snoovatars#72
helen-tang wants to merge 2 commits intomasterfrom
snoovatars

Conversation

@helen-tang
Copy link
Copy Markdown

@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

)
def GET_snoovatar(self, vuser):
if not vuser or vuser._deleted or not vuser.gold:
if not vuser or vuser._deleted:
Copy link
Copy Markdown

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
Copy Markdown
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
Copy Markdown

Choose a reason for hiding this comment

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

@MelissaCole
Copy link
Copy Markdown
Contributor

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

@MelissaCole
Copy link
Copy Markdown
Contributor

💅 A few things

@jonowar
Copy link
Copy Markdown

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
Copy Markdown
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
Copy Markdown

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