-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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 #1824
User recomendations #1824
Conversation
…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.
… size of methods.
…proposals on recommendations.
We have apparently reached a postgres limit for the number of attributes we query. Using ids instead of the proposal objects seems to fix it Using `Array` and `map` instead of `pluck`, because the proposals attribute can be a single object
…ted to user interests
…round when user recomendations is actived
Hey @taitus ! Sorry for the review delay 🙇 we're a bit tight on time and catching back with pending stuff. I've just solved the merge conflicts that this PR had and will keep and eye on the travis build (and check the huge code changes as well as soon as possible 😄 ) Your contributions are much appreciated as always!! Thanks ❤️ |
Hi @agileontheweb , can you take a look to a little error on home user recommendations? Check proposals recomendation carousel bullets on screenshot below. I also changed image version from :thumb to :medium (300pxx300px) on recommendations, check this feature on responsive versions please 🙏 |
Hi @Senen , i tested it for Safari, Firefox, Chrome, Opera. I fixed only two style. Nothing special. Before ↓ Desktop After ↓ |
Excellent! |
…ql-initialization [Upstream] Initialize graphql after application initialization
Where
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.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
Screenshots
Partial recommendeds and link (1, 2)
Admin Panel (3)
Recommendations filter (4)
Test
Deployment
Remember we added next settings:
Setting['feature.user.recommendations'] = nil
Setting.create(key: 'feature.user.recommendations', value: "true")