Commit Graph

5383 Commits

Author SHA1 Message Date
Juan Salvador Pérez García
0a790b4479 Fixes #191
Shows goals in progress graphic
2018-07-17 17:59:11 +02:00
Juan Salvador Pérez García
4378331ece Fixes #188
shows draft state in proposals highlighted.
2018-07-17 17:59:11 +02:00
Juan Salvador Pérez García
f7133ee04d Implements #186
Progress view shows the actions according to the mockups.
2018-07-17 17:59:11 +02:00
Juan Salvador Pérez García
42dd4679d3 Implements #184
Added edit button to poll card.

Usability enhancements added to poll form.
2018-07-17 17:59:11 +02:00
Juan Salvador Pérez García
caffd97cc8 Implements #182
Implements 182. resources are shown as cards in dashboard progress view.
Implements #182

Implements 182. resources are shown as cards in dashboard progress view.
2018-07-17 17:59:11 +02:00
Juan Salvador Pérez García
9f0ca0cec7 Fixes #180
Help text added for  actions form.
Fixed invialid redirection in dashboard
2018-07-17 17:59:11 +02:00
Juan Salvador Pérez García
f5e5c62242 Changes in public view for porposal polls
Back to polls has dissapeared. A link 'Back to proposal' will be shown
instead.

The button that invites the user to take part in other polls has been
removed.

Stats will flagged as disabled when a poll for a proposal is created.
2018-07-17 17:59:11 +02:00
Juan Salvador Pérez García
d6013d15ab Fixed typo
Fixed typo in _poll.html.erb partial causing a translation not being
found.
2018-07-17 17:58:22 +02:00
Juan Salvador Pérez García
889a15a9bf Poll view redesigned for the dashboard.
Poll view has been redesigned. Now polls are shown like cards. There is
a link that allow sharing the poll.
2018-07-17 17:58:22 +02:00
Juan Salvador Pérez García
5e71a21975 Removed fields from poll create form.
Poll form won't include geozones related attributes, resume nor image.
2018-07-17 17:58:22 +02:00
Juan Salvador Pérez García
3c3f60dfcc Implements #173
Public view for suggested actions as well as resources has been
completelly redesigned.

Private side for this feature has been adapted as well in order to meet
the requirements.
2018-07-17 17:58:22 +02:00
Juan Salvador Pérez García
53baf983b5 Implements #169
Community counter now shows the community members. For performance
reasons this information is refresed once per hour.
2018-07-17 17:57:30 +02:00
Juan Salvador Pérez García
921d567110 Implements #175
General menu has been refactored to look like the mockups.
The progress menu has been refactored as well.
2018-07-17 17:57:30 +02:00
Juan Salvador Pérez García
6baabf2a7e Fixes #171
Button that redirects to proposal in the proposals dashboard now:

* opens the proposal in a different tab.
* Text shown will be 'preview proposal' for proposals in draft state.
2018-07-17 17:57:30 +02:00
Juan Salvador Pérez García
084e9855e4 Fixed some failing specs 2018-07-17 17:57:30 +02:00
Juan Salvador Pérez García
59eb1a4f47 Adds progress indicator 2018-07-17 17:57:30 +02:00
Juan Salvador Pérez García
50d4523ded Current goal indicator
Indicator with current goal and the supports required to achieve it has
been added
2018-07-17 17:57:30 +02:00
Juan Salvador Pérez García
a22027a343 Added button that redirects to the proposal
Dashboard header includes a button that redirects to the proposal.
2018-07-17 17:57:30 +02:00
Juan Salvador Pérez García
cc3802746b Added totals counter
Added totals counter to dashboard header
2018-07-17 17:57:30 +02:00
Juan Salvador Pérez García
64cf7c1257 Body header
Body header contains the proposal name, a label with its status and an
action title.
2018-07-17 17:57:30 +02:00
Juan Salvador Pérez García
d2a05ee779 Dashboard proposal menu redesign
Dashboard proposal menu has been redesigned to look like the available
mock-ups.
2018-07-17 17:57:30 +02:00
Juan Salvador Pérez García
2ce9f95283 Polls in the dashboard
A reduced version of polls has been added to the dashboard
2018-07-17 17:57:30 +02:00
Juan Salvador Pérez García
bafdd697b8 Dashboard controllers have been refactored
Proposal dashboard related controllers have been refactored inside its
own namespace.
2018-07-17 17:57:30 +02:00
Juan Salvador Pérez García
303584a06e Show will be reused in preview
Show view will be reused when a preview is required
2018-07-17 17:57:30 +02:00
Juan Salvador Pérez García
3ee9f9b059 Removed redundant partial
proposal dashboard actions views use shared/errors partial instead of
its current errors partial
2018-07-17 17:53:18 +02:00
Juan Salvador Pérez García
47a055ea48 Use time.current instead of Time.now
Use time.current instead of Time.now in order to avoid flakies.
2018-07-17 17:53:18 +02:00
Juan Salvador Pérez García
e90f5f1ba4 can? helper called with parenthesis
can? helper called with parenthesis
2018-07-17 17:53:18 +02:00
Juan Salvador Pérez García
67de187bae t helper invoked with parenthesis
t helper is invoked with parenthesis
2018-07-17 17:53:18 +02:00
Juan Salvador Pérez García
5236fba47e Fixed locales
Fixed locale related issues
2018-07-17 17:53:18 +02:00
Juan Salvador Pérez García
f9a085a400 Implements graph for dashboard
Implements graph secion for dashboard.

Dashboard related actions have been agrupated inside a menu in the admin
section.

Minor bugfixes.
2018-07-17 17:53:18 +02:00
Juan Salvador Pérez García
c1a9f1d138 Addressed comments from sprint meeting 22/06/2018
New group created in administration menu including dashboard resources/
proposed tasks and pending tasks for the administrator.

Some unused files have been removed.
2018-07-17 17:52:48 +02:00
Juan Salvador Pérez García
e1ac6bfa01 Fixed issue shown resources in the dashboard 2018-07-17 17:52:48 +02:00
Juan Salvador Pérez García
89f3da25b9 Implements #138 and #139
Implements graph with supports for the given  period.
2018-07-17 17:52:47 +02:00
Juan Salvador Pérez García
b75997a7a6 Added missing translations 2018-07-17 17:52:47 +02:00
Juan Salvador Pérez García
aff03de901 Implements #160
Integrates resources withing the proposals dashboard
2018-07-17 17:52:47 +02:00
Juan Salvador Pérez García
33b3431c70 Implements #150
Adds an entry inside moderation section that allows moderators to check
pending tasks and mark them as solved.
2018-07-17 17:52:47 +02:00
Juan Salvador Pérez García
83f78b1940 Fixes #135
Adds a table with proposed actions in the dashboard. The user can mark
an action as executed.
2018-07-17 17:51:13 +02:00
Juan Salvador Pérez García
691954bbb8 Fixed syntax error after rebasing to master 2018-07-17 17:50:47 +02:00
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