Commit Graph

9013 Commits

Author SHA1 Message Date
taitus
6e2063310f Add empty recommended messages text. 2017-08-04 13:27:03 +02:00
BertoCQ
411fb96ec7 Merge pull request #1770 from consul/back-link
Back link
2017-08-04 01:54:12 +02:00
Bertocq
5ede222346 Remove spending proposal specs, deprecated feature with flaky tests 2017-08-03 14:03:19 +02:00
decabeza
095f8a704d Removes unnecessary margin-bottom 2017-08-03 14:03:19 +02:00
decabeza
6814f0f847 removes text-decoration on icons 2017-08-03 14:03:19 +02:00
Senén Rodero Rodríguez
1dea11ca8b Add empty interests list message. 2017-08-03 14:03:19 +02:00
Bertocq
9616fd85ae Remove no longer used spanish translations 2017-08-03 14:03:19 +02:00
BertoCQ
844c47fcb6 Merge pull request #1774 from consul/user-activity
User activity
2017-08-03 14:02:02 +02:00
decabeza
b9eb6867d7 updates tags on specs 2017-08-03 10:14:45 +02:00
decabeza
a18d86e8a7 replaces html to content_tag on users helper 2017-08-03 10:14:45 +02:00
decabeza
b2b15d1fd7 improves deleted elements on user activity 2017-08-03 10:14:45 +02:00
BertoCQ
fc87d70bf8 Merge pull request #1773 from consul/skip_spending_tests
Skip spending proposal specs
2017-08-03 10:13:57 +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
Bertocq
ef81c277a0 Remove spending proposal specs, deprecated feature with flaky tests 2017-08-02 12:08:50 +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