taitus
6e2063310f
Add empty recommended messages text.
2017-08-04 13:27:03 +02:00
taitus
edbbe6174b
Refactor specs because now recommendations only return results asociated to user interests
2017-08-03 00:23:06 +02:00
rgarcia
43b636de09
avoids postgres exception regarding subquery limits
...
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
2017-08-02 21:34:40 +02:00
rgarcia
113d8a0f28
minor refactoring for proposal recommendations
2017-08-02 20:27:20 +02:00
taitus
9ef6478e67
Problem with disinct
2017-08-02 18:41:00 +02:00
taitus
b412f8a88c
Avoid duplicate proposals with group on query. Avoid show successful proposals on recommendations.
2017-08-02 14:31:02 +02:00
taitus
7afacf3a2f
Force distinct to recommendations methods. Sort by recommendations on home carousel.
2017-08-02 12:52:55 +02:00
taitus
28aaa584e9
Fix proposal refactor.
2017-08-02 12:32:42 +02:00
taitus
52e3610876
Minimum required by consul core. Remove comments. Fix texts. Decrease size of methods.
2017-08-02 00:15:03 +02:00
taitus
33e13dbfd0
Add missing feature and model specs on proposal and debates.
2017-08-01 18:00:02 +02:00
taitus
11395e0b27
Remove old code. Add whitespaces.
2017-08-01 16:48:42 +02:00
taitus
5f1bdb2f94
Rename recommendeds to recommendations
2017-08-01 16:31:45 +02:00
taitus
dc5584086a
Styles for filters. Refactor commentable action.
2017-08-01 16:31:45 +02:00
Alessandro Cuoghi
6e12f2cddf
Added style buttons (All recommended debates/proposal). Added translations ES/EN.
2017-08-01 16:31:44 +02:00
taitus
fe3bb7a389
Add recommended tab on proposals and debates index.
2017-08-01 16:31:44 +02:00
taitus
01a41b4706
Add Settings flag recommendations
2017-08-01 16:28:01 +02:00
taitus
c6a9ffc19c
Remove recommended investments
2017-08-01 16:28:01 +02:00
Alessandro Cuoghi
ede7b9b135
Changed class into index spec.
2017-08-01 16:28:01 +02:00
taitus
b6d5be3df0
Rename dynamic display to carousel size
2017-08-01 16:28:01 +02:00
Alessandro Cuoghi
c913687be5
Moved below the header the recomended. Changed orbit-bullets diameter.Align text on the left. Used all width space for each container of the recomended.
2017-08-01 16:28:01 +02:00
taitus
ee0a10855d
Calculate carousel size.
2017-08-01 16:28:01 +02:00
taitus
9aeb5eb758
Always display results when user has interests.
2017-08-01 16:28:01 +02:00
Senén Rodero Rodríguez
bb4e4dc084
Fix almost all broken specs
2017-08-01 16:28:01 +02:00
Senén Rodero Rodríguez
fd9bec4d1f
Remove uneeded files and rename.
2017-08-01 16:28:01 +02:00
taitus
a188105910
Add specs for check display images on recommended_carousel partial.
2017-08-01 16:28:01 +02:00
taitus
fd8e2c1503
Allow to display images on carousel partial.
2017-08-01 16:28:01 +02:00
taitus
f8c6422b30
Testing links on carousel. Improve tests descripions
2017-08-01 16:28:01 +02:00
Senén Rodero Rodríguez
3068224a50
Add scope to followable concern to get all followable object followed by given user.
2017-08-01 16:28:01 +02:00
taitus
522c4e2cfc
Regroup all carousels on 1 partial. Rename partial
2017-08-01 16:28:01 +02:00
taitus
56511a154a
Add feature and model specs.
2017-08-01 16:28:01 +02:00
taitus
36c76996e3
Display proposals and debates recommended when user have not interests.
2017-08-01 16:28:01 +02:00
taitus
e82e8f5787
Do not show proposals and investments as recommended when already followed
2017-08-01 16:28:01 +02:00
Alessandro Cuoghi
a4e12ea801
Added style to recommended section. Added orbit bullet. For each title of the recommended added truncate horizontal with css. Added link for each recommended. Adjusted for responsive. Passed scss-lint.
2017-08-01 16:28:00 +02:00
taitus
ff6471982c
Add recommended debates, proposals and investement to Home page.
2017-08-01 15:48:21 +02:00
Alessandro Cuoghi
3b2ed08b54
Add recommended partials.
2017-08-01 15:48:21 +02:00
BertoCQ
22e244c85c
Merge pull request #1772 from consul/legislation-comments
...
Legislation comments
2017-08-01 14:08:42 +02:00
decabeza
c796c5be2d
Removes unnecessary margin-bottom
2017-08-01 12:56:59 +02:00
decabeza
4eb3337282
removes text-decoration on icons
2017-08-01 12:56:04 +02:00
BertoCQ
cf3dbc8149
Merge pull request #1769 from rockandror/empty-user-interests
...
Add empty interests list message.
2017-07-26 18:31:14 +02:00
Senén Rodero Rodríguez
3370896ead
Add empty interests list message.
2017-07-26 17:48:47 +02:00
Bertocq
d35732552b
Remove no longer used spanish translations
2017-07-26 15:07:36 +02:00
BertoCQ
7b780247c6
Merge pull request #1768 from consul/rubocop/fix
...
Rubocop autocorrections 🤖
2017-07-25 19:39:43 +02:00
Bertocq
7d406cae76
Rubocop autocorrections
2017-07-25 13:01:03 +02:00
BertoCQ
58331e6425
Merge pull request #1766 from consul/foundation-settings
...
Foundation settings
2017-07-24 19:23:53 +02:00
decabeza
7d6b8e49fe
moves foundation settings to consul settings scss
2017-07-24 17:13:41 +02:00
BertoCQ
13871b823b
Merge pull request #1750 from rockandror/followable-user-activity
...
User page: new following section
2017-07-24 13:10:09 +02:00
BertoCQ
fa940b0687
Merge pull request #1765 from consul/admin-menu
...
Admin dropdown
2017-07-24 12:42:35 +02:00
decabeza
39b6834a61
fixes admin dropdown on admin section
2017-07-24 11:15:41 +02:00
BertoCQ
7793673231
Merge pull request #1764 from consul/feature/1739#remove_polls_manual_recounts
...
Feature/1739#remove polls manual recounts
2017-07-24 11:10:46 +02:00
Raimond Garcia
e7b312bfb0
Merge pull request #1763 from amiedes/1754-api-docs
...
API docs and sample Ruby scripts
2017-07-24 10:55:41 +02:00