Juan Salvador Pérez García
305a0059bd
Addresses @iacoco comments
2018-07-17 17:50:47 +02:00
Juan Salvador Pérez García
29cf7d9f46
Addressed preview comments
2018-07-17 17:50:47 +02:00
Juan Salvador Pérez García
a05e5c003f
Fixed failing tests
2018-07-17 17:50:46 +02:00
Juan Salvador Pérez García
fc57bad1cd
Fixes #155
2018-07-17 17:50:05 +02:00
Juan Salvador Pérez García
fc9f14568f
Fixes #154
...
Remove image and send notification moved to proposal dashboard
2018-07-17 17:50:05 +02:00
Juan Salvador Pérez García
e4e0cb65de
Implements #142
...
Dashboard actions can be proposed actions or resources
2018-07-17 17:50:05 +02:00
Juan Salvador Pérez García
ff03db3c14
Fixes #153
...
Preview proposal after its creation
2018-07-17 17:49:42 +02:00
Juan Salvador Pérez García
1464bddfa8
Fixes #134
...
Adds an administration interface for the proposal dashboard actions.
2018-07-17 17:48:46 +02:00
Juan Salvador Pérez García
d9f85bd756
Added draft label to public view of draft proposals.
2018-07-17 17:47:40 +02:00
Juan Salvador Pérez García
304ae23c81
Fixes #137
...
Edit button moved to dashboard.
Added button that publishes the proposal.
2018-07-17 17:47:40 +02:00
Juan Salvador Pérez García
212c088d35
Implements #144
...
Creates the basic layout for the dashboard
2018-07-17 17:47:40 +02:00
Juan Salvador Pérez García
77dd60427d
Implements story #136
...
Adds draft state for proposals
2018-07-17 17:46:54 +02:00
Angel Perez
31c16406c0
Move disable recommendations permissions to Abilities::Common model
2018-07-15 21:28:58 -04:00
Angel Perez
a143fa447b
Ensure recommendations are only shown when enabled
2018-07-15 21:28:58 -04:00
Angel Perez
463c753880
Recommendations are automatically disabled if dismissed by user
2018-07-15 21:28:58 -04:00
decabeza
137078054e
Fixes padding bottom on recommended index
2018-07-15 21:28:58 -04:00
decabeza
8cbc709601
Fixes margin top on recommended index
2018-07-15 21:28:58 -04:00
Angel Perez
e32387ed5b
Improve CSS styles for recommendations partial
2018-07-15 21:28:58 -04:00
Angel Perez
054bc1397b
Wrap recommendations settings checkboxes with label helper to improve A11y
2018-07-15 21:28:58 -04:00
Angel Perez
251441e109
Users can now hide recommendations
2018-07-15 21:28:57 -04:00
Angel Perez
a58f6a2662
Enable 'Recommended proposals' setting for users
2018-07-15 21:28:57 -04:00
Angel Perez
522c206f6d
Enable 'Recommended debates' setting for users
2018-07-15 21:28:57 -04:00
decabeza
bdb3f30e40
Adds recommendations on proposals index
2018-07-15 21:28:57 -04:00
decabeza
36a5ff39b8
Adds recommendations on debates index
2018-07-15 21:28:57 -04:00
decabeza
ecb0041b7f
Adds recommended index partial and styles
2018-07-15 21:28:56 -04:00
Alberto
38916deb0b
Merge pull request #2765 from consul/budgets-polls-ui
...
Polls UI
2018-07-13 20:01:40 +02:00
decabeza
bbaec57c8a
Adds message in budget investment show if project is winner
2018-07-13 18:37:16 +02:00
decabeza
1116340f99
Removes participate in other polls button
2018-07-13 18:27:32 +02:00
iagirre
0d9da5398b
Fix banners in user pages
...
Banners were not been shown in certain pages; now
they are.
Spec to check if the banner is been shown correctly
added. Before it was in admins specs, now it has it's
own spec out of admins folder.
2018-07-12 10:17:25 -04:00
iagirre
82cb8d4c52
Changes suggested in PR:
...
* Delete all things related to banner images and styles (in code)
* Add a new test to check that the banner is showing correctly
* Update the specs accordingly to match the changes
Update dev_seed to set a random background_color and a font_color for banners (and remove everything about image and style)
Add a rake task to migrate the banner style to backgroun_color and font_color (so that the banners have the same colors than before)
2018-07-12 10:17:24 -04:00
iagirre
58caf167f6
Make color-pickers smaller
2018-07-12 10:16:47 -04:00
iagirre
3690cae458
Apply banner style to the new banners
...
Banner sections can be saved (one banner can appear in several sections)
If the hex color is changed in the textfield, the color of the color picker changes.
2018-07-12 10:16:47 -04:00
iagirre
6d6da8affc
Add form fields to set the colours and the sections for the banner
...
Add migrations to store the information in the database
2018-07-12 10:16:47 -04:00
Raimond Garcia
3e4d095e6f
Merge pull request #2719 from javierv/2718-fix_flaky_milestone_spec
...
Fix flaky spec: Budget Investments Show milestones
2018-07-12 16:07:48 +02:00
Raimond Garcia
e370069804
Merge pull request #2708 from javierv/fix_suggestions_keyup
...
Fix suggestions being requested with every keystroke
2018-07-12 16:05:09 +02:00
Raimond Garcia
a3a5971cbf
Merge pull request #2696 from javierv/2573-fix_flaky_budgets_spec
...
Fix flaky spec: Admin budgets Manage groups and headings Create group
2018-07-12 16:04:06 +02:00
Raimond Garcia
eb13c83a95
Merge pull request #2695 from javierv/2446_and_2519-fix_flaky_emails_spec
...
Fix flaky specs: Emails Budgets Selected/Unselected investment
2018-07-12 16:02:28 +02:00
Alberto
c5c611837d
Merge pull request #2732 from consul/legislation-help-gif
...
Legislation help gif
2018-07-11 17:44:12 +02:00
decabeza
334e567d0d
Adds generic annotator help gif
2018-07-11 14:37:27 +02:00
Alberto
b8396135e9
Merge pull request #2752 from consul/following-hidden-proposals
...
Deal gracefully with hidden followable in my activity
2018-07-10 18:44:34 +02:00
rgarcia
88cde6d018
Deal gracefully with hidden followable in my activity
...
We were seeing an exception when a user was following a proposal and
that proposal becomes hidden
With this commit we are skipping this proposals and hopefully fixing
this exception
We are also adjusting the count of followed proposals, without
including hidden proposals. It might be cleaner, to remove a `Follow`
when its `Followable` becomes hidden. But then we should probably
activate the `Follow` again if the `Followable` becomes non-hidden…
For now this commit should suffice 😌
2018-07-10 17:50:51 +02:00
rgarcia
f670019325
Deal gracefully with recommendations of hidden proposals
...
We were seeing an exceptions in the home page when displaying
recommendations. This was due to trying to load tags of hidden proposals
With this commit we are skipping proposals that that have been hidden,
which will hopefully solve this exception
2018-07-10 17:47:28 +02:00
decabeza
9ecb4f4f22
Fixes heading name on budgets index view
2018-07-05 18:14:15 +02:00
decabeza
2b958de992
Fixes valuation budget investments ui
2018-07-05 18:14:08 +02:00
decabeza
3dc469ad2d
Adss image height to recommendations on homepage
2018-07-05 18:13:45 +02:00
decabeza
a6ce928bc6
Fixes images size on help pages
2018-07-05 18:13:38 +02:00
decabeza
6f4f161076
Adds help gif on legislation processes with texts
2018-07-05 18:10:06 +02:00
Alberto
95f66aefe6
Merge pull request #2726 from consul/officing-no-vote
...
Officing not to vote
2018-07-05 17:07:10 +02:00
decabeza
2f922e1adb
Adds button to officing voters if person decided not to vote
2018-07-05 14:12:22 +02:00
Alberto
e201de6ac9
Merge pull request #2725 from consul/officer-shifts
...
Officing sidebar menu
2018-07-05 11:08:42 +02:00