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
1872 New Friend Links Insight. #2044
1872 New Friend Links Insight. #2044
Conversation
TODO: * Redesign OSP admin views for plugins other than Facebook and Twitter * Delete old dashboard and menu interfaces, classes, registrars, tests * Add missing test coverage * Clean up code
…note in the footer
- URL-encode network username and network on insight headline links - Show correct network icon for each insight - Don't replace the colon in insight headlines - Improve test coverage Closes ThinkUpLLC#1809
When a non-logged-in user accesses an AuthController, redirect to the login page with a redirect GET parameter. On login, redirect the user to that original URL.
Add Smarty plugin to custom URL encode network usernames with spaces and accented characters
$insight->slug = $slug; | ||
$insight->instance_id = $instance->id; | ||
$insight->date = $this->insight_date; | ||
$person_text = count($users) > 1 ? 'people' : 'person'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If there's only one person rather than multiple people, the headline should reference that specific person. Could be something like, "Did you see %person's website?" (And then be sure to set $insight->header_image to their avatar.)
A few comments on how copy could be improved are inline in the code. Overall, this is really good and a very useful insight! |
…onthly-insights Bonus magic day for monthly insights
…by limiting number of posts returned Plus some code cleanup
Instead of showing every amplifier today as it’s detected, show the single top amplified post from yesterday.
…heck for dupes to avoid repetition
…ogged out on thinkup.com
…riends bio and encourages user to follow them to get to know new friend.
16b374f
to
461d9f8
Compare
Overview:
This insight checks to see if a user has new friends/followers/followees from the last week with links in their bios. If this criteria is met these links are displayed with their profile pictures in a list. The copy and the headline encourage the user to follow these links to get to know the person. The max number of users displayed is 3.