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

User recomendations #1776

Closed
wants to merge 40 commits into from

Conversation

taitus
Copy link
Member

@taitus taitus commented Aug 4, 2017

What

Show recommended proposals and debates to logged in users based in their interests.

How

Admin
Allow recommended module activation/deactivation on global settings form admin panel. Added new Setting key “feature.user.recommendations” to achieve this. Maybe some forks do not need this feature.

FrontEnd

  1. Display user recommendations (Debates and Proposals) on Home page only when user is logged
    1.a Use user interests if any (tags from followed objects) to get best user recommentations sorted by votes count
    1.b Discard already followed object from recommendations
  2. Add link to home recommendations to go to filtered index
  3. Add new settings "feature.user.recommendations"
  4. Add new “Recommended” search filter to Proposals and Debates index pages.

Screenshots

  • Partial recommendeds and link (1, 2)
    Home with recommendations

  • Admin Panel (3)
    Global settings with feature recommendations

  • Recommendations filter (4)
    New filter on Debate index

Test

  • Check display recommendations on Home page (by user logged, admin settings and results)
  • Check order by votes on recommendations methods (Proposal and Debate)
  • Check recommendations results are related with user interests
  • Check recommendation filter is compatible with search by terms

Deployment

Remember we added next settings:

  • seeds: Setting['feature.user.recommendations'] = nil
  • dev_seeds: Setting.create(key: 'feature.user.recommendations', value: "true")

agileontheweb and others added 30 commits August 1, 2017 15:48
…e of the recommended added truncate horizontal with css. Added link for each recommended. Adjusted for responsive. Passed scss-lint.
….Align text on the left. Used all width space for each container of the recomended.
@voodoorai2000
Copy link
Member

Some UX and technical improvements coming up for this PR.
Closing until ready, thank you @taitus!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants