Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable a verified icon for the following list #922

Closed
6 tasks done
zavreb opened this issue Jun 21, 2017 · 28 comments
Closed
6 tasks done

Enable a verified icon for the following list #922

zavreb opened this issue Jun 21, 2017 · 28 comments
Assignees
Labels

Comments

@zavreb
Copy link

zavreb commented Jun 21, 2017

GOAL: We want a verified icon for the accounts below:

REQs:

  1. Please add the verified icon for the following accounts (cc: @bengtan)
  • @scurry
  • @tinyrobot
  • @Discover_UrCity
  • @explore_la
  • @thescenicroute
  • @ThereNBackAgain
  • @beckytravels
  1. Please apply to the following screens:

Verified Account: User Profile

image

Verified Account: Followers Screen

image

Per previous confusion: There's no relationship between a verified account and the accounts that are being auto-followed.

@zavreb zavreb added this to the Sprint #12.1 milestone Jun 21, 2017
@zavreb zavreb modified the milestones: Sprint #13.1, Sprint #12.1 | Aug 04 - Aug 17 Aug 8, 2017
@hippware hippware deleted a comment from didilee Aug 16, 2017
@zavreb zavreb changed the title DRAFT - Enable a tinyrobot staff icon for staff accounts on TR Enable a verified accounts icon for Verified Accounts on tinyrobot Aug 16, 2017
@zavreb zavreb changed the title Enable a verified accounts icon for Verified Accounts on tinyrobot Enable a verified accounts icon for Group: Verified Accounts on tinyrobot Aug 16, 2017
@zavreb zavreb changed the title Enable a verified accounts icon for Group: Verified Accounts on tinyrobot Enable a verified icon for Group: Auto-Follow Accounts on tinyrobot Aug 17, 2017
@zavreb
Copy link
Author

zavreb commented Aug 17, 2017

Needs more discussion per @thescurry

Estimate is based on server side flag.

@zavreb
Copy link
Author

zavreb commented Aug 29, 2017

@thescurry is fine with this ticket.

@southerneer
Copy link
Contributor

Still waiting on the back-end piece as far as I know. Right @bengtan ?

@zavreb zavreb changed the title Enable a verified icon for Group: Auto-Follow Accounts on tinyrobot Enable a verified icon for the following list Aug 31, 2017
@bengtan
Copy link
Contributor

bengtan commented Aug 31, 2017

@southerneer:

Yes, it's waiting on ...

Assign the role 'verified' to some accounts
hippware/wocky#912

but that's just a configuration change. It doesn't require a deploy so it should be implemented within the next 24 hours or so.

Keep in mind that, for testing purposes on Staging, I've only asked @bernardd to add verified to scurry, becky, and miranda. (See hippware/wocky#912)

If we want to mark any other Staging users as verified, please post to the server side ticket 912.


The documentation is https://github.com/hippware/tr-wiki/wiki/User#roles.

Effectively, you should be expecting this in the user xmpp element:

(from https://github.com/hippware/tr-wiki/wiki/User#get-simple-information)

        <field var='roles' type='roles'>
            <roles>
                <role>verified</role>
            </roles>
        </field>

@bengtan
Copy link
Contributor

bengtan commented Aug 31, 2017

@zavreb,

@bernardd says there's no user named therenbackagain on Production.

@bengtan
Copy link
Contributor

bengtan commented Aug 31, 2017

bernardd says there's no user named therenbackagain on Production.

False alarm. He found it.

@bernardd
Copy link

Capitalisation matters, people :)

@bengtan
Copy link
Contributor

bengtan commented Sep 12, 2017

Uh, in case there was a loss in transmission ... the server side configuration for this is done and this ticket is no longer blocked.

(cc @zavreb, @southerneer)

@zavreb
Copy link
Author

zavreb commented Oct 17, 2017

checking in...@southerneer this isn't based on user handle right?

@bengtan
Copy link
Contributor

bengtan commented Oct 17, 2017

It's not.

The 'verified' field is injected by the server and the server uses the user id to decide whether to inject it.

In other words, it's based on the user id, not the handle. A user can change the user handle/username and it will have no effect on the badge.

@bengtan
Copy link
Contributor

bengtan commented Oct 17, 2017

@southerneer:

@bernardd has modified a user on staging so it was two roles. The account is a4b48f7e-8f21-11e6-b86d-0e600a8611a9 (at-becky) on Staging.

@zavreb
Copy link
Author

zavreb commented Oct 20, 2017

LGTM. Verified on Staging 1.56.0. Wrote a spinoff #1432 to adjust the logic a bit (for future's sake)

@irfirl
Copy link
Contributor

irfirl commented Oct 20, 2017

Verified on Staging

@zavreb
Copy link
Author

zavreb commented Oct 20, 2017

Sending this back for rework.

User only sees the verified icon when they tap into that verified user's profile. Please enable this without a user having to tap into a verified User Profile. While QAing, I thought the fix was only made for user: becky and didn't realize scurry had a verified icon...

@zavreb zavreb added the REWORK label Oct 20, 2017
@southerneer
Copy link
Contributor

southerneer commented Oct 20, 2017

This may require a logout/login to see the verified icon everywhere since some of that data is cached. The reason you see it when clicking into their profile is because the info is pulled fresh.

Nm, I see that behavior too with a fresh install.

southerneer pushed a commit that referenced this issue Oct 20, 2017
@southerneer
Copy link
Contributor

Codepushed to "Staging". This should get applied in the background automatically. Just open the app once, wait for a minute, kill, reload. If it works then you'll see "1.56.0-922" as the version number in the bottom left of the side menu.

@irfirl
Copy link
Contributor

irfirl commented Oct 20, 2017

Verified on Codepush

@zavreb
Copy link
Author

zavreb commented Oct 23, 2017

Verified on Codepush.1.56.0-922

@mstidham
Copy link

Verified on Staging

1 similar comment
@irfirl
Copy link
Contributor

irfirl commented Oct 27, 2017

Verified on Staging

@zavreb
Copy link
Author

zavreb commented Oct 27, 2017

Verified on Staging. Pushing ticket to "Verify on Prod"

@mstidham
Copy link

mstidham commented Nov 1, 2017

@Discover_UrCity, @tinyrobot, @explore_la, @ThereNBackAgain do not have the verified icon. I'm also assuming that @becky is @beckytravels.

@zavreb
Copy link
Author

zavreb commented Nov 1, 2017

@mstidham yes, it's based on user id so even if we change our usernames we should still have verified icons.

@zavreb
Copy link
Author

zavreb commented Nov 1, 2017

For the rest of the accounts, it's the whole, you have to tap into them to see the icon... I'm sure there was a ticket to fix this...

mm, can't find it...

@mstidham
Copy link

mstidham commented Nov 2, 2017

Need to verify this on Prod

@zavreb
Copy link
Author

zavreb commented Nov 2, 2017

Need to verify this on Prod. Can't verify on staging.

@mstidham
Copy link

mstidham commented Nov 6, 2017

Verified on Prod

@zavreb
Copy link
Author

zavreb commented Nov 9, 2017

Verified on Prod. Closing ticket.

@zavreb zavreb closed this as completed Nov 9, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants